:root {
    --bg-surface: #0c0e14;
    --border-subtle: #1f2433;
    --text-primary: #ffffff;
    --text-secondary: #b0b6c4;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

video::-internal-media-controls-download-button {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    overflow: hidden !important;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep, #050609);
}

::-webkit-scrollbar-thumb {
    background: #262b3b;
    border-radius: 3px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    background: var(--cor-primaria);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 9999;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
    outline: 3px solid #ffffff;
}

button:focus-visible,
input:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--cor-primaria) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25) !important;
}

body {
    background-color: var(--bg-deep, #050609);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-primary);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    user-select: none;
}

.auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #040507;
}

.main-card {
    width: 100%;
    max-width: 415px;
    padding: 2rem;
    border-radius: 22px;
    background: rgba(8, 10, 15, 0.96);
    border: 1px solid #1b202e;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.logo-area {
    margin-top: 2%;
    margin-bottom: 5%;
}

.logo-area img {
    width: 100%;
    max-width: 230px;
    max-height: 90px;
    height: auto;
    object-fit: contain;
}

.app-pill {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #10131c;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid #202636;
    margin-bottom: 1.3rem;
}

.auth-tab-btn {
    background: transparent;
    border: none;
    color: #a5adbe;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab-btn.active {
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: #ffffff;
}

.mac-info-box {
    background: #10131c;
    border: 1.5px solid #22283a;
    border-radius: 16px;
    padding: 16px;
    text-align: left;
}

.mac-helper-text {
    font-size: 0.8rem;
    color: #b0b6c4;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.mac-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #080a0f;
    border: 1px solid #1e2436;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.mac-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8892a6;
    letter-spacing: 0.8px;
}

.mac-value {
    font-family: monospace;
    font-size: 1rem;
    color: #00e1ff;
    letter-spacing: 1px;
}

.mac-key-value {
    font-family: monospace;
    font-size: 0.96rem;
    color: #ffd000;
    letter-spacing: 1.5px;
}

.form-group {
    text-align: left;
    margin-bottom: 1.1rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-left: 5px;
    display: inline-block;
}

.form-label::after {
    content: " *";
    color: #ff0000;
}

.form-control {
    background-color: #10131c;
    border: 1.5px solid #22283a;
    border-radius: 12px;
    color: #ffffff !important;
    padding: 13px;
}

.form-control:focus {
    background-color: #141824;
    border-color: var(--cor-primaria);
    box-shadow: none;
    outline: none;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-right: 48px;
}

.toggle-password-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remember-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #bbbbbb;
    margin-bottom: 1rem;
    cursor: pointer;
}

.remember-check input {
    accent-color: var(--cor-primaria);
    width: 16px;
    height: 16px;
}

.btn-submit {
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: lowercase;
    cursor: pointer;
    margin-top: 0.4rem;
}

.footer-box {
    margin-top: 1.6rem;
    padding: 14px;
    border: 1px solid #1c202e;
    border-radius: 14px;
    background: #0a0c12;
}

.footer-text {
    font-size: 0.84rem;
    color: #999999;
    margin: 0;
}

.text-gradient {
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

#app-shell {
    display: none;
    min-height: 100vh;
    flex-direction: column;
    background-color: var(--bg-deep, #050609);
}

.nx-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    min-height: 64px;
    padding: 8px 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 1000;
    background: #080a0f;
    border-bottom: 1px solid var(--border-subtle);
}

.nx-nav-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nx-brand img {
    max-height: 38px;
    max-width: 135px;
    object-fit: contain;
}

.nx-brand-text {
    font-size: 1.15rem;
    font-weight: 800;
}

.nx-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nx-link-btn {
    background: #111520;
    border: 1px solid #202636;
    color: #d0d5e0;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
}

.nx-link-btn.active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
}

.nx-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nx-search {
    position: relative;
    display: flex;
    align-items: center;
}

.nx-search input {
    background: #111520;
    border: 1.5px solid #252c3d;
    color: #ffffff;
    border-radius: 50px;
    padding: 7px 32px 7px 32px;
    font-size: 0.85rem;
    width: 210px;
    outline: none;
}

.nx-search input:focus {
    border-color: var(--cor-primaria);
}

.nx-search svg {
    position: absolute;
    left: 11px;
    color: #8892a6;
    pointer-events: none;
}

.nx-clear-search {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #aaaaaa;
    font-size: 0.85rem;
    cursor: pointer;
    display: none;
    padding: 2px 6px;
}

.nx-user-badge {
    background: #111520;
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 0.76rem;
    color: #d4d4d4;
    white-space: nowrap;
}

