* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --tv-w: 1280px;
    --tv-h: 720px;
    --tv-scale: 1;
    --vf-void: #141414;
    --vf-void-2: #232323;
    --vf-panel: rgba(255, 255, 255, .05);
    --vf-item: rgba(255, 255, 255, .04);
    --vf-item-hover: rgba(255, 255, 255, .12);
    --vf-item-active: rgba(255, 255, 255, .18);
    --vf-accent: #e8e8e8;
    --vf-accent-soft: #ffffff;
    --vf-accent-glow: rgba(255, 255, 255, .35);
    --vf-text: #f2f2f2;
    --vf-text-dim: #999999;
    --vf-glass-border: rgba(255, 255, 255, .08);
    --vf-blur: 16px;
    --vf-active-start: #ff5a3c;
    --vf-active-end: #b13cff;
}
html, body { background: #000 !important; }
*::-webkit-scrollbar { width: 0; height: 0; }
* { scrollbar-width: none; }

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at 70% 30%, var(--vf-void-2) 0%, var(--vf-void) 60%, #000000 100%);
    background-attachment: fixed;
    color: var(--vf-text);
    overflow: hidden;
}

#tv-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--tv-w);
    height: var(--tv-h);
    background: #000;
    transform: scale(var(--tv-scale));
    transform-origin: top left;
    overflow: hidden;
}
.app-loader {
    width: var(--loader-size, 200px);
    height: auto;
    display: block;
    animation: loader-respira 1.8s ease-in-out infinite;
    will-change: opacity, transform;
}

.app-loader img,
.app-loader svg {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    filter: none;
}

@keyframes loader-respira {
    0%, 100% { opacity: 0.65; transform: scale(0.95); }
    50%      { opacity: 1;    transform: scale(1); }
}
.spinner {
    --spinner-size: 46px;
    width: var(--spinner-size);
    height: var(--spinner-size);
    border-radius: 50%;
    border: 4px solid rgba(243, 156, 18, 0.2);
    border-top-color: var(--vf-accent);
    animation: spinner-gira 0.9s linear infinite;
}

@keyframes spinner-gira {
    to { transform: rotate(360deg); }
}
.spinner-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.loader-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
::-webkit-scrollbar {
    display: none;
}
* {
    scrollbar-width: none;
}

.app-container {
    width: 100%;
    height: 100%;
    background-color: #000000;
}

.screen {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: transparent;
}
#login-screen {
    background: radial-gradient(circle at 70% 30%, #1a1a1a 0%, #050505 60%, #000000 100%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 100px;
}

.login-left {
    flex: 1;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    height: 65px;
    margin-bottom: 40px;
    object-fit: contain;
    align-self: flex-start;
}

.main-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
}

.info-list {
    list-style: none;
    margin-bottom: 40px;
}

.info-list li {
    font-size: 15px;
    color: #a0a0a0;
    margin-bottom: 12px;
    font-weight: 400;
}

.terms-text {
    font-size: 12px;
    color: #555555;
    margin-bottom: 40px;
}

.demo-button {
    align-self: flex-start;
    background-color: transparent;
    border: 1px solid #444;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.demo-button:hover, .demo-button:focus {
    background-color: #222;
    border-color: #fff;
    outline: none;
    transform: scale(1.05);
}

.login-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.login-box {
    background-color: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 35px 35px;
    width: 380px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.login-box > * + * { margin-top: 16px; }


.input-group {
    position: relative;
    width: 100%;
}

.input-group .icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding: 16px 55px 16px 55px;
    background-color: transparent;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
}

.input-group input::placeholder {
    color: #555;
}
.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0d0d0d inset !important;
    box-shadow: 0 0 0 1000px #0d0d0d inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 100000s ease-in-out 0s;
}
.input-group input.digitando {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.input-group input.digitando + .toggle-password-btn,
.input-group input.digitando ~ .icon {
    color: #fff;
}
.input-group.digitando::after {
    content: 'DIGITANDO';
    position: absolute;
    top: -9px;
    right: 16px;
    background: #fff;
    color: #000;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 2px 8px;
    border-radius: 4px;
    pointer-events: none;
}

.input-group input:focus {
    outline: none;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.input-group .toggle-password-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
    z-index: 10;
}

.input-group .toggle-password-btn:focus {
    outline: none;
    color: #fff;
    transform: translateY(-50%) scale(1.15);
}

.input-group .toggle-password-btn:hover {
    color: #fff;
}

.btn-entrar {
    width: 100%;
    padding: 16px;
    margin-top: 21px;
    background-color: transparent;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
}
.btn-entrar:hover, .btn-entrar:focus {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    outline: none;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

#login-status {
    color: #ff4d4d;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.tv-controls-hint {
    display: flex;
    justify-content: center;
    margin-top: 21px;
}
.tv-controls-hint > * + * { margin-left: 25px; }


.hint-item {
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
}
.hint-item > * + * { margin-left: 6px; }


.key {
    background-color: #222;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #aaa;
}

.version {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 12px;
    color: #444;
}
.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 0 64px 12px 24px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0) 100%);
    z-index: 9999;
}

.nav-left {
    display: flex;
    align-items: center;
}
.nav-left > * + * { margin-left: 4px; }


.nav-logo {
    height: 35px;
    margin-right: 12px;
}

.nav-right {
    display: flex;
    align-items: center;
}
.nav-right > * + * { margin-left: 20px; }


.action-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: transform 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
    outline: none;
}

.action-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.action-btn:focus {
    background-color: #fff;
    color: #000;
    outline: none;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(255,255,255,0.25);
}

.action-btn .icon {
    width: 16px;
    height: 16px;
}

.divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 5px 0 25px;
}
html.modo-toque .action-btn,
html.modo-toque .nav-item {
    position: relative;
}
html.modo-toque .action-btn::after,
html.modo-toque .nav-item::after {
    content: '';
    position: absolute;
    top: -14px; right: -14px; bottom: -14px; left: -14px;
}
html.modo-toque .top-nav {
    height: 130px;
    padding: 0 64px 8px 24px;
}
html.modo-toque .nav-logo {
    height: 42px;
}
html.modo-toque .nav-item {
    font-size: 17px;
    padding: 12px 18px;
}
html.modo-toque .action-btn {
    width: 44px;
    height: 44px;
}
html.modo-toque .action-btn .icon {
    width: 22px;
    height: 22px;
}
html.modo-toque .nav-right > * + * { margin-left: 24px; }

.nav-item {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
    outline: none;
}
.nav-item:focus,
.nav-item:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    outline: none;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(255,255,255,0.22);
}

.nav-item.active {
    background: transparent;
    color: #ffffff;
    border-color: transparent;
}
.nav-item.active:focus,
.nav-item.active:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.icon-btn {
    background: transparent;
    border: 2px solid transparent;
    color: rgba(255,255,255,0.7);
    padding: 7px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
    font-size: 16px;
}

.icon-btn:hover {
    background: #fff;
    color: #000;
}
.home-scroll-area {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 0;
    padding-bottom: 30px;
}
.hero-carousel-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slide-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, #151522 0%, #07070a 100%);
    filter: brightness(0.65);
    transition: filter 0.3s;
}

.hero-slide-gradient {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 45%, transparent 75%);
    z-index: 2;
}
.hero-slide-gradient::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.12;
    mix-blend-mode: overlay;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    padding: 0 50px;
    max-width: 560px;
}

.hero-slide-logo {
    max-height: 90px;
    max-width: 380px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.7));
}

.hero-slide-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-slide-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
}
.hero-slide-meta > * + * { margin-left: 10px; }


.hero-meta-chip {
    display: flex;
    align-items: center;
padding: 3px 8px;
    border-radius: 100px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 11px;
    color: #fff;
}
.hero-meta-chip > * + * { margin-left: 4px; }


.hero-meta-chip.rating {
    background: rgba(245,197,24,0.2);
    border-color: rgba(245,197,24,0.4);
    color: #F5C518;
    font-weight: 700;
}

.hero-slide-overview {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
    outline: none;
}

