html.kryos-tv-mode,
html.kryos-tv-mode body {
    cursor: none;
    min-height: 100%;
    overflow-y: auto;
}

html.kryos-tv-mode body {
    height: auto;
}

html.kryos-tv-mode .page-wrapper,
html.kryos-tv-mode .kryos-main {
    min-height: 100vh;
    overflow: visible;
}

html.kryos-tv-mode a,
html.kryos-tv-mode button,
html.kryos-tv-mode input,
html.kryos-tv-mode select,
html.kryos-tv-mode textarea,
html.kryos-tv-mode [tabindex] {
    outline: none;
}

html.kryos-tv-mode a:focus,
html.kryos-tv-mode button:focus,
html.kryos-tv-mode input:focus,
html.kryos-tv-mode select:focus,
html.kryos-tv-mode textarea:focus,
html.kryos-tv-mode [tabindex]:focus,
html.kryos-tv-mode .kryos-tv-focused {
    outline: 4px solid #00b5ff !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 7px rgba(0,181,255,.24) !important;
}

html.kryos-tv-mode .tv-action-card:focus,
html.kryos-tv-mode .movie-card:focus,
html.kryos-tv-mode .series-card:focus,
html.kryos-tv-mode .channel-card:focus,
html.kryos-tv-mode .category-card:focus {
    transform: translateY(-4px);
}

html.kryos-tv-mode .kryos-chat-bubble {
    display: none !important;
}

html.kryos-tv-mode .movie-card,
html.kryos-tv-mode .series-card,
html.kryos-tv-mode .category-card,
html.kryos-tv-mode .package-card,
html.kryos-tv-mode .episode-card,
html.kryos-tv-mode .tv-action-card,
html.kryos-tv-mode .lb-action-btn,
html.kryos-tv-mode .lb-watch-btn,
html.kryos-tv-mode .lb-track-option {
    scroll-margin: 110px 0 90px;
}

html.kryos-tv-mode .kryos-sidebar-wrap.is-open .kryos-nav a:focus,
html.kryos-tv-mode .kryos-sidebar-wrap.is-open .kryos-nav a.kryos-tv-focused,
html.kryos-tv-mode .kryos-sidebar-wrap.is-open .kryos-close:focus,
html.kryos-tv-mode .kryos-sidebar-wrap.is-open .kryos-close.kryos-tv-focused {
    background: rgba(0,181,255,.24) !important;
    color: #fff !important;
}

html.kryos-tv-mode .kryos-sidebar-wrap.is-open .kryos-scroll {
    scroll-behavior: auto;
}

.tv-edge-pagination {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(138px, auto) minmax(118px, auto) minmax(138px, auto);
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px 0 20px !important;
    color: #aeb8d4;
    font-size: 13px;
    font-weight: 850;
    clear: both;
}

.tv-edge-pagination a,
.tv-edge-pagination span {
    min-height: 46px;
    padding: 0 15px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: #111827;
    color: #aeb8d4;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.tv-edge-pagination .edge-action {
    gap: 9px;
    min-width: 138px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.tv-edge-pagination .edge-action span,
.tv-edge-pagination .edge-action small,
.tv-edge-pagination .page strong,
.tv-edge-pagination .page small {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: inline-flex !important;
}

.tv-edge-pagination .edge-action span {
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.tv-edge-pagination .edge-action small,
.tv-edge-pagination .page small {
    color: #7f8dac;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.tv-edge-pagination .edge-action i {
    color: #00b5ff;
    font-size: 12px;
}

.tv-edge-pagination a.edge-action:hover {
    color: #fff;
    border-color: rgba(0,181,255,.35);
    background: rgba(0,181,255,.12);
}

.tv-edge-pagination .page {
    min-width: 118px;
    flex-direction: column;
    gap: 2px;
    color: #fff;
    border-color: rgba(0,181,255,.35);
    background: rgba(0,181,255,.12);
}

.tv-edge-pagination .page strong {
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}

.tv-edge-pagination .disabled {
    opacity: .42;
}

@media (max-width: 768px) {
    .tv-edge-pagination {
        grid-template-columns: 1fr;
    }

    .tv-edge-pagination .edge-action,
    .tv-edge-pagination .page {
        width: 100%;
    }
}