.nx-logout-btn {
    background: #241016;
    border: 1px solid #4a1c28;
    color: #ff6b85;
    border-radius: 50px;
    padding: 6px 13px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    padding: 36px 3.5% 44px 3.5%;
    background-color: #080a0f;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.hero-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg-deep, #050609) 0%, rgba(5,6,9,0.9) 45%, rgba(5,6,9,0.2) 100%),
        linear-gradient(180deg, rgba(5,6,9,0.15) 0%, rgba(5,6,9,0.6) 65%, var(--bg-deep, #050609) 100%);
}

.hero-carousel::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
}

.nx-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    width: 100%;
}

.nx-hero-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: #ffffff;
    margin-bottom: 8px;
}

.nx-hero-title {
    font-size: clamp(1.5rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 8px 0;
}

.nx-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: #e0e4ed;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.nx-rating-pill {
    color: #ffd000;
    font-weight: bold;
}

.nx-hero-desc {
    font-size: 0.92rem;
    color: #c5cad6;
    line-height: 1.48;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nx-hero-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-indicators {
    position: absolute;
    bottom: 14px;
    right: 3.5%;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
}

.hero-dot.active {
    width: 26px;
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
}

.btn-nx-primary {
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-nx-secondary {
    background: #171b26;
    color: #ffffff;
    border: 1px solid #2e364a;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-rail-section {
    padding: 22px 0 6px 0;
}

.home-rail-header {
    padding: 0 3.5%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-rail-title {
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-rail-title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--cor-primaria), var(--cor-secundaria));
    display: inline-block;
}

.home-rail-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 3.5% 12px 3.5%;
}

.home-rail-track .nx-card {
    flex: 0 0 155px;
    width: 155px;
}

.home-live-pill-card {
    flex: 0 0 220px;
    background: var(--bg-card, #12151f);
    border: 1px solid #23293a;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.home-live-pill-card:hover,
.home-live-pill-card:focus-visible {
    border-color: var(--cor-primaria);
}

.catalog-workspace {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 65px);
}

.catalog-sidebar {
    width: 250px;
    background: #080a0f;
    border-right: 1px solid var(--border-subtle);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    overflow-y: auto;
    max-height: calc(100vh - 65px);
    position: sticky;
    top: 65px;
}

.catalog-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.nx-cat-chip {
    background: #121622;
    border: 1px solid #22293a;
    color: #c5cad6;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.nx-cat-chip.active {
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: #ffffff;
    border-color: transparent;
}

.nx-grid-view {
    padding: 20px 3% 35px 3%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 14px;
}

.nx-card {
    border-radius: 12px;
    background: var(--bg-card, #12151f);
    overflow: hidden;
    position: relative;
    border: 1px solid #222736;
    display: flex;
    flex-direction: column;
}

.nx-card:hover,
.nx-card:focus-within {
    border-color: var(--cor-primaria);
}

.nx-card-trigger {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: inherit;
    width: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nx-card-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    background: #0d1017;
    position: relative;
    overflow: hidden;
}

.nx-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nx-card-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffd000;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 5px;
}

.nx-card-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.nx-card-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-secundaria));
}

.nx-fav-btn {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #3a4258;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
}

.nx-fav-btn.active {
    background: var(--cor-primaria);
    border-color: #ffffff;
    color: #ffffff;
}

.nx-card-info {
    padding: 9px;
    background: var(--bg-card, #13161f);
    width: 100%;
}

.nx-card-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.load-more-wrap {
    padding: 0 3% 45px 3%;
    text-align: center;
}

.live-hub {
    height: calc(100vh - 65px);
    display: none;
    flex-direction: row;
    overflow: hidden;
}

.live-cat-sidebar {
    width: 225px;
    background: #07090e;
    border-right: 1px solid var(--border-subtle);
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    flex-shrink: 0;
}

.live-channel-sidebar {
    width: 320px;
    background: #0a0c12;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.live-channel-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.live-channel-row {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card, #12151f);
    border: 1px solid #1f2536;
    border-radius: 10px;
    padding: 5px 8px;
}

.live-channel-row.active {
    background: #181d2b;
    border-color: var(--cor-primaria);
    box-shadow: inset 4px 0 0 var(--cor-primaria);
}

.live-channel-play-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: #ffffff;
    text-align: left;
    padding: 3px;
    cursor: pointer;
    overflow: hidden;
}

.live-num-badge {
    min-width: 34px;
    height: 26px;
    border-radius: 6px;
    background: #1c2233;
    color: var(--cor-primaria);
    font-weight: 800;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    flex-shrink: 0;
}

.live-channel-logo {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    background: #000000;
    object-fit: contain;
    padding: 2px;
    flex-shrink: 0;
    border: 1px solid #262c3d;
}

.live-stage-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #000000;
    overflow: hidden;
    position: relative;
}

.live-video-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
}

.live-video-box video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.channel-num-osd {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(8, 10, 15, 0.94);
    border: 2px solid var(--cor-primaria);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    z-index: 4500;
    display: none;
    pointer-events: none;
}