.hero-arrow:hover, .hero-arrow:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev { left: 12px; }
.hero-arrow-next { right: 12px; }
.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
align-items: center;
}
.hero-dots > * + * { margin-left: 6px; }


.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s, opacity 0.3s, filter 0.3s;
}

.hero-dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}
.hero-banner, .hero-bg, .hero-gradient-bottom, .hero-gradient-left { display: none; }

.hero-content {
    position: absolute;
    bottom: 10%;
    left: 80px;
    z-index: 20;
    max-width: 600px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.hero-logo {
    max-width: 450px;
    max-height: 180px;
    margin-bottom: 15px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
#fs-btn-play {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: background-color 0.15s ease;
}
#fs-btn-play svg,
#fs-btn-play svg path {
    fill: #ffffff;
    transition: fill 0.15s ease;
}
#fs-btn-play:focus {
    outline: none;
    background-color: #ffffff;
}
#fs-btn-play:focus svg,
#fs-btn-play:focus svg path {
    fill: #000000;
}

.fs-control-btn {
    padding: 10px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.15s ease;
}

.fs-control-btn:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.25);
}
#fs-progress {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}
#fs-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
#fs-progress::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: transparent;
}
#fs-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
}

.hero-meta {
    display: flex;
    align-items: center;
margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}
.hero-meta > * + * { margin-left: 10px; }


.imdb-badge {
    background-color: #F5C518;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
}

.imdb-rating {
    color: #F5C518;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.dot {
    color: #666;
}

.meta-text {
    color: #ccc;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.uhd-badge {
    border: 1px solid #666;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.age-badge {
    background-color: #333;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.btn-watch:hover, .btn-watch:focus {
    background-color: white;
    color: #000;
    border-color: white;
}

.btn-watch .icon {
    font-size: 14px;
}
.explore-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.explore-btn-container:hover {
    opacity: 1;
}

.explore-text {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.explore-arrow {
    font-size: 12px;
    margin-top: 5px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
.content-section {
    padding: 0 0 20px 0;
}

.row-title {
    font-size: 16px;
    font-weight: 700;
    padding-left: 64px;
}

.row-subtitle {
    font-size: 12px;
    color: #888;
    padding-left: 64px;
    margin-bottom: 12px;
    margin-top: 2px;
}

.content-row {
    display: flex;
overflow-x: auto;
    padding: 10px 64px;
    scroll-behavior: smooth;
}
.content-row > * + * { margin-left: 8px; }


.content-row::-webkit-scrollbar {
    display: none;
}
.poster-card {
    width: 135px;
    height: 200px;
    background-color: #1E1E21;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
    flex-shrink: 0;
}

.poster-card:hover, .poster-card:focus {
    transform: scale(1.05) translateZ(0);
    border-color: #ffffff;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.poster-title {
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vk-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    z-index: 1000;
    contain: layout paint;
}
.vk-container > * + * { margin-top: 10px; }


.vk-row {
    display: flex;
    justify-content: center;
}
.vk-row > * + * { margin-left: 8px; }


.vk-key {
    background-color: #1e1e1e;
    color: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 8px;
    height: 50px;
    min-width: 50px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    font-family: inherit;
    contain: layout paint;
}

.vk-key:focus {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    outline: none;
    z-index: 10;
}
@media (hover: hover) and (pointer: fine) {
    .vk-key:hover {
        background-color: #2b2b2b;
        color: #ffffff;
    }
}

.vk-space {
    width: 200px;
    font-size: 16px;
}

.vk-action {
    width: 65px;
    font-size: 16px;
    background-color: #333;
}

.vk-clear {
    background-color: #f44336;
    width: 90px;
    font-size: 16px;
}
.vk-clear:hover, .vk-clear:focus {
    background-color: #d32f2f;
    border-color: #fff;
}

.vk-submit {
    background-color: #4caf50;
    width: 90px;
    font-size: 16px;
}
.vk-submit:hover, .vk-submit:focus {
    background-color: #388e3c;
    border-color: #fff;
}
#sync-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--tv-w);
    height: var(--tv-h);
    background: radial-gradient(circle at 70% 30%, #1a1a1a 0%, #050505 60%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999;
}

.sync-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sync-content > * + * { margin-top: 30px; }


#sync-status-text {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.sync-progress-bar {
    width: 340px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.sync-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--vf-accent), var(--vf-accent-soft));
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.6);
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}
.sync-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    animation: barra-brilho 1.4s ease-in-out infinite;
}

@keyframes barra-brilho {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}
.live-tv-layout {
    display: flex;
    width: 100%;
    height: var(--tv-h);
    padding-top: 20px;
    background: linear-gradient(160deg, var(--vf-void-2), var(--vf-void));
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 14px;
box-sizing: border-box;
}
.live-tv-layout > * + * { margin-left: 10px; }


.live-col-categories {
    flex: 0 0 25%;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 16px 8px;
    scroll-padding-top: 16px;
    scroll-padding-bottom: 16px;
}
.live-col-channels {
    flex: 0 0 32%;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 16px 10px;
    scroll-padding-top: 16px;
    scroll-padding-bottom: 16px;
}
.live-col-channels .live-channel-item {
    content-visibility: auto;
    contain-intrinsic-size: auto 52px;
}

.live-col-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.live-col-preview > * + * { margin-top: 10px; }


.live-player-container {
    width: 100%;
    padding-top: 56.25%;
    background-color: #000;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.live-player-container.fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--tv-w);
    height: var(--tv-h);
    padding-top: 0;
    border-radius: 0;
    z-index: 9999;
}

.live-player-container.fullscreen .premium-video-player {
    object-fit: contain;
    border-radius: 0;
}
#canal-info-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
text-transform: uppercase;
    padding: 130px 22px 18px;
    background: linear-gradient(to top,
        rgba(0,0,0,0.94) 0%,
        rgba(0,0,0,0.9) 10%,
        rgba(0,0,0,0.84) 20%,
        rgba(0,0,0,0.76) 30%,
        rgba(0,0,0,0.66) 40%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.44) 60%,
        rgba(0,0,0,0.32) 70%,
        rgba(0,0,0,0.21) 80%,
        rgba(0,0,0,0.1) 90%,
        transparent 100%);

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease-out, transform 0.28s ease-out;
    pointer-events: none;
}
#canal-info-overlay > * + * { margin-left: 14px; }


#canal-info-overlay.visivel {
    opacity: 1;
    transform: translateY(0);
}

#canal-info-overlay .ci-logo {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    padding: 4px;
}

#canal-info-overlay .ci-textos {
    flex: 1 1 auto;
    min-width: 0;
}

#canal-info-overlay .ci-nome {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}

#canal-info-overlay .ci-programa {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
}

#canal-info-overlay .ci-programa:empty {
    display: none;
}
.live-player-container.fullscreen #canal-info-overlay {
    padding: 220px 48px 42px;
}
.live-player-container.fullscreen #canal-info-overlay > * + * { margin-left: 20px; }

.live-player-container.fullscreen #canal-info-overlay .ci-logo {
    width: 68px;
    height: 68px;
}

.live-player-container.fullscreen #canal-info-overlay .ci-nome {
    font-size: 26px;
}

.live-player-container.fullscreen #canal-info-overlay .ci-programa {
    font-size: 17px;
}

.live-epg-container {
    flex: 1;
    background-color: #1A1A1A;
    border-radius: 8px;
    padding: 15px;
    overflow-y: auto;
}

.epg-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}
.live-channel-item {
    transform: translateZ(0);
    backface-visibility: hidden;
    position: relative;
    padding: 11px 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    cursor: pointer;
    background-color: #1e1e1e;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    transition: transform 0.12s ease-out, color 0.12s ease-out;
    border: 1px solid transparent;
    outline: none;
    display: flex;
    align-items: center;
    scroll-margin: 15px;
}
.live-channel-item > * + * { margin-left: 8px; }


.live-channel-item:hover, .live-channel-item:focus {
    background-color: var(--vf-item-hover);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    outline: none;
}

