/* =========================================
   VARIÁVEIS E RESET
========================================= */
:root { 
    --bg-top: #1a1d29; 
    --bg-bottom: #040714; 
    --accent: #00e5ff; 
    --glass: rgba(26, 29, 41, 0.85); 
    --text: #f9f9f9; 
    --text-muted: #8f98b0;
}

* { 
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
    user-select: none; 
    -webkit-tap-highlight-color: transparent; 
    box-sizing: border-box; 
}

img {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

input, textarea, select, [contenteditable] { 
    -webkit-user-select: text !important; 
    user-select: text !important; 
    -webkit-touch-callout: default !important; 
}

#sucesso-senha {
    -webkit-user-select: text !important;
    user-select: text !important;
    cursor: text;
}

body { 
    margin: 0; 
    padding: 0; 
    background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
    background-attachment: fixed; 
    color: var(--text); 
    font-family: 'Segoe UI', sans-serif; 
    overflow-x: hidden; 
    padding-bottom: 90px; 
}

html.no-scroll, body.no-scroll { overflow: hidden !important; height: 100vh !important; position: fixed; width: 100%; }

/* =========================================
   SPLASH SCREEN
========================================= */
#splashScreen {
    position: fixed; inset: 0; z-index: 99999;
    background: linear-gradient(135deg, #0a0c17 0%, #1a1d29 50%, #0a0c17 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#splashScreen.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-logo {
    font-size: 42px; font-weight: 900; color: #fff;
    letter-spacing: 1px; margin-bottom: 8px;
    animation: splashPop 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.splash-logo span { color: var(--accent); text-shadow: 0 0 20px rgba(0,229,255,0.8); }
.splash-tagline {
    font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    animation: splashFade 0.8s 0.3s both;
}
.splash-bar {
    width: 120px; height: 3px; background: rgba(255,255,255,0.1);
    border-radius: 10px; margin-top: 40px; overflow: hidden;
    animation: splashFade 0.5s 0.2s both;
}
.splash-bar-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent), #0055ff);
    border-radius: 10px;
    animation: splashLoad 1.8s 0.3s ease forwards;
}
@keyframes splashPop {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes splashFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes splashLoad {
    0%   { width: 0%; }
    60%  { width: 80%; }
    100% { width: 100%; }
}

/* =========================================
   CABEÇALHO PRINCIPAL
========================================= */
.header { position: absolute; top: 0; width: 100%; padding: 15px; z-index: 100; text-align: center; background: linear-gradient(to bottom, rgba(4,7,20,0.9), transparent); display: flex; justify-content: center; align-items: center; }
.header-logo { font-size: 22px; font-weight: 900; color: #fff; margin: 0; letter-spacing: 1px;}
.header-logo span { color: var(--accent); text-shadow: 0 0 12px rgba(0, 229, 255, 0.6); }
.header-btn { color: #fff; font-size: 20px; cursor: pointer; transition: 0.2s; padding: 5px; position: relative; }
.header-btn:active { transform: scale(0.9); color: var(--accent); }
.header-vip-btn { color: gold; text-shadow: 0 0 10px rgba(255,215,0,0.5); display: none; }
.header-right-actions { position: absolute; right: 12px; display: flex; align-items: center; gap: 6px; }
.header-avatar-btn { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(0,229,255,0.35); cursor: pointer; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: 0.2s; flex-shrink: 0; }
.header-avatar-btn:active { transform: scale(0.92); border-color: var(--accent); }

/* =========================================
   HOME HERO BANNER
========================================= */
.hero { position: relative; width: 100%; height: 65vh; background-position: top center; background-size: cover; border-radius: 0 0 20px 20px; transition: background-image 0.8s ease; background-color: #111; }
.hero-gradient { position: absolute; bottom: 0; width: 100%; height: 100%; background: linear-gradient(to top, var(--bg-top) 0%, rgba(26,29,41,0.6) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px 20px; border-radius: 0 0 20px 20px;}
.hero-title { font-size: 32px; font-weight: 900; margin: 0 0 8px 0; text-shadow: 2px 2px 10px rgba(0,0,0,0.9); line-height: 1.1; }
.hero-tags { font-size: 11px; color: #ccc; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; text-shadow: 1px 1px 5px rgba(0,0,0,0.8);}
.hero-synopsis { font-size: 12px; color: #ddd; margin: 0 0 15px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 1px 1px 5px rgba(0,0,0,0.9); line-height: 1.5; max-width: 95%; font-weight: 500;}
.hero-buttons { display: flex; gap: 10px; align-items: center; }
.hero-info-btn { background: var(--accent); color: #000; padding: 10px 20px; border-radius: 25px; font-weight: 800; font-size: 12px; border: none; cursor: pointer; display: flex; align-items: center; gap: 8px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4); transition: 0.2s;}
.hero-info-btn i { font-size: 14px; }
.hero-info-btn:active { transform: scale(0.95); }
.hero-trailer-btn { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; padding: 10px 18px; border-radius: 25px; font-weight: 700; font-size: 11px; display: flex; justify-content: center; align-items: center; gap: 6px; text-transform: uppercase; cursor: pointer; transition: 0.2s; backdrop-filter: blur(5px); }
.hero-trailer-btn i { color: #ff0055; font-size: 14px;}
.hero-trailer-btn:active { transform: scale(0.95); background: rgba(255, 255, 255, 0.25); }

/* =========================================
   VIEWS E ANIMAÇÕES
========================================= */
.view { display: none; animation: fadeIn 0.3s ease; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   CARDS, CARROSSEIS E GRADES
========================================= */
.section-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 15px 10px 15px; }
.section-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #fff; }
.section-title i { color: var(--accent); }
.carousel { display: flex; gap: 12px; padding: 0 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 165px; }
.carousel::-webkit-scrollbar { display: none; }
.card-movie { flex: 0 0 110px; height: 165px; border-radius: 8px; background-color: #2a2d3e; scroll-snap-align: start; overflow: hidden; cursor: pointer; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
.card-movie img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.card-movie .titulo-fallback { position: absolute; bottom: 0; width: 100%; background: rgba(0,0,0,0.9); color: white; font-size: 9px; padding: 8px 4px; text-align: center; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-badges { position: absolute; top: 5px; left: 5px; display: flex; flex-direction: column; gap: 4px; z-index: 2; pointer-events: none; }

/* Skeleton nos cards do carrossel */
.card-skel { flex: 0 0 110px; height: 165px; border-radius: 8px; scroll-snap-align: start; }

.grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 15px 20px 15px; }
.grid-container .card-movie { flex: unset; width: 100%; height: 160px; }

/* Favorito no card */
.card-fav-btn {
    position: absolute; top: 5px; right: 5px; z-index: 5;
    background: rgba(0,0,0,0.65); border-radius: 50%;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: all; cursor: pointer; transition: 0.2s;
}
.card-fav-btn.active { color: #ff4081; border-color: #ff4081; background: rgba(255,64,129,0.2); }
.card-fav-btn:active { transform: scale(0.85); }

/* Histórico e TV */
.card-history { flex: unset; width: 100%; height: 120px; border-radius: 8px; background-color: #2a2d3e; cursor: pointer; position: relative !important; box-shadow: 0 4px 10px rgba(0,0,0,0.4); overflow: hidden;}
.card-tv { flex: 0 0 140px; height: 100px; border-radius: 8px; background-color: rgba(255,255,255,0.05); scroll-snap-align: start; overflow: hidden; display: flex; justify-content: center; align-items: center; border: 1px solid rgba(255,255,255,0.1); position: relative; cursor: pointer; flex-direction: column; padding: 8px 5px;}
.card-tv img { width: 50%; height: 45%; object-fit: contain; margin-bottom: 8px; -webkit-user-drag: none; }
.card-tv .titulo-tv { font-size: 10px; font-weight: bold; text-align: center; color: #ccc; width: 100%; white-space: normal; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2;} 

/* Pastas Categorias */
.category-item { background: rgba(255,255,255,0.05); margin: 10px 15px; padding: 15px 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: 0.2s; }
.category-item:active { background: rgba(255,255,255,0.15); transform: scale(0.98); }
.category-name { font-size: 14px; font-weight: 700; color: #fff; }
.category-icon { font-size: 18px; color: var(--accent); }

/* =========================================
   SKELETON (CARREGAMENTO)
========================================= */
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }
.skeleton { background: #2a2d3e; background-image: linear-gradient(90deg, #2a2d3e 0px, #3a3e52 40px, #2a2d3e 80px); background-size: 1000px 100%; animation: shimmer 2.5s infinite linear; }
.skel-hero { width: 100%; height: 60vh; border-radius: 0 0 20px 20px; margin-bottom: 20px; }
.skel-title { width: 40%; height: 18px; margin: 25px 0 15px 15px; border-radius: 4px; }
.skel-carousel { display: flex; gap: 12px; padding: 0 15px; overflow: hidden; margin-bottom: 20px; }
.skel-card { flex: 0 0 110px; height: 165px; border-radius: 8px; }

/* =========================================
   HEADER INTERNO E BUSCA
========================================= */
.page-header { padding: 40px 15px 15px 15px; display: flex; align-items: center; gap: 15px; background: linear-gradient(to bottom, var(--bg-top), transparent); z-index:10; position:relative;}
.page-header i { font-size: 20px; color: var(--accent); cursor: pointer; padding: 10px;}
.page-title { font-size: 22px; font-weight: 800; margin: 0; }
.search-container { position: relative; width: calc(100% - 30px); margin: 60px auto 20px auto; }
.search-bar { width: 100%; padding: 15px 20px 15px 45px; border-radius: 30px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 16px; outline: none; box-sizing: border-box; transition: 0.3s; }
.search-bar:focus { background: rgba(255,255,255,0.12); border-color: var(--accent); box-shadow: 0 0 15px rgba(0,229,255,0.2); }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; }

/* =========================================
   BOTTOM NAV (4 ITENS)
========================================= */
.bottom-nav { position: fixed; bottom: 0; width: 100%; background: var(--glass); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-around; padding: 12px 0; z-index: 1000; }
.nav-item { color: var(--text-muted); font-size: 18px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 25%; transition: 0.2s; }
.nav-item.active { color: var(--text); }
.nav-item.active i { color: var(--accent); text-shadow: 0 0 12px rgba(0, 229, 255, 0.8); transform: scale(1.1); }
.nav-item span { font-size: 9px; font-weight: 700; text-transform: uppercase; }

/* =========================================
   BOTTOM SHEETS E MODAIS
========================================= */
.bottom-sheet-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1999; opacity: 0; pointer-events: none; transition: 0.3s ease; }
.bottom-sheet-overlay.active { opacity: 1; pointer-events: all; }

.bottom-sheet { 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background: linear-gradient(180deg, #151821 0%, #0f1117 100%);
    border-radius: 24px 24px 0 0; 
    z-index: 5000; padding: 20px 20px 30px; 
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); 
    border-top: 1px solid rgba(0,229,255,0.12); 
    transform: translateY(100%);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.7);
}
.bottom-sheet.active { transform: translateY(0); }
.sheet-handle { width: 36px; height: 4px; background: rgba(255,255,255,0.15); border-radius: 10px; margin: 0 auto 18px; cursor: pointer; }
.sheet-btn { width: 100%; background: var(--accent); color: #000; border: none; padding: 15px; border-radius: 12px; font-weight: 800; font-size: 15px; display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; text-transform: uppercase; cursor: pointer; }

/* =========================================
   MENU PRINCIPAL
========================================= */
.menu-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.menu-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #00e5ff, #0055ff); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; box-shadow: 0 4px 14px rgba(0,229,255,0.3); }
.menu-user-info h3 { margin: 0; font-size: 16px; color: #fff; }
.menu-user-info p { margin: 4px 0 0 0; font-size: 11px; color: var(--text-muted); }
.menu-section { margin-bottom: 18px; }
.menu-section-title { font-size: 10px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.menu-section-title i { font-size: 10px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.menu-grid-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 9px; cursor: pointer; transition: 0.2s; }
.menu-grid-item:active { transform: scale(0.95); background: rgba(255,255,255,0.09); }
.menu-grid-item span { font-size: 12px; font-weight: 700; color: #fff; }
.menu-icon-box { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; box-shadow: 0 5px 14px rgba(0,0,0,0.35); }
.menu-list { display: flex; flex-direction: column; gap: 8px; }
.menu-list-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 14px 15px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: 0.2s; }
.menu-list-item:active { background: rgba(255,255,255,0.08); }
.menu-list-icon { font-size: 18px; width: 24px; text-align: center; }
.menu-list-text { flex: 1; }
.menu-list-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.menu-list-sub { font-size: 10px; color: var(--text-muted); }
.menu-footer { text-align: center; font-size: 10px; color: rgba(255,255,255,0.2); margin-top: 12px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); letter-spacing: 0.5px; }

/* =========================================
   SERVIDORES
========================================= */
.server-modal { 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background: var(--bg-top); border-radius: 24px 24px 0 0; 
    z-index: 3700; padding: 25px 20px; 
    transition: transform 0.4s ease; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    transform: translateY(100%);
    max-height: 85vh;
    overflow-y: auto;
}
.server-modal.active { transform: translateY(0); }
.server-title { font-size: 16px; font-weight: 800; color: #fff; margin: 0 0 20px 0; text-align: center;}
.server-btn { width: 100%; background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1); padding: 15px; border-radius: 12px; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; cursor: pointer; transition: 0.2s;}
.server-btn:active { background: rgba(255,255,255,0.15); transform: scale(0.98);}
.server-warn { font-size: 10px; color: var(--text-muted); text-align: center; margin-top: 15px; line-height: 1.4;}

/* =========================================
   STREAMINGS ABA
========================================= */
.streaming-header {
    padding: 55px 15px 10px;
    background: linear-gradient(to bottom, var(--bg-top), transparent);
}
.streaming-header h2 {
    font-size: 22px; font-weight: 900; margin: 0 0 4px;
}
.streaming-header p { font-size: 11px; color: var(--text-muted); margin: 0 0 15px; }

/* Barra de busca dentro de streaming */
.streaming-search-wrap {
    position: relative; margin-bottom: 15px;
}
.streaming-search-wrap .search-icon { top: 50%; }
.streaming-search-bar {
    width: 100%; padding: 12px 15px 12px 42px;
    border-radius: 25px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-size: 14px; outline: none;
    box-sizing: border-box; transition: 0.3s;
}
.streaming-search-bar:focus {
    background: rgba(255,255,255,0.11);
    border-color: var(--accent);
}

/* Chips dos streamings */
.streaming-chips {
    display: flex; gap: 10px; padding: 0 15px 15px;
    overflow-x: auto; scrollbar-width: none;
}
.streaming-chips::-webkit-scrollbar { display: none; }

.streaming-chip {
    flex: 0 0 auto;
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.08);
    cursor: pointer; transition: 0.2s;
    min-width: 70px;
}
.streaming-chip:active { transform: scale(0.93); }
.streaming-chip.active { border-color: var(--accent); background: rgba(0,229,255,0.1); }
.streaming-chip .s-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.streaming-chip .s-name { font-size: 9px; font-weight: 800; color: #ccc; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.streaming-chip.active .s-name { color: var(--accent); }

/* Filtro tipo (filmes/séries) dentro de streaming */
.streaming-type-toggle {
    display: flex; background: rgba(255,255,255,0.05);
    border-radius: 10px; margin: 0 15px 15px; padding: 4px;
}
.streaming-type-btn {
    flex: 1; text-align: center; padding: 8px;
    border-radius: 8px; font-size: 12px; font-weight: 700;
    color: #888; cursor: pointer; transition: 0.2s;
    border: none; background: transparent;
}
.streaming-type-btn.active { background: rgba(255,255,255,0.1); color: #fff; }

/* Genre chips dentro de streaming */
.streaming-genre-chips {
    display: flex; gap: 8px; padding: 0 15px 15px;
    overflow-x: auto; scrollbar-width: none;
}
.streaming-genre-chips::-webkit-scrollbar { display: none; }

/* Card do streaming com logo badge */
.stream-badge {
    position: absolute; bottom: 5px; right: 5px; z-index: 3;
    font-size: 8px; font-weight: 900; padding: 2px 6px;
    border-radius: 4px; pointer-events: none;
}

/* Calendario de estreias */
.estreia-card {
    display: flex; gap: 12px; align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px; padding: 12px 15px;
    margin: 0 15px 10px; cursor: pointer; transition: 0.2s;
}
.estreia-card:active { background: rgba(255,255,255,0.09); transform: scale(0.98); }
.estreia-poster { width: 50px; height: 75px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #2a2d3e; -webkit-user-drag: none; }
.estreia-info { flex: 1; }
.estreia-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.estreia-date { font-size: 11px; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.estreia-meta { font-size: 10px; color: var(--text-muted); }

/* =========================================
   ABA MEUS (FAVORITOS + ASSISTIDOS)
========================================= */
.meus-tabs {
    display: flex; gap: 0; margin: 15px 15px 0;
    background: rgba(255,255,255,0.05); border-radius: 12px; padding: 4px;
}
.meus-tab {
    flex: 1; text-align: center; padding: 10px;
    border-radius: 9px; font-size: 12px; font-weight: 800;
    color: #888; cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.meus-tab.active { background: rgba(255,255,255,0.1); color: #fff; }
.meus-tab i { font-size: 13px; }
.meus-tab.active i.fa-heart { color: #ff4081; }
.meus-tab.active i.fa-check-circle { color: #00e676; }

.meus-content { display: none; }
.meus-content.active { display: block; animation: fadeIn 0.2s ease; }

/* =========================================
   PÁGINA DE DETALHES TMDB
========================================= */
.details-page { position: fixed; top: 0; left: 100%; width: 100%; height: 100vh; background: var(--bg-bottom); z-index: 3000; transition: left 0.3s ease-out; overflow-y: auto; padding-bottom: 30px; }
.details-page.active { left: 0; }
.dp-back-btn { position: absolute; top: 20px; left: 20px; background: rgba(0,0,0,0.5); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; z-index: 9999; backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; cursor: pointer; }
.dp-poster { width: 100%; height: 60vh; background-position: top center; background-size: cover; position: relative; background-color: #111; transition: background-image 0.5s ease;}
.dp-gradient { position: absolute; bottom: 0; width: 100%; height: 100%; background: linear-gradient(to top, var(--bg-bottom) 0%, rgba(4,7,20,0.8) 50%, transparent 100%); }
.dp-content { padding: 0 20px; margin-top: -80px; position: relative; z-index: 2; }
.dp-title { font-size: 32px; font-weight: 900; margin: 0 0 10px 0; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,0.8);}
.dp-tmdb-meta { font-size: 11px; color: #ccc; font-weight: 600; margin-bottom: 5px; }
.dp-director { font-size: 12px; color: var(--text-muted); margin-bottom: 15px; font-style: italic;}
.dp-meta { font-size: 12px; color: var(--accent); font-weight: bold; margin-bottom: 20px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap;}
.action-container { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.dp-play-btn { width: 100%; background: #fff; color: #000; border: none; padding: 14px; border-radius: 10px; font-weight: 800; font-size: 15px; display: flex; justify-content: center; align-items: center; gap: 10px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(255,255,255,0.2); transition: 0.2s; letter-spacing: 0.5px;}
.dp-play-btn i { font-size: 16px; }
.dp-play-btn:active { transform: scale(0.97); }
.secondary-actions { display: flex; gap: 8px; width: 100%; }
.sec-btn { flex: 1; background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 10px; border-radius: 8px; font-weight: 700; font-size: 11px; display: flex; justify-content: center; align-items: center; gap: 6px; text-transform: uppercase; cursor: pointer; transition: 0.2s; text-align: center;}
.sec-btn:active { background: rgba(255,255,255,0.2); }
.sec-btn.watched { color: #ccc; }
.sec-btn.watched.active { background: rgba(0, 230, 118, 0.15); border-color: #00e676; color: #00e676; }
.sec-btn.fav i { color: #ff4081; }
.sec-btn.fav.active { background: rgba(255, 64, 129, 0.15); border-color: #ff4081; color: #ff4081; }
.sec-btn.trailer i { color: #ff0055; }
.dp-synopsis { font-size: 14px; color: #ccc; line-height: 1.6; margin-bottom: 25px; }

/* =========================================
   ELENCO E TEMPORADAS
========================================= */
.cast-section { margin-bottom: 25px; }
.cast-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 15px; border-left: 3px solid var(--accent); padding-left: 8px;}
.cast-carousel { display: flex; gap: 15px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.cast-carousel::-webkit-scrollbar { display: none; }
.cast-item { flex: 0 0 75px; text-align: center; cursor: pointer; transition: 0.2s; }
.cast-item:active { transform: scale(0.9); }
.cast-img { width: 75px; height: 75px; border-radius: 50%; object-fit: cover; background: #2a2d3e; margin-bottom: 8px; border: 2px solid rgba(255,255,255,0.1); -webkit-user-drag: none; }
.cast-name { font-size: 11px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cast-char { font-size: 10px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.season-title { font-size: 18px; font-weight: 800; color: #fff; margin: 30px 0 15px 0; border-left: 3px solid var(--accent); padding-left: 8px;}
.ep-carousel { display: flex; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.ep-carousel::-webkit-scrollbar { display: none; }
.ep-card { flex: 0 0 160px; border-radius: 8px; background: rgba(255,255,255,0.05); overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); scroll-snap-align: start; transition: 0.2s; position: relative;}
.ep-card:active { transform: scale(0.95); }
.ep-watched-btn { position: absolute; top: 5px; left: 5px; z-index: 5; background: rgba(0,0,0,0.6); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; width: 24px; height: 24px; display: flex; justify-content: center; align-items: center; font-size: 10px; transition: 0.2s; }
.ep-watched-btn.active { background: #00e676; color: #000; border-color: #00e676; }
.ep-thumb { width: 100%; aspect-ratio: 16/9; background-color: #2a2d3e; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.ep-thumb::after { content: ''; position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.3); }
.ep-thumb i { font-size: 30px; color: rgba(255,255,255,0.8); z-index: 2; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.ep-info-text { padding: 10px; }
.ep-number { font-size: 11px; color: var(--accent); font-weight: 900; margin-bottom: 4px; letter-spacing: 1px;}
.ep-name { font-size: 11px; color: #ccc; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font-weight: 600; line-height: 1.3;}

/* =========================================
   TELAS AUXILIARES E IFRAMES
========================================= */
.actor-modal { position: fixed; top: 100%; left: 0; width: 100%; height: 100vh; background: var(--bg-bottom); z-index: 3500; transition: top 0.3s ease-out; overflow-y: auto; padding-bottom: 30px; }
.actor-modal.active { top: 0; }
.actor-header { display: flex; align-items: center; gap: 20px; padding: 40px 20px 20px; background: var(--bg-top); }
.actor-img-large { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); -webkit-user-drag: none; }
.actor-info h2 { margin: 0 0 5px 0; font-size: 22px; color: #fff; }
.actor-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.actor-bio { font-size: 13px; color: #ccc; line-height: 1.5; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.trailer-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #000; z-index: 3600; display: none; }
.trailer-close { position: absolute; top: 15px; right: 15px; color: #fff; font-size: 28px; cursor: pointer; padding: 15px; z-index: 4502; text-shadow: 0 0 10px #000; background: rgba(0,0,0,0.4); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.trailer-frame { width: 100%; height: 100%; background: #000; border: none; pointer-events: auto; }
.embed-modal { 
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: #000; z-index: 3800; display: none; 
    align-items: stretch; justify-content: center; 
    overflow: hidden; flex-direction: column;
}
.embed-frame { 
    width: 100% !important; height: 100% !important; 
    min-height: 100vh; flex: 1;
    background: #000; border: none; z-index: 3801; pointer-events: auto;
    display: block;
}
.trailer-frame, .embed-frame { -webkit-user-drag: none; -webkit-touch-callout: none; }
.loading-text { text-align: center; color: var(--text-muted); font-size: 12px; width: 100%; padding: 20px; }
#toast-msg { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.92); color: #fff; padding: 12px 20px; border-radius: 8px; z-index: 10000; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity 0.3s; pointer-events: none; border: 1px solid rgba(255,255,255,0.1); max-width: 90%; text-align: center; }

/* =========================================
   FILTROS E MODO IPTV
========================================= */
.genre-chips { display: flex; gap: 8px; padding: 0 15px 15px; overflow-x: auto; scrollbar-width: none; }
.genre-chips::-webkit-scrollbar { display: none; }
.genre-chip { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #ccc; padding: 8px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: 0.2s; }
.genre-chip:active { transform: scale(0.95); }
.genre-chip.active { background: var(--accent); color: #000; border-color: var(--accent); }
.type-toggle { display: flex; background: rgba(255,255,255,0.05); border-radius: 10px; margin: 0 15px 15px; padding: 4px; }
.type-btn { flex: 1; text-align: center; padding: 8px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #888; cursor: pointer; transition: 0.2s; border: none; background: transparent; }
.type-btn.active { background: rgba(255,255,255,0.1); color: #fff; }
.iptv-header { padding: 50px 15px 15px; background: linear-gradient(to bottom, var(--bg-top), transparent); }
.iptv-tabs { display: flex; gap: 10px; padding: 0 15px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.iptv-tab { flex: 1; text-align: center; padding: 12px; border-radius: 10px; font-size: 12px; font-weight: 800; color: #888; cursor: pointer; transition: 0.2s; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.iptv-tab.active { background: rgba(0,229,255,0.1); color: var(--accent); border-color: rgba(0,229,255,0.3); }
.iptv-content { display: none; }
.iptv-content.active { display: block; animation: fadeIn 0.3s ease; }

#sheetOverlay { z-index: 4998; }
#menuOverlay { z-index: 4999; }
.trailer-modal, .embed-modal { touch-action: pan-y; }
.swipe-indicator { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }
#vipModal { align-items: center; justify-content: center; }
a.server-btn { display: flex; width: 100%; box-sizing: border-box; }

/* =========================================
   CONTINUAR ASSISTINDO
========================================= */
.continue-card { position: relative; }
.continue-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    color: var(--accent); font-size: 10px; font-weight: 900;
    padding: 18px 6px 6px; text-align: center; letter-spacing: 0.5px;
}
.continue-remove {
    position: absolute; top: 5px; right: 5px; z-index: 5;
    background: rgba(0,0,0,0.7); color: #fff;
    border-radius: 50%; width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
}
.continue-remove:active { background: rgba(255,64,64,0.8); }

/* =========================================
   TOP 10
========================================= */
.top10-carousel { padding-bottom: 8px; }
.top10-card { flex: 0 0 130px; height: 165px; position: relative; overflow: visible !important; }
.top10-card img { border-radius: 8px; }
.top10-number {
    position: absolute; bottom: -6px; left: -4px;
    font-size: 64px; font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.25);
    z-index: 3; pointer-events: none; font-family: 'Arial Black', sans-serif;
    text-shadow: none; user-select: none;
}

/* =========================================
   EPISÓDIO EM PROGRESSO (CONTINUAR)
========================================= */
.ep-continue { border: 1.5px solid var(--accent) !important; }
.ep-continue .ep-number { color: #fff; }

/* =========================================
   PRÓXIMO EPISÓDIO OVERLAY
========================================= */
#nextEpOverlay { animation: slideInRight 0.35s cubic-bezier(0.22,1,0.36,1); }
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* =========================================
   BOTÃO COMPARTILHAR
========================================= */
.sec-btn#btnShare { flex: 0 0 44px; padding: 10px; }
.sec-btn#btnShare i { color: #00e5ff; font-size: 14px; }

/* =========================================
   BANNER DE TRIAL
========================================= */
#trial-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; animation: slideDown 0.4s ease; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
body:has(#trial-banner) .header { top: 36px !important; }
body:has(#trial-banner) #view-home { padding-top: 96px !important; }

/* =========================================
   TELA SUCESSO PÓS-PAGAMENTO
========================================= */
#step-sucesso { animation: fadeInUp 0.4s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
#sucesso-senha { animation: senhaPulse 2s ease-in-out infinite; }
@keyframes senhaPulse { 0%, 100% { text-shadow: 0 0 8px rgba(0,229,255,0.4); } 50% { text-shadow: 0 0 20px rgba(0,229,255,0.9); } }

/* =========================================
   LABEL VIP NO MENU
========================================= */
#menuVipStatus { font-size: 12px; font-weight: 700; transition: color 0.3s; }

/* ===== 5 abas na bottom nav ===== */
.bottom-nav { grid-template-columns: repeat(5, 1fr); }

/* ===== Meus com 3 tabs ===== */
.meus-tabs { grid-template-columns: repeat(3, 1fr); }
.meus-tab { font-size: 11px; padding: 10px 5px; }

/* ===== Canal Categories Grid ===== */
.canal-cats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px; padding: 10px 15px;
}
.canal-cat-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 16px 8px;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    cursor: pointer; transition: 0.2s;
}
.canal-cat-item:active { transform: scale(0.95); background: rgba(0,229,255,0.1); }
.canal-cat-item i { font-size: 22px; color: var(--accent); }
.canal-cat-item span { font-size: 11px; font-weight: 700; color: #ccc; text-align: center; line-height: 1.2; }

/* ===== Canais Grid ===== */
.canais-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px; padding: 10px 15px 80px;
}
.canal-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 12px 8px;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    cursor: pointer; transition: 0.2s; overflow: hidden;
}
.canal-card:active { transform: scale(0.95); background: rgba(0,229,255,0.1); border-color: var(--accent); }
.canal-logo-wrap { width: 60px; height: 45px; display: flex; align-items: center; justify-content: center; }
.canal-logo-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.canal-logo-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 24px; }
.canal-nome { font-size: 10px; font-weight: 700; color: #ccc; text-align: center; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ===== TV AO VIVO VIEW ===== */
.tv-header { padding: 55px 15px 5px; }
.tv-header h2 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.tv-header p { font-size: 12px; color: #888; }
.tv-search-wrap { position: relative; margin: 10px 15px 8px; }
.tv-search-bar { width: 100%; background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 11px 15px 11px 40px; color: #fff; font-size: 14px; outline: none; }
.tv-search-bar::placeholder { color: #666; }
.tv-search-wrap .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #666; font-size: 14px; }

/* Pills de categoria */
.tv-cats-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 4px 15px 10px; scrollbar-width: none; }
.tv-cats-scroll::-webkit-scrollbar { display: none; }
.tv-cat-pill { flex: 0 0 auto; padding: 6px 16px; border-radius: 20px; background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.1); color: #aaa; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: 0.2s; }
.tv-cat-pill.active { background: var(--accent); border-color: var(--accent); color: #000; }

/* Destaque canal */
.tv-destaque-wrap { display: flex; align-items: center; gap: 12px; background: rgba(0,229,255,0.06); border: 1.5px solid rgba(0,229,255,0.2); border-radius: 16px; margin: 0 15px 12px; padding: 14px; }
.tv-destaque-logo-wrap { width: 64px; height: 48px; flex: 0 0 64px; border-radius: 10px; background: rgba(255,255,255,0.08); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tv-destaque-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.tv-destaque-info { flex: 1; min-width: 0; }
.tv-destaque-nome { font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-destaque-cat { font-size: 11px; color: #888; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.tv-live-badge { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--accent); }
.tv-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4444; animation: pulse-live 1.2s infinite; }
@keyframes pulse-live { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.7); } }
.tv-play-btn { flex: 0 0 auto; background: var(--accent); color: #000; font-size: 12px; font-weight: 800; border: none; border-radius: 20px; padding: 8px 14px; cursor: pointer; display: flex; align-items: center; gap: 5px; }

/* ── TV AO VIVO — NOVO LAYOUT LISTA ── */

/* Player iframe no topo */
.tv-player-wrap { width: 100%; background: #000; flex-shrink: 0; }
.tv-player-frame { width: 100%; height: 230px; border: none; display: block; }

/* Barra canal atual (abaixo do player) */
.tv-current-bar { display: flex; align-items: center; gap: 10px; padding: 10px 15px; background: rgba(0,229,255,0.06); border-bottom: 1px solid rgba(0,229,255,0.15); }
.tv-current-logo-wrap { width: 44px; height: 34px; flex-shrink: 0; border-radius: 8px; background: rgba(255,255,255,0.07); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tv-current-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.tv-current-info { flex: 1; min-width: 0; }
.tv-current-name { font-size: 13px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-current-cat { font-size: 10px; color: #888; text-transform: uppercase; margin-top: 1px; }
.tv-iptv-btn { flex-shrink: 0; background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3); color: var(--accent); border-radius: 16px; padding: 5px 10px; font-size: 10px; font-weight: 700; cursor: pointer; }

/* Lista de canais — linhas */
.tv-canal-list { display: flex; flex-direction: column; padding: 0 0 90px; }
.tv-canal-row { display: flex; align-items: center; gap: 12px; padding: 11px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: background 0.15s; }
.tv-canal-row:active, .tv-canal-row.active { background: rgba(0,229,255,0.07); }
.tv-canal-row.active .tv-canal-row-name { color: var(--accent); }
.tv-canal-row-logo { width: 46px; height: 36px; flex-shrink: 0; border-radius: 8px; background: rgba(255,255,255,0.06); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 18px; color: rgba(255,255,255,0.2); }
.tv-canal-row-logo img { width: 100%; height: 100%; object-fit: contain; }
.tv-canal-row-info { flex: 1; min-width: 0; }
.tv-canal-row-name { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-canal-row-cat { font-size: 10px; color: #666; text-transform: uppercase; margin-top: 2px; }
.tv-canal-row-play { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tv-canal-row-play i { font-size: 10px; color: #000; margin-left: 2px; }

/* TV Loading state */
.tv-loading { text-align: center; padding: 50px 20px; color: #888; line-height: 1.8; }

/* manter dot animado */
.tv-live-dot-small { width: 6px; height: 6px; border-radius: 50%; background: #ff4444; animation: pulse 1.5s infinite; flex-shrink: 0; }

/* =========================================
   v9 FIXES & IMPROVEMENTS
========================================= */

/* --- Mini Player Bar (dentro do embed) --- */
#miniPlayerBar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* --- Streaming type toggle fix --- */
.streaming-type-toggle {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin: 0 15px 15px;
    padding: 4px;
    gap: 0;
}
.streaming-type-btn {
    flex: 1;
    text-align: center;
    padding: 9px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.streaming-type-btn.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.streaming-type-btn i { font-size: 13px; }
.streaming-type-btn.active i { color: var(--accent); }

/* --- s-logo-wrap fix (logo do streaming) --- */
.s-logo-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}

/* --- Continuar Assistindo - Real Design --- */
.continue-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.continue-progress-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(255,255,255,0.15);
    z-index: 4;
}
.continue-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    min-width: 8%;
    max-width: 95%;
}
.continue-badge {
    position: absolute; bottom: 3px; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    color: var(--accent); font-size: 10px; font-weight: 900;
    padding: 22px 6px 6px; text-align: center; letter-spacing: 0.5px;
    z-index: 3;
}

/* --- TV ao vivo: BetterFlix destaque (photo-based) --- */
.tv-destaque-bar {
    margin: 0 0 8px;
}
.tv-canal-card img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* --- Avatar grid categorias --- */
.avatar-cat-label {
    grid-column: span 4;
    font-size: 11px; font-weight: 700;
    color: #888; padding: 8px 0 4px;
    letter-spacing: 1px;
}

/* --- Botão "Próx. Ep" no mini player --- */
#miniPlayerBar button {
    touch-action: manipulation;
}

/* --- Estreias: "Carregando..." fix --- */
#conteudo-estreias-lista .fa-spinner {
    display: block;
    margin: 0 auto 10px;
    font-size: 24px;
    color: var(--accent);
}

/* --- Home: "Continuar Assistindo" vazio oculto --- */
#section-continuar:empty { display: none; }

/* --- Toast posição ao vivo embed --- */
#toast-msg { z-index: 10001; }

/* --- Grade IPTV fix padding bottom --- */
#conteudo-grade { padding-bottom: 90px; }

/* --- TV Canal card selected ring --- */
.tv-canal-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0,229,255,0.3);
}