.live-controls-bar {
    min-height: 60px;
    padding: 8px 16px;
    background: #0b0d13;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-chip-ctrl {
    background: #161a26;
    border: 1px solid #2a3145;
    color: #dddddd;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.79rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-chip-ctrl.active,
.btn-chip-ctrl:hover {
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: #ffffff;
    border-color: transparent;
}

.nx-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.nx-modal-card {
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    background: #0d1017;
    border: 1px solid #283044;
    border-radius: 16px;
    overflow-y: auto;
    position: relative;
}

.nx-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #141824;
    border: 1px solid #3a435e;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-modal-banner {
    position: relative;
    min-height: 250px;
    background-color: #10141d;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    border-bottom: 1px solid #222838;
}

.nx-modal-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,16,23,0.3) 0%, rgba(13,16,23,0.94) 75%, #0d1017 100%);
}

.nx-modal-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    width: 100%;
}

.nx-modal-poster {
    width: 135px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #333c52;
    flex-shrink: 0;
}

.nx-modal-body {
    padding: 20px 22px 26px 22px;
}

.synopsis-box {
    background: #131722;
    border: 1px solid #232a3b;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 16px;
}

.synopsis-title {
    font-size: 0.84rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--cor-primaria);
    margin: 0 0 6px 0;
}

.nx-episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.nx-ep-card {
    background: #141824;
    border: 1px solid #252d40;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nx-ep-card:hover,
.nx-ep-card:focus-visible {
    border-color: var(--cor-primaria);
}

.nx-ep-card.watched {
    border-color: rgba(46, 213, 115, 0.45);
    background: #101520;
}

.nx-ep-card.watched .nx-ep-thumb {
    opacity: 0.65;
}

.nx-ep-thumb {
    width: 72px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: #080a0f;
    flex-shrink: 0;
}

.nx-ep-watched-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(46, 213, 115, 0.16);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.35);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.nx-ep-unwatched-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #b0b6c4;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
}

.nx-ep-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.nx-ep-progress-fill {
    height: 100%;
    background: #2ed573;
}

.fullscreen-player {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 3500;
    display: none;
    flex-direction: column;
}

.fullscreen-player-top {
    min-height: 56px;
    padding: 8px 16px;
    background: #090b10;
    border-bottom: 1px solid #222736;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.next-ep-overlay {
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: calc(100% - 40px);
    max-width: 390px;
    background: rgba(11, 14, 22, 0.96);
    border: 1.5px solid var(--cor-primaria);
    border-radius: 16px;
    padding: 18px;
    z-index: 3650;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.next-ep-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.next-ep-badge {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--cor-primaria);
    text-transform: uppercase;
}

.next-ep-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-ep-progress-track {
    width: 100%;
    height: 6px;
    background: #1b2234;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 14px;
}

.next-ep-progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    transition: width 1s linear;
}

.next-ep-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (orientation: portrait) and (max-width: 860px) {
    .nx-navbar {
        flex-wrap: wrap;
        padding: 8px 12px;
    }
    .nx-nav-left {
        width: 100%;
        justify-content: space-between;
    }
    .nx-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        order: 3;
    }
    .nx-nav-right {
        width: 100%;
        justify-content: space-between;
        order: 2;
    }
    .nx-search {
        flex: 1;
    }
    .nx-search input {
        width: 100%;
    }
    .catalog-workspace {
        flex-direction: column;
    }
    .catalog-sidebar {
        width: 100%;
        max-height: none;
        position: static;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: 10px 12px;
    }
    .nx-cat-chip {
        width: auto;
        white-space: nowrap;
        border-radius: 50px;
        padding: 7px 14px;
    }
    .live-hub {
        height: calc(100vh - 125px);
        flex-direction: column;
    }
    .live-cat-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: 8px 10px;
        order: 2;
    }
    .live-channel-sidebar {
        width: 100%;
        height: 44%;
        border-right: none;
        order: 3;
    }
    .live-stage-area {
        height: 44%;
        order: 1;
    }
    .nx-modal-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .next-ep-overlay {
        right: 20px;
        left: 20px;
        bottom: 20px;
        max-width: none;
    }
}

@media (orientation: landscape) and (max-width: 960px) {
    .nx-navbar {
        min-height: 50px;
        padding: 4px 12px;
    }
    .nx-brand img {
        max-height: 28px;
    }
    .nx-link-btn {
        padding: 5px 11px;
        font-size: 0.78rem;
    }
    .nx-search input {
        width: 150px;
        padding: 5px 24px 5px 28px;
    }
    .nx-user-badge {
        display: none;
    }
    .catalog-workspace {
        flex-direction: row;
    }
    .catalog-sidebar {
        width: 195px;
        top: 50px;
        max-height: calc(100vh - 50px);
        flex-direction: column;
    }
    .live-hub {
        height: calc(100vh - 51px);
        flex-direction: row;
    }
    .live-cat-sidebar {
        width: 170px;
        flex-direction: column;
    }
    .live-channel-sidebar {
        width: 240px;
    }
}