.live-channel-item.active {
    background-color: #3a3a3a;
    color: #fff;
}
.live-channel-item.is-favorito::after {
    content: '★';
    margin-left: auto;
    padding-left: 8px;
    color: var(--vf-accent);
    font-size: 13px;
    line-height: 1;
    flex: 0 0 auto;
}
.live-channel-item .channel-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.live-category-item.categoria-favoritos {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.live-channel-item.segurando::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 6px;
    background: rgba(243, 156, 18, 0.28);
    animation: segurar-favorito var(--dur-barra, 1000ms) linear var(--atraso-barra, 300ms) forwards;
    pointer-events: none;
    z-index: 0;
}

@keyframes segurar-favorito {
    to { width: 100%; }
}
.live-channel-item.favorito-pulso::after {
    animation: estrela-pulso 520ms ease-out;
}

@keyframes estrela-pulso {
    0%   { transform: scale(0.4); opacity: 0; }
    55%  { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(1);   opacity: 1; }
}
.lista-vazia {
    padding: 28px 18px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    text-transform: none;
    white-space: pre-line;
}
.cfg-layout {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #121212;
    box-sizing: border-box;
}

.cfg-menu {
    flex: 0 0 300px;
    background-color: #1A1A1A;
    border-radius: 8px;
    margin: 20px 0 20px 20px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cfg-titulo {
    display: flex;
    align-items: center;
padding: 4px 22px 18px;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
}
.cfg-titulo > * + * { margin-left: 12px; }


.cfg-titulo svg { flex: 0 0 auto; stroke: currentColor; }
.cfg-aba {
    display: flex;
    align-items: center;
width: 100%;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid transparent;
    border-left: 4px solid transparent;
    color: #aaa;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: color 0.15s ease;
}
.cfg-aba > * + * { margin-left: 14px; }


.cfg-aba svg { flex: 0 0 auto; width: 20px; height: 20px; }

.cfg-aba.active {
    background-color: var(--vf-item-hover);
    color: #fff;
    border-left: 4px solid #ffffff;
}

.cfg-aba.active svg { stroke: currentColor; }

.cfg-aba:focus,
.cfg-aba:hover {
    background-color: #2b2b2b;
    color: #fff;
}

.cfg-aba.active:focus,
.cfg-aba.active:hover {
    background-color: var(--vf-item-active);
    color: #fff;
}

.cfg-menu-rodape {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
}

.cfg-conteudo {
    flex: 1 1 auto;
    padding: 30px 34px;
    overflow-y: auto;
    min-width: 0;
}

.cfg-painel { display: none; }
.cfg-painel.active { display: flex; flex-direction: column;}
.cfg-painel.active > * + * { margin-top: 20px; }


.cfg-painel-titulo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.cfg-painel-titulo svg { width: 26px; height: 26px; stroke: currentColor; flex: 0 0 auto; margin-right: 12px; }
.cfg-cartao {
    background-color: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
}

.cfg-cartao-titulo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #aaa;
}
.cfg-cartao-titulo svg { width: 19px; height: 19px; flex: 0 0 auto; margin-right: 10px; }

.cfg-opcoes {
    display: flex;
flex-wrap: wrap;
}
.cfg-opcoes > * + * { margin-left: 14px; }
.cfg-opcao {
    flex: 1 1 240px;
    display: flex;
    align-items: center;
padding: 16px 18px;
    background-color: #121212;
    border: 2px solid transparent;
    border-radius: 6px;
    color: #aaa;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.cfg-opcao > * + * { margin-left: 12px; }


.cfg-opcao svg { width: 21px; height: 21px; flex: 0 0 auto; }

.cfg-opcao.selecionada {
    border-color: #ffffff;
    color: #fff;
}
.cfg-opcao.cfg-opcao-ocupada {
    opacity: 0.6;
    pointer-events: none;
}

.cfg-opcao:focus,
.cfg-opcao:hover {
    background-color: #2b2b2b;
    color: #fff;
}
.cfg-switch-linha {
    display: flex;
    align-items: center;
padding: 14px 18px;
    background-color: #121212;
    border: 2px solid transparent;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease;
}
.cfg-switch-linha > * + * { margin-left: 16px; }


.cfg-switch-linha:focus,
.cfg-switch-linha:hover {
    background-color: #2b2b2b;
}

.cfg-switch {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 28px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.14);
    transition: background-color 0.18s ease-out;
}

.cfg-switch-bola {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f2f2f2;
    transition: transform 0.18s ease-out;
}

.cfg-switch-linha.ligado .cfg-switch { background: #1f7a4d; }
.cfg-switch-linha.ligado .cfg-switch-bola { transform: translateX(24px); background: #46c98a; }
.cfg-grade {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cfg-info-item {
    background-color: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px 18px;
    min-width: 0;
}

.cfg-info-item.largo { grid-column: 1 / -1; }

.cfg-info-rotulo {
    display: flex;
    align-items: center;
margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
}
.cfg-info-rotulo > * + * { margin-left: 8px; }


.cfg-info-valor {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}

.cfg-info-valor.ok { color: #46c98a; }

.cfg-info-vazio {
    grid-column: 1 / -1;
    padding: 22px;
    text-align: center;
    color: #888;
    font-weight: 600;
}

.cfg-nota {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #888;
}
.cfg-categorias-lista {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cfg-categoria-linha {
    display: flex;
    align-items: center;
    justify-content: space-between;
padding: 10px 14px;
    background-color: #121212;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #ddd;
    min-width: 0;
}
.cfg-categoria-linha > * + * { margin-left: 10px; }


.cfg-categoria-linha span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cfg-categoria-badge {
    flex: 0 0 auto;
    padding: 3px 9px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
    font-size: 12px;
    font-weight: 700;
}

.cfg-categoria-badge.tem-dado {
    background: rgba(243, 156, 18, 0.16);
    color: var(--vf-accent);
}
.cfg-opcoes-compacto {
    margin-top: 16px;
}
.cfg-opcoes-compacto .cfg-opcao {
    flex: 1 1 200px;
    padding: 12px 16px;
    font-size: 14px;
}
.cfg-opcoes-compacto .cfg-opcao svg {
    width: 18px;
    height: 18px;
}
#cfg-btn-trocar-senha-adulto {
    flex: 0 1 200px;
}
#aviso-rapido {
    position: absolute;
    right: 32px;
    bottom: 28px;
    z-index: 12000;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(243, 156, 18, 0.35);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease-out, transform 0.22s ease-out;
    pointer-events: none;
}

#aviso-rapido.visivel {
    opacity: 1;
    transform: translateY(0);
}
#aviso-remoto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 13000;
    display: flex;
    align-items: center;
    justify-content: center;
padding: 14px 28px;
    background: rgba(20, 20, 20, 0.97);
    border-bottom: 1px solid rgba(243, 156, 18, 0.5);
}
#aviso-remoto-overlay > * + * { margin-left: 18px; }


.aviso-remoto-texto {
    flex: 1;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.aviso-remoto-fechar {
    flex-shrink: 0;
    padding: 7px 22px;
    border: none;
    border-radius: 6px;
    background: #F39C12;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.aviso-remoto-fechar:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    transform: scale(1.05);
}

.live-channel-item.active:focus {
    border-color: rgba(255,255,255,0.5);
}
.live-category-item {
    padding: 11px 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    cursor: pointer;
    background-color: #1e1e1e;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    transition: transform 0.08s ease, color 0.08s ease, opacity 0.08s ease, filter 0.08s ease;
    border: 1px solid transparent;
    outline: none;
    display: flex;
    align-items: center;
    scroll-margin: 15px;
}
.live-category-item > * + * { margin-left: 8px; }
.live-category-item .channel-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.live-category-item:hover, .live-category-item:focus {
    background-color: #26262a;
    color: #fff;
    border-color: #f2f2f2;
    outline: none;
    transform: none;
    box-shadow: none;
    transition: color 0.08s ease;
}

.live-category-item.active {
    background-color: #3a3a3a;
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.live-category-item.active:focus, .live-category-item.active:hover {
    background-color: #3a3a3a;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    transform: none;
    box-shadow: none;
}
.premium-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    background-color: #000 !important; 
    border-radius: 8px;
    outline: none;
    border: none;
}
.premium-video-player::-webkit-media-controls,
.premium-video-player::-webkit-media-controls-start-playback-button,
.premium-video-player::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none !important;
}
.live-loader {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -17px;
    margin-left: -17px;
    z-index: 3;
    display: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.channel-logo {
    width: 45px;
    height: 35px;
    border-radius: 4px;
    object-fit: contain;
}
.channel-logo-fallback {
    width: 45px;
    height: 35px;
    border-radius: 4px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    color: #aaa;
}
.category-icon {
    width: 45px;
    height: 35px;
    border-radius: 4px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    color: #aaa;
}
.live-category-item:hover .category-icon,
.live-category-item:focus .category-icon,
.live-category-item.active .category-icon {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.epg-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}
.epg-time {
    color: #888;
    font-size: 12px;
    margin-bottom: 4px;
}
.epg-program-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}
.epg-item.now {
    padding: 10px;
    margin: -10px -10px 10px;
    border-radius: 8px;
    border-bottom: none;
    background: var(--vf-item-hover);
}
.epg-item.now .epg-time {
    color: var(--vf-accent);
    font-weight: 700;
}
.epg-progress-track {
    margin-top: 8px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
}
.epg-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--vf-accent);
}
.vod-col-grid {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 14px;
    overflow-y: auto;
    align-content: start;
}
.vod-col-grid .vod-item {
    content-visibility: auto;
    contain-intrinsic-size: auto 285px;
}

.vod-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding-top: 150%;
    transition: none;
    border: 3px solid transparent;
    cursor: pointer;
    background: var(--vf-item);
    scroll-margin: 20px;
}

.vod-item:focus, .vod-item.active {
    border-color: #ffffff;
    outline: none;
    z-index: 10;
}

.vod-item-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vod-item-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 2;
}
.vod-item-progress-fill {
    height: 100%;
    background: #e50914;
}

.vod-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.95) 55%);
    color: white;
    padding: 32px 10px 10px;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.vod-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--tv-w);
    height: var(--tv-h);
    background: rgba(0,0,0,0.93);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vod-modal.show {
    opacity: 1;
}

.exit-modal-content {
    background-color: var(--vf-item);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 18px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
width: auto;
    max-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    z-index: 100001;
}
.exit-modal-content > * + * { margin-top: 14px; }


.exit-modal-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.exit-modal-buttons {
    display: flex;
    justify-content: center;
}
.exit-modal-buttons > * + * { margin-left: 12px; }
.pin-modal-content {
    max-width: 320px;
}

.pin-modal-sub {
    color: #aaa;
    font-size: 13px;
    margin: -6px 0 0 0;
}

.pin-dots {
    display: flex;
}
.pin-dots > * + * { margin-left: 14px; }


.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #555;
    background: transparent;
}

.pin-dot.preenchido {
    background: #fff;
    border-color: #fff;
}

.pin-modal-erro {
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 600;
    margin: -8px 0 0 0;
}

.pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 56px);
    gap: 10px;
}

.pin-key {
    width: 56px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid transparent;
    background-color: #1e1e1e;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.pin-key:hover, .pin-key:focus {
    background-color: var(--vf-item-hover);
    border-color: #f2f2f2;
}

.pin-key-action {
    font-size: 12px;
}

.vod-modal-content {
    width: 720px;
    height: 360px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.vod-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.vod-modal-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #000 30%, transparent 100%);
    z-index: 2;
}

.vod-modal-info {
    position: relative;
    z-index: 3;
    display: flex;
    padding: 20px;
width: 100%;
}
.vod-modal-info > * + * { margin-left: 20px; }


.vod-modal-poster-img {
    width: 120px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    object-fit: cover;
    object-position: center top;
    border: 1px solid rgba(255,255,255,0.1);
}

.vod-modal-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.vod-modal-text h2 {
    font-size: 24px;
    margin: 0 0 6px 0;
    font-weight: 800;
}

.vod-modal-meta {
    display: flex;
margin-bottom: 10px;
}
.vod-modal-meta > * + * { margin-left: 10px; }


.meta-tag {
    background: rgba(255,255,255,0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: var(--vf-accent);
}

.hero-overview {
    font-size: 13px;
    line-height: 1.4;
    color: #e0e0e0;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions {
    display: flex;
    align-items: center;
}
.hero-actions > * + * { margin-left: 14px; }


.btn-watch {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, filter 0.2s;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}
.btn-watch > * + * { margin-left: 8px; }


.btn-watch:focus, .btn-watch:hover {
    transform: scale(1.05);
    background-color: #e6e6e6;
    box-shadow: 0 6px 20px rgba(255,255,255,0.4);
    outline: 3px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}

.carousel-dots {
    display: flex;
    align-items: center;
}
.carousel-dots > * + * { margin-left: 8px; }


.c-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.c-dot.active {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    box-shadow: 0 0 6px rgba(255,255,255,0.45);
}

.vod-modal-desc {
    font-size: 13px;
    line-height: 1.4;
    color: #ccc;
    margin-bottom: 12px;
    max-height: 80px;
    overflow-y: auto;
}

.vod-modal-actions {
    display: flex;
}
.vod-modal-actions > * + * { margin-left: 10px; }


.vod-btn {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}
.vod-btn > * + * { margin-left: 8px; }


.vod-btn.primary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.vod-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.vod-btn:focus, .vod-btn:hover {
    transform: scale(1.05);
    outline: none;
}

.vod-btn.primary:focus, .vod-btn.secondary:focus {
    background: #ffffff;
    color: #000;
    border-color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.22);
}
.vod-btn.is-favorito {
    background: linear-gradient(135deg, #8a1c1c, #5c1212);
    border-color: rgba(255, 90, 90, 0.4);
    color: #ffffff;
}
.vod-btn.is-favorito svg {
    fill: #ff6b6b;
}
.vod-btn.is-favorito:hover,
.vod-btn.is-favorito:focus {
    background: linear-gradient(135deg, #a52222, #6b1414);
    border-color: #ff4d4d;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 60, 60, 0.35);
}
.vod-btn.is-favorito:hover svg,
.vod-btn.is-favorito:focus svg {
    fill: #ff6b6b;
}

.badge-container {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
z-index: 10;
}
.badge-container > * + * { margin-top: 5px; }
.badge-4k {
    background: linear-gradient(135deg, #ffd97a 0%, #e6a817 45%, #c8860d 100%);
    color: #1a1200;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 10px rgba(230,168,23,0.45);
    border: 1px solid rgba(255, 235, 170, 0.75);
    text-align: center;
    text-shadow: none;
}

.badge-leg {
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}
.badge-hdr {
    background: linear-gradient(135deg, #ff7a59, #c0392b);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.4px;
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}
.badge-cam {
    background: linear-gradient(135deg, #4a4a4a, #2e2e2e);
    color: rgba(255,255,255,0.82);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.18);
    text-align: center;
}
.favorites-category-item {
    display: flex;
    align-items: center;
padding: 12px 24px;
    border-radius: 0;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(231, 76, 60, 0.2);
    background: linear-gradient(135deg, rgba(231,76,60,0.12), rgba(192,57,43,0.06));
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #e74c3c;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    outline: none;
    width: 100%;
}
.favorites-category-item > * + * { margin-left: 8px; }


.favorites-category-item:hover, .favorites-category-item:focus {
    background: linear-gradient(135deg, rgba(231,76,60,0.3), rgba(192,57,43,0.15));
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.favorites-category-item.active {
    background: linear-gradient(135deg, rgba(231,76,60,0.4), rgba(192,57,43,0.25));
    border-left: 4px solid #e74c3c;
    padding-left: 20px;
    color: #fff;
}

.fav-heart-icon {
    font-size: 16px;
    line-height: 1;
}

.fav-btn-vod {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    z-index: 5;
}

.fav-btn-vod:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
}
.fav-btn-vod.favorited {
    background: rgba(255, 255, 255, 0.85);
    color: #000000;
}
.search-layout {
    display: flex;
    width: 100%;
    height: var(--tv-h);
    margin-top: 0;
    padding: 18px 40px;
background-color: #0b0b0d;
}
.search-layout > * + * { margin-left: 40px; }


.search-left-panel {
    width: 360px;
    display: flex;
    flex-direction: column;
flex-shrink: 0;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 4px;
}
.search-left-panel > * + * { margin-top: 8px; }


.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

#search-input-field {
    width: 100%;
    height: 42px;
    background-color: #16161a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 0 16px 0 48px;
    outline: none;
}

.search-keyboard {
    display: flex;
    flex-direction: column;
contain: layout paint;
}
.search-keyboard > * + * { margin-top: 5px; }
.sk-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}
.sk-row.action-row {
    display: flex;
}

.sk-key {
    width: auto;
    height: 46px;
    background-color: #16161a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    outline: none;
    contain: layout paint;
}

.sk-key:focus, .sk-key:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    outline: none;
}
.sk-key.sk-action {
    background-color: #212126;
    flex-grow: 1;
    width: auto;
    min-width: 56px;
}

.sk-key.sk-space {
    background-color: #212126;
    flex-grow: 3;
    width: auto;
    min-width: 56px;
}
.sk-key.sk-action:focus,
.sk-key.sk-action:hover,
.sk-key.sk-space:focus,
.sk-key.sk-space:hover {
    background-color: #ffffff;
    color: #000000;
}

.search-right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.search-placeholder {
    margin: auto;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    width: 80%;
    max-width: 450px;
}

.search-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border-left: 4px solid #ffffff;
    padding-left: 12px;
    text-transform: uppercase;
}

#search-movies-grid, #search-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 155px));
    gap: 14px;
    padding: 14px;
    align-content: start;
    width: 100%;
    background: transparent;
    border-radius: 0;
}

#dynamic-hero-banner {
    position: relative;
    width: 100%;
    height: min(560px, calc(var(--tv-h) * 0.79));
    overflow: hidden;
    background: #000;
    border-radius: 0;
    margin-bottom: 0;
}
html.modo-toque #dynamic-hero-banner {
    height: min(384px, calc(var(--tv-h) * 0.64));
}
html.modo-toque .spotlight-info {
    margin-top: 64px;
}
html.modo-toque .spotlight-info > * + * { margin-top: 8px; }
html.modo-toque .spotlight-overview {
    -webkit-line-clamp: 2;
}
html.modo-toque #home-streaming-section {
    margin-top: 56px;
}

.spotlight-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    filter: brightness(0.95);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 10%, #000 22%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 10%, #000 22%);
    transition: background-image 0.8s ease;
}

.spotlight-gradient {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background:
        linear-gradient(to right,
            #000 0%, #000 30%,
            rgba(0,0,0,0.92) 40%,
            rgba(0,0,0,0.75) 50%,
            rgba(0,0,0,0.5) 60%,
            rgba(0,0,0,0.25) 70%,
            transparent 82%),
        linear-gradient(to bottom,
            /* Só embaixo — em cima a imagem agora vai até a borda, sem
               sombra nenhuma (pedido explícito). */
            transparent 0, transparent calc(100% - 70px), #000 100%);
    z-index: 1;
}
.spotlight-gradient::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
}

.spotlight-content {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
padding: 90px 24px 24px;
}
.spotlight-content > * + * { margin-left: 48px; }


.spotlight-poster {
    flex-shrink: 0;
    width: 200px;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.08);
    transition: transform 0.4s ease;
}
.spotlight-poster:hover { transform: scale(1.03); }
.spotlight-poster-placeholder {
    flex-shrink: 0;
    width: 200px;
    height: 300px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.spotlight-info {
    flex: 1;
    display: flex;
    flex-direction: column;
max-width: 560px;
    margin-top: 90px;
    animation: spotlightFadeIn 0.5s ease forwards;
}
.spotlight-info > * + * { margin-top: 14px; }


.spotlight-badge {
    display: inline-flex;
    align-items: center;
background: rgba(243,156,18,0.15);
    border: 1px solid rgba(243,156,18,0.4);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--vf-accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    width: fit-content;
}
.spotlight-badge > * + * { margin-left: 6px; }


.spotlight-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.spotlight-meta {
    display: flex;
    align-items: center;
flex-wrap: wrap;
}
.spotlight-meta > * + * { margin-left: 15px; }
.spotlight-meta-item {
    display: inline-flex;
    align-items: center;
font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.spotlight-meta-item > * + * { margin-left: 7px; }


.spotlight-meta-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.78;
}

.spotlight-meta-item.rating {
    color: var(--vf-accent);
}

.spotlight-meta-item.rating svg {
    opacity: 1;
}

.spotlight-chip {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.spotlight-chip.rating {
    background: rgba(243,156,18,0.2);
    border-color: rgba(243,156,18,0.5);
    color: var(--vf-accent);
}

.spotlight-overview {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-watch-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 18px 0 14px;
    padding: 12px 26px;
    border-radius: 8px;
    border: none;
    background: #ffffff;
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.spotlight-watch-btn svg { margin-right: 10px; flex-shrink: 0; }

.spotlight-watch-btn:hover,
.spotlight-watch-btn:focus {
    transform: scale(1.04);
    box-shadow: 0 4px 18px rgba(255,255,255,0.35);
    outline: none;
}

.spotlight-progress-bar {
    display: none;
    height: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    overflow: hidden;
    width: 100%;
}
.spotlight-progress-fill {
    height: 100%;
    background: var(--vf-accent);
    width: 0%;
    transition: width 0.1s linear;
}

.spotlight-thumbnails {
    position: absolute;
    bottom: 20px;
    right: 72px;
    z-index: 3;
    display: none;
    gap: 10px;
}

.spotlight-thumb {
    width: 72px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.4;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
    background: rgba(255,255,255,0.05);
}
.spotlight-thumb:hover { opacity: 0.8; transform: scale(1.05); }
.spotlight-thumb.active { opacity: 1; border-color: var(--vf-accent); }

.spotlight-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}
.spotlight-arrow:hover { background: rgba(243,156,18,0.3); transform: translateY(-50%) scale(1.1); }
.spotlight-arrow.prev { left: 24px; }
.spotlight-arrow.next { right: 24px; }

@keyframes spotlightFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.spotlight-logo {
    max-width: 430px;
    max-height: 112px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
    align-self: flex-start;
}
.home-section {
    padding: 0 18px 12px;
}

.home-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}
.section-icon {
    width: 21px;
    height: 21px;
    margin-right: 10px;
    stroke: var(--vf-accent);
}

.home-row {
    will-change: scroll-position;
    transform: translateZ(0);
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.home-row > * + * { margin-left: 14px; }


.home-row::-webkit-scrollbar {
    display: none;
}

.home-row .vod-item {
    flex: 0 0 160px;
    width: 160px;
    height: 240px;
    padding-top: 0;
}

.home-row .vod-item-title {
    font-size: 15px;
    padding: 16px 8px 8px;
}

.home-row::after {
    content: '';
    flex: 0 0 16px;
    height: 1px;
}
.provider-screen {
    display: flex;
    width: 100%;
    height: var(--tv-h);
    background-color: #000;
    box-sizing: border-box;
    overflow: hidden;
}

.provider-sidebar {
    flex: 0 0 60px;
    background-color: #0a0a0a;
    border-right: 1px solid var(--vf-item);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
}
.provider-sidebar > * + * { margin-top: 20px; }


.provider-sidebar-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 7px;
}

.provider-sidebar-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
}

.provider-sidebar-btn:hover,
.provider-sidebar-btn:focus {
    background: #fff;
    color: #000;
    outline: none;
}

.provider-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.provider-hero {
    position: relative;
    width: 100%;
    height: 46vh;
    min-height: 320px;
    background-color: var(--vf-item);
}

.provider-hero-backdrop {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center top;
    background-color: var(--vf-item);
}
.provider-hero-backdrop::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.provider-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to top,
        #000 0%, #000 8%,
        rgba(0, 0, 0, 0.9) 16%, rgba(0, 0, 0, 0.78) 24%,
        rgba(0, 0, 0, 0.64) 32%, rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.36) 48%, rgba(0, 0, 0, 0.24) 56%,
        rgba(0, 0, 0, 0.14) 65%, rgba(0, 0, 0, 0.06) 75%,
        rgba(0, 0, 0, 0.02) 85%, transparent 100%);
    z-index: 1;
}

.provider-hero-info {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 24px;
    z-index: 2;
}

.provider-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.provider-hero-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
    margin-top: 8px;
    line-height: 1.5;
}

.provider-hero-meta {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}
.provider-top-item {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
}

.provider-top-rank {
    font-size: 84px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
    margin-right: -16px;
    user-select: none;
    pointer-events: none;
}

.provider-top-poster {
    width: 130px;
    height: 195px;
    border-radius: 6px;
    object-fit: cover;
    background-color: var(--vf-item);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
    border: 3px solid transparent;
    cursor: pointer;
    transition: none;
}

.provider-top-poster:hover,
.provider-top-poster:focus {
    border-color: #ffffff;
    outline: none;
}
.streaming-row {
    gap: 20px;
}

.streaming-row .streaming-logo-card {
    flex: 0 0 auto;
    width: 176px;
    height: 99px;
}

.streaming-logo-card {
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.streaming-logo-card:hover,
.streaming-logo-card:focus {
    border-color: #ffffff;
    outline: none;
}

.streaming-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.search-header {
    display: flex;
    align-items: center;
margin-bottom: 24px;
    align-self: flex-start;
}
.search-header > * + * { margin-left: 16px; }


.search-back-round-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.12s linear, color 0.12s linear;
    outline: none;
}

.search-back-round-btn:hover,
.search-back-round-btn:focus {
    background: #ffffff;
    color: #000000;
}

.search-header-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.season-tab {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: color 0.15s ease, transform 0.15s ease;
}
.season-tab.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}
.season-tab:hover,
.season-tab:focus,
.season-tab.active:hover,
.season-tab.active:focus {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    outline: none;
}
.season-tab:focus,
.season-tab.active:focus,
.season-tab:hover,
.season-tab.active:hover {
    transform: scale(1.04);
}
.episode-card {
    flex: 0 0 200px;
    width: 200px;
    background: #111111;
    border-radius: 10px;
    border: 3px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.episode-card:hover,
.episode-card:focus,
.episode-card.active {
    outline: none;
    transform: translateY(-4px);
    border-color: #ffffff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}
.episode-card-thumb-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
}
.episode-card-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.episode-card:hover .episode-card-thumb,
.episode-card:focus .episode-card-thumb {
    transform: scale(1.08);
}
.episode-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
}
.episode-card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
}
.episode-card-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 2;
}
.episode-card-progress-fill {
    height: 100%;
    background: #e50914;
}
.episode-card-title {
    margin: 0;
    padding: 10px 12px;
    height: 54px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sd-screen {
    display: none;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 9000;
    background: #000;
    overflow: hidden;
    will-change: transform;
}

.sd-back-btn {
    display: none !important;
}

.sd-main-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -24px 0 0 -24px;
    z-index: 15;
}

.sd-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 40px 16px 24px 24px;
opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
    scrollbar-width: none;
}
.sd-inner > * + * { margin-top: 18px; }
.sd-inner > .sd-hero-backdrop,
.sd-inner > .sd-hero-gradient { margin: 0; }
.sd-inner > .sd-hero-gradient + * { margin-top: 0; }

.sd-inner::-webkit-scrollbar {
    display: none;
}
.sd-top-row {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    width: 100%;
}
.sd-top-row > * + * { margin-left: 28px; }
.sd-hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background-repeat: no-repeat;
    background-size: auto 115%;
    background-position: right top;
    transition: background-image 0.4s ease;
    z-index: 0;
}

.sd-hero-backdrop::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.05;
    mix-blend-mode: overlay;
}

.sd-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background:
        linear-gradient(to right,
            #000 0%,
            #000 34%,
            rgba(0,0,0,0.92) 42%,
            rgba(0,0,0,0.78) 50%,
            rgba(0,0,0,0.55) 58%,
            rgba(0,0,0,0.32) 68%,
            rgba(0,0,0,0.12) 78%,
            transparent 90%),
        /* Antes terminava em 0.92 de opacidade — a foto ainda "vazava" um
           pouco nos últimos pixels da caixa de 400px, e como esse é um
           elemento à parte (absoluto) que termina num corte reto contra o
           fundo #000 sólido do resto da tela, sobrava uma linha visível
           bem fraca ali (a costura que o cliente reportou). Selado em preto
           puro (#000, opacidade 1) bem antes do fim da caixa — a partir daí
           casa exatamente com o fundo por trás, não importa onde o conteúdo
           real (abas de temporada) realmente comece. */
        linear-gradient(to bottom,
            rgba(0,0,0,0.4) 0%,
            transparent 20%,
            transparent 60%,
            #000 90%,
            #000 100%);
    z-index: 1;
}

.sd-left-panel {
    position: relative;
    width: 190px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
z-index: 2;
    min-height: 0;
}
.sd-left-panel > * + * { margin-top: 12px; }
.vod-info {
    padding-top: 0;
    padding-bottom: 8px;
}

.vod-info .sd-logo, #series-modal-inner .sd-logo {
    max-width: 340px;
    max-height: 120px;
    object-position: left center;
}
#vod-modal-inner .sd-top-row {
    flex: 0 1 428px;
    min-height: 0;
    overflow: hidden;
}
#vod-modal-inner {
    padding: 32px 16px 16px 24px;
}
#vod-modal-inner > * + * {
    margin-top: 26px;
}
#vod-detail-overview {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vod-recent-row.home-row .vod-item {
    flex: 0 0 148px;
    width: 148px;
    height: 222px;
}
#vod-detail-recent-section {
    flex-shrink: 0;
    padding: 14px 16px 16px;
    position: relative;
    background-color: transparent;
    border-radius: 0;
}

.sd-poster-wrap {
    width: 100%;
    max-width: 180px;
    position: relative;
    height: 0;
    padding-top: 150%;
    overflow: hidden;
}
.sd-poster-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
}
.sd-poster-badges .badge-container {
    position: static;
    display: flex;
    flex-direction: column;
}
.sd-poster-badges .badge-container > * + * { margin-top: 5px; }


.sd-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: var(--vf-item);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.sd-actions {
    display: flex;
    flex-direction: column;
}
.sd-actions > * + * { margin-top: 12px; }


.sd-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
padding: 10px 16px;
    border-radius: 6px;
    border: 3px solid transparent;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease;
}
.sd-action-btn svg { margin-right: 10px; flex-shrink: 0; }


.sd-action-btn:hover,
.sd-action-btn:focus {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    outline: none;
}

.sd-action-primary {
    background: rgba(255, 255, 255, 0.15);
}
.sd-action-primary:hover,
.sd-action-primary:focus {
    background: #ffffff;
    color: #000000;
}
.vod-info-actions #vod-detail-btn-play, #series-modal-inner .sd-series-actions #series-detail-btn-play {
    width: auto;
    padding: 10px 22px;
}
.sd-action-btn.is-favorito {
    background: linear-gradient(135deg, #8a1c1c, #5c1212);
    border-color: rgba(255, 90, 90, 0.4);
    color: #ffffff;
}
.sd-action-btn.is-favorito svg {
    fill: #ff6b6b;
}
.sd-action-btn.is-favorito:hover,
.sd-action-btn.is-favorito:focus {
    background: linear-gradient(135deg, #a52222, #6b1414);
    border-color: #ff4d4d;
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 14px rgba(255, 60, 60, 0.35);
}
.sd-action-btn.is-favorito:hover svg,
.sd-action-btn.is-favorito:focus svg {
    fill: #ff6b6b;
}
.vod-info-actions {
    flex-direction: row;
    margin: 2px 0 4px;
}
.sd-actions.vod-info-actions > * + * {
    margin-top: 0;
    margin-left: 12px;
}


.sd-right-panel {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.sd-info {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    z-index: 2;
    padding: 20px 24px 20px 0;
}
.sd-info > * + * { margin-top: 14px; }


.sd-info-loader {
    position: absolute;
    top: 0;
    right: 0;
}

.sd-logo {
    max-width: 320px;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
    margin-bottom: 2px;
}

.sd-title {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.sd-original {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.sd-meta {
    display: flex;
    flex-wrap: wrap;
align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}
.sd-meta > * + * { margin-left: 16px; }

.sd-meta span {
    display: inline-flex;
    align-items: center;
}
.sd-meta span > * + * { margin-left: 6px; }

.sd-meta svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
}
.cast-photos-row {
    display: flex;
    margin-top: 16px;
    flex-wrap: wrap;
}
.cast-photos-row > * + * { margin-left: 12px; }

.cast-photo-card {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.cast-photo-card img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cast-photo-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sd-credits {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}
.sd-credits > * + * { margin-top: 8px; }


.sd-credit-row {
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}
.sd-credit-row > * + * { margin-left: 8px; }

.sd-credit-row svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.sd-overview-box {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.28));
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 8px;
}
.sd-overview-box > * + * { margin-left: 12px; }

.sd-overview-box svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.6);
}
.sd-overview-content {
    flex: 1;
    min-width: 0;
}
.vod-overview-plain {
    background: none;
    padding: 0;
    margin-top: 14px;
    gap: 0;
}
.vod-overview-plain svg {
    display: none;
}
.vod-left-panel {
    display: none;
}

#vod-modal-inner .sd-hero-backdrop {
    height: 720px;
    background-size: cover;
    background-position: center 25%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}
html.modo-toque #vod-modal-inner .sd-hero-backdrop,
html.modo-toque #vod-modal-inner .sd-hero-gradient {
    height: var(--tv-h);
}
html.modo-toque #vod-modal-inner .sd-hero-backdrop {
    background-position: center top;
}
#vod-modal-inner .sd-hero-gradient {
    height: 720px;
    margin-top: 0 !important;
    background:
        linear-gradient(180deg,
            rgba(0,0,0,.08) 0%,
            rgba(0,0,0,0)   25%,
            rgba(0,0,0,.35) 55%,
            rgba(0,0,0,.75) 72%,
            rgba(0,0,0,.95) 85%,
            #000            90%,
            #000            100%),
        linear-gradient(90deg,
            rgba(0,0,0,.88) 0%,
            rgba(0,0,0,.5)  32%,
            rgba(0,0,0,.1)  62%,
            transparent     82%);
}
#vod-modal-inner .sd-top-row {
    flex: 0 0 calc(var(--tv-h) - 48px);
    align-items: flex-end;
    margin-top: 0 !important;
}
html.modo-toque #vod-modal-inner .sd-top-row {
    flex-basis: calc(var(--tv-h) * 0.92);
    align-items: flex-end;
}
html.modo-toque #vod-modal-inner {
    overflow-y: hidden;
}

.vod-info {
    max-width: 640px;
}
html.modo-toque .vod-info {
    margin-bottom: 28px;
}
html.modo-toque .vod-info .sd-title {
    font-size: 46px;
}
html.modo-toque .vod-info .sd-meta,
html.modo-toque .vod-info .vod-overview-plain {
    font-size: 15px;
}

.vod-info .sd-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
#vod-detail-badges-slot {
    position: static;
    z-index: auto;
    margin-bottom: 6px;
    order: 1;
}
#vod-detail-badges-slot .badge-container {
    position: static;
    flex-direction: row;
}
#vod-detail-badges-slot .badge-4k,
#vod-detail-badges-slot .badge-hdr,
#vod-detail-badges-slot .badge-leg,
#vod-detail-badges-slot .badge-cam {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    box-shadow: none;
    text-shadow: none;
}
.vod-info .sd-logo,
.vod-info .sd-title { order: 2; }
.vod-info .sd-original { order: 3; }
.vod-info .sd-meta { order: 4; }
.vod-info .vod-overview-plain { order: 5; }
.vod-info .vod-info-actions { order: 6; }
.vod-info .sd-credits { order: 7; }
.vod-info .cast-photos-row { order: 8; }

.vod-info .vod-info-actions .sd-action-btn {
    padding: 12px 26px;
    font-size: 15px;
}
.vod-info .sd-meta > * + * { margin-left: 14px; }
.vod-meta-score {
    color: #4ade80;
    font-weight: 800;
}
.vod-meta-hd {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.vod-info-actions {
    align-items: center;
}
#vod-detail-btn-fav, #series-detail-btn-fav {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
    flex: 0 0 auto;
}
#vod-detail-btn-fav svg, #series-detail-btn-fav svg {
    margin-right: 0;
}
#series-detail-overview {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}
#series-detail-overview.expanded {
    -webkit-line-clamp: unset;
}
.sd-overview-toggle {
    margin-top: 6px;
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.7;
}
.sd-overview-toggle:hover,
.sd-overview-toggle:focus {
    opacity: 1;
    outline: none;
}

.sd-series-section {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    z-index: 2;
    background-color: rgba(26, 26, 26, 0.75);
    border-radius: 12px;
    padding: 20px 20px 24px;
}

.sd-season-tabs {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
padding: 4px 0 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    scrollbar-width: none;
}
.sd-season-tabs > * + * { margin-left: 8px; }

.sd-season-tabs::-webkit-scrollbar {
    display: none;
}

.sd-season-title {
    display: none;
}
.sd-episodes-wrap {
    position: relative;
}

.sd-episodes-row {
    display: flex;
    align-items: flex-start;
overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.sd-episodes-row > * + * { margin-left: 10px; }

.sd-episodes-row::-webkit-scrollbar {
    display: none;
}

.sd-ep-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 56px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.sd-ep-nav:hover,
.sd-ep-nav:focus {
    background: #ffffff;
    outline: none;
}
.sd-ep-nav-prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}
.sd-ep-nav-next {
    right: 0;
    border-radius: 8px 0 0 8px;
}
.vod-item {
    border-radius: 10px !important;
    overflow: hidden;
    border: 3px solid transparent;
    transition: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.vod-item:hover,
.vod-item:focus,
.vod-item.active {
    border-color: #ffffff;
    outline: none;
    z-index: 10;
}
.live-category-item,
.live-channel-item,
.vod-item,
.episode-card,
.tmdb-card {
    contain: layout paint;
}
.live-col-categories,
.live-col-channels,
.vod-col-grid,
.home-scroll-area {
    contain: layout paint;
}
.vod-item-poster,
.channel-logo {
    contain: paint;
}

.vod-focusable-text:focus {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    margin: -10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
#series-modal-inner .sd-left-panel { display: none; }

#series-modal-inner .sd-hero-backdrop {
    height: 450px;
    background-size: 65% auto;
    background-position: top right;
    background-repeat: no-repeat;
}
#series-modal-inner .sd-hero-backdrop::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent 65%, #000 95%);
    pointer-events: none;
}
#series-modal-inner .sd-hero-gradient {
    height: 450px;
    background:
        linear-gradient(180deg,
            rgba(0,0,0,.1)  0%,
            rgba(0,0,0,.0)  20%,
            rgba(0,0,0,.15) 50%,
            rgba(0,0,0,.50) 65%,
            rgba(0,0,0,.85) 78%,
            #000            90%,
            #000            100%),
        linear-gradient(90deg,
            #000            0%,
            #000            35%,
            rgba(0,0,0,.85) 45%,
            rgba(0,0,0,.40) 55%,
            transparent     80%);
}
#series-modal-inner {
    padding-top: 24px;
}

#series-modal-inner .sd-top-row {
    flex: 0 1 310px;
    min-height: 0;
    align-items: flex-end;
}
html.modo-toque #series-modal-inner .sd-hero-backdrop {
    height: var(--tv-h);
    background-size: cover;
    background-position: center top;
}
html.modo-toque #series-modal-inner .sd-hero-gradient {
    height: var(--tv-h);
    background:
        linear-gradient(180deg,
            rgba(0,0,0,.08) 0%,
            rgba(0,0,0,0)   25%,
            rgba(0,0,0,.35) 55%,
            rgba(0,0,0,.75) 72%,
            rgba(0,0,0,.95) 85%,
            #000            90%,
            #000            100%),
        linear-gradient(90deg,
            rgba(0,0,0,.88) 0%,
            rgba(0,0,0,.5)  32%,
            rgba(0,0,0,.1)  62%,
            transparent     82%);
}
html.modo-toque #series-modal-inner .sd-top-row {
    flex-basis: calc(var(--tv-h) * 0.88);
    align-items: flex-end;
}
html.modo-toque #series-modal-inner .sd-hero-backdrop::after {
    display: none;
}
html.modo-toque #series-modal-inner {
    overflow-y: hidden;
}

#series-modal-inner .sd-right-panel {
    width: 100%;
    flex: 1;
}
#series-modal-inner .sd-info {
    max-width: 850px;
    padding: 0 0 8px 0;
    margin-bottom: 0;
}
#series-modal-inner .sd-info > * + * { margin-top: 8px; }
#series-modal-inner .sd-title {
    font-size: 44px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}
#series-modal-inner .sd-meta {
    display: flex;
    flex-wrap: nowrap;
align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
#series-modal-inner .sd-meta > * + * { margin-left: 10px; }

#series-modal-inner .sd-meta svg { display: none; }
#series-modal-inner .series-meta-relevante {
    color: #4ade80;
    font-weight: 700;
}
#series-modal-inner .series-meta-badge {
    display: inline-block;
    border: 1.5px solid rgba(255,255,255,0.55);
    border-radius: 3px;
    padding: 1px 5px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}
#series-modal-inner .sd-overview-box {
    background: none;
    padding: 0;
    margin-top: 0;
}
#series-modal-inner .sd-overview-box > * + * { margin-left: 0; }
#series-modal-inner .sd-overview-box > svg { display: none; }
#series-modal-inner #series-detail-overview {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#series-modal-inner .sd-credits { display: none !important; }
#series-modal-inner .sd-series-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 6px;
    flex-wrap: nowrap;
}
#series-modal-inner .sd-series-actions > * + * {
    margin-top: 0;
    margin-left: 10px;
}
#series-modal-inner .sd-series-section {
    background: transparent;
    border-radius: 0;
    padding: 0 0 16px 0;
}
.series-content-tabs {
    display: none;
}
#series-modal-inner .series-content-tabs {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 10px;
    padding-bottom: 0;
}
#series-modal-inner .series-content-tabs > * + * { margin-left: 24px; }


.series-content-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: color 0.15s ease;
}
.series-content-tab:hover,
.series-content-tab:focus {
    color: #fff;
    outline: none;
}
.series-content-tab.active {
    color: #fff;
    border-bottom-color: #fff;
}
.series-season-row {
    display: none;
}
#series-modal-inner .series-season-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
#series-modal-inner .series-season-row > * + * { margin-left: 16px; }
#series-modal-inner .sd-episodes-label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
#series-modal-inner .sd-season-tabs {
    display: flex;
    flex-wrap: nowrap;
overflow-x: auto;
    padding: 6px;
    margin: -6px;
    border: none;
    scrollbar-width: none;
}
#series-modal-inner .sd-season-tabs > * + * { margin-left: 6px; }

#series-modal-inner .sd-season-tabs::-webkit-scrollbar { display: none; }
#series-modal-inner .episode-card {
    flex: 0 0 280px;
    width: 280px;
    background: #1a1a1a;
}
html.modo-toque #series-modal-inner .episode-card {
    flex: 0 0 300px;
    width: 300px;
}
#series-modal-inner .sd-episodes-row {
    padding-right: 0;
}
#series-modal-inner .episode-card-title {
    height: 48px;
    padding: 8px 10px 4px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.episode-card-num { display: none; }
#series-modal-inner .episode-card-num {
    display: block;
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    line-height: 1;
    z-index: 3;
}
#series-modal-inner .episode-card-badge { display: none; }
.episode-card-desc { display: none; }
#series-modal-inner .episode-card-desc {
    display: none;
    margin: 0;
    padding: 2px 10px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.series-cast-footer { display: none; }
#series-modal-inner .series-cast-footer {
    display: block;
    margin: 10px 0 0;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#series-detail-btn-episodios-mobile,
.ep-mobile-back {
    display: none;
}
html.modo-toque #series-detail-btn-episodios-mobile {
    display: flex;
    width: auto;
    flex: 0 0 auto;
    padding: 10px 20px;
}
html.modo-toque #series-detail-btn-play {
    width: auto;
    flex: 0 0 auto;
    padding: 10px 20px;
}
html.modo-toque #series-modal-inner #series-detail-btn-play,
html.modo-toque #series-modal-inner #series-detail-btn-play:hover,
html.modo-toque #series-modal-inner #series-detail-btn-play:focus,
html.modo-toque #series-detail-btn-episodios-mobile,
html.modo-toque #series-detail-btn-episodios-mobile:hover,
html.modo-toque #series-detail-btn-episodios-mobile:focus {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: transparent;
}
html.modo-toque .ep-mobile-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    margin-right: 4px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}
html.modo-toque #series-modal-inner .sd-series-section {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: var(--tv-w);
    height: var(--tv-h);
    z-index: 30;
    background: #0d0d0d;
    padding: 0;
    margin: 0;
    border-radius: 0;
}
html.modo-toque #series-modal-inner.episodios-aberto .sd-series-section {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header header"
        "seasons episodes";
}
html.modo-toque #series-modal-inner .series-content-tabs {
    grid-area: header;
    padding: 14px 16px 10px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
html.modo-toque #series-modal-inner .series-content-tab {
    padding: 0;
    border-bottom: none;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    cursor: default;
}
html.modo-toque #series-modal-inner .series-season-row {
    grid-area: seasons;
    display: flex;
    flex-direction: column;
    align-items: stretch;
margin: 0;
    padding: 8px 0;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.08);
}
html.modo-toque #series-modal-inner .sd-season-tabs {
    flex-direction: column;
    padding: 0;
    margin: 0;
    overflow: visible;
}
html.modo-toque #series-modal-inner .sd-season-tabs > * + * { margin-left: 0; }
html.modo-toque #series-modal-inner .season-tab {
    width: 100%;
    border-radius: 0;
    border: none;
    border-left: 2px solid transparent;
    background: transparent;
    padding: 10px 6px;
    font-size: 11px;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    text-align: center;
}
html.modo-toque #series-modal-inner .season-tab.active,
html.modo-toque #series-modal-inner .season-tab:hover,
html.modo-toque #series-modal-inner .season-tab:focus {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-left-color: #fff;
    transform: none;
}
html.modo-toque #series-modal-inner .sd-episodes-row {
    grid-area: episodes;
    display: flex;
    flex-direction: column;
overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 14px;
}
html.modo-toque #series-modal-inner .sd-episodes-row > * + * { margin-top: 8px; }

html.modo-toque #series-modal-inner .episode-card {
    width: 100%;
    flex: none;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
html.modo-toque #series-modal-inner .episode-card-thumb-wrap {
    width: 150px;
    height: 84px;
    padding-top: 0;
    flex-shrink: 0;
}
html.modo-toque #series-modal-inner .episode-card-title {
    height: auto;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 14px;
    -webkit-line-clamp: 2;
}
html.modo-toque #series-modal-inner .episode-card-desc {
    display: none;
}
html.modo-toque #series-modal-inner .series-cast-footer {
    display: none !important;
}
.win-row-wrap {
    position: relative;
}

.win-row-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: rgba(10, 10, 10, 0.75);
    color: #fff;
    cursor: pointer;
    z-index: 40;
    opacity: 0;
    transition: opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.win-row-arrow-esq { left: 0; }
.win-row-arrow-dir { right: 0; }
.win-row-wrap:hover .win-row-arrow { opacity: 1; }

.win-row-arrow:hover {
    background: #ffffff;
    color: #000000;
}
.win-row-arrow:focus,
.win-row-arrow:focus-visible,
.win-row-arrow:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.win-row-arrow.oculta {
    opacity: 0 !important;
    pointer-events: none;
}
html.modo-toque .win-row-arrow { display: none; }
