:root{--surface-page:#030412;--surface-card:#181a1e;--surface-raised:#23262d;--surface-input:#23262d;--surface-navigation:#000000;--surface-scrim:#00000085;--surface-control:#ffffff1a;--surface-avatar:#ffffff33;--text-primary:#ffffff;--text-secondary:#a4a4a4;--text-tab-inactive:#999999;--accent-main:#f0314a;--accent-deep:#a60d74;--accent-soft:#ffffff;--ink-on-brand:#ffffff;--border-subtle:#4d4d4d;--border-divider:#ffffff14;--button-rest:#384458e6;--button-selected:#ffffff;--button-ink:#f4f7fb;--button-selected-ink:#111111;--button-focus:#f0314a;--button-gradient-start:#de4550;--button-gradient-middle:#be2476;--button-gradient-end:#660ec3}
[data-joj-sign-in] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #030412ed;
    color: var(--text-primary);
    font-family: Montserrat, Arial, sans-serif;
}
[data-joj-sign-in] form { display: grid; gap: 18px; width: 100%; max-width: 420px; }
[data-joj-sign-in] input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-top: 8px;
    padding: 13px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface-input);
    color: inherit;
    font: inherit;
}
[data-joj-sign-in] button {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 24px;
    text-align: center;
    background: #323232;
    color: inherit;
    font: 600 14px/1.2 Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}
[data-joj-sign-in] button[type=submit] { background: linear-gradient(72deg, #eb3449 10%, #5e4ac6); }
[data-joj-sign-in] button:focus, [data-joj-sign-in] input:focus { outline: 2px solid white; outline-offset: 3px; }
[data-joj-sign-in] button:disabled { opacity: .55; }

@font-face {
    font-family: Montserrat;
    src: url("./assets/Montserrat.ttf") format("truetype");
    font-display: swap;
    font-weight: 100 900;
}

:root {
    color-scheme: dark;
    --tv-rail-width: 112px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--surface-page, #090a0f);
    color: var(--text-primary, #fff);
    font-family: Montserrat, Arial, sans-serif;
}

#app {
    --tv-home-inset: 6.667vw;
    --tv-app-gradient: linear-gradient(#030412, #06051c 25%, #180e26 58%, #1b081b 94%);
    position: relative;
    width: 100vw;
    height: 100vh;
    min-width: 960px;
    min-height: 540px;
    overflow: hidden;
    background: var(--surface-page, #090a0f);
}

#tv-rail {
    position: absolute;
    z-index: 5;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    width: var(--tv-rail-width);
    padding: 38px 10px 27px;
    background: linear-gradient(90deg, #090a0f 82%, rgba(9, 10, 15, .9));
}

#tv-brand {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 88px;
    flex: none;
}

#tv-brand img {
    width: 82px;
    height: 28px;
    object-fit: contain;
}

#tv-nav {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    margin-top: 30px;
    flex: none;
}

#tv-nav > button {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #92939c;
    font: 600 12px Montserrat, Arial, sans-serif;
    cursor: pointer;
}

#tv-nav > button img {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
    object-fit: contain;
}

#tv-nav > button:hover,
#tv-nav > button:focus,
#tv-nav [aria-current="page"] {
    outline: 2px solid transparent;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

#tv-nav [aria-current="page"]::before {
    position: absolute;
    top: 20px;
    left: -10px;
    width: 3px;
    height: 32px;
    border-radius: 3px;
    background: var(--accent-main, #e32373);
    content: "";
}

#tv-main {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--tv-rail-width);
    overflow: hidden;
}

#app.home-open #tv-main { left: 0; }
#app:is(.search-open, .account-open, .profiles-open) { background: var(--tv-app-gradient); }

#tv-home {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    height: 100%;
    padding-bottom: 48px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    background: #000;
}

#tv-home::-webkit-scrollbar { display: none; }
#tv-home:not(.has-hero) #tv-rows { padding-top: 11.11vh; }

#tv-hero {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: row !important;
    align-items: flex-end;
    width: 100%;
    height: 75.9vh;
    padding: 0 var(--tv-home-inset) 18.3vh;
    background-color: #000;
    background-position: center top;
    background-size: 100vw auto;
    background-repeat: no-repeat;
}

#tv-hero::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(0, 6, 14, .85), transparent),
        linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .3) 46%);
    content: "";
}

#tv-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex: none;
    flex-direction: column !important;
    align-items: flex-start;
    width: 43.333vw;
    margin-right: auto;
}

#tv-hero-title {
    display: block;
    margin: 0 0 1.3vh;
    color: #fff;
    font-size: 4.444vh !important;
    font-weight: 700;
    line-height: 1.15;
}

#tv-hero-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 0 2.6vh;
    color: #fff;
    font-size: 1.667vh;
    line-height: 1.23;
}

#tv-actions, #tv-detail-actions {
    display: flex;
    flex: none;
    flex-direction: row !important;
    align-items: center;
}



#tv-rows {
    position: relative;
    z-index: 1;
    display: flex;
    flex: none;
    flex-direction: column !important;
    width: 100%;
    padding-left: var(--tv-home-inset);
}

#tv-rows .tv-row-title {
    margin: 0 0 1.25vh;
    color: #aaa;
    font-size: 1.667vh;
    text-transform: uppercase;
}

#tv-rows .tv-cards { padding: 0.46vh; }
#tv-rows .tv-card { flex-basis: 12.5vw; width: 12.5vw; margin-right: 1.5625vw; }
#tv-rows .tv-card-image { height: 18.75vw; }
#tv-rows .tv-row[data-kind="landscape"] .tv-card-image { height: 7.03125vw; }

.tv-row {
    display: flex;
    flex: none;
    flex-direction: column !important;
    width: 100%;
    margin: 0 0 34px;
}

.tv-row-title {
    display: block;
    margin: 0 0 15px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.tv-cards {
    display: flex;
    flex: none;
    flex-direction: row !important;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 12px 8px 8px;
    scrollbar-width: none;
}

.tv-cards::-webkit-scrollbar { display: none; }

.tv-row[data-focus-demo="netflix-anchor"] .tv-cards {
    scroll-snap-type: x mandatory;
    scroll-padding-left: 8px;
    padding-right: calc(100% - 224px);
}

.tv-row[data-focus-demo="netflix-anchor"] .tv-card { scroll-snap-align: start; }

.tv-card {
    display: flex;
    flex: 0 0 224px;
    flex-direction: column !important;
    width: 224px;
    margin: 0 20px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    text-align: left;
    cursor: pointer;
}

.tv-card-image {
    position: relative;
    display: block;
    flex: none;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 1.39vh;
    background-color: #20212a;
    background-position: center;
    background-size: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}

.tv-card-image > img[data-joj-home-asset] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-card-badge {
    position: absolute;
    z-index: 1;
    top: .74vh;
    right: .74vh;
    padding: .28vh .74vh;
    border-radius: .46vh;
    background: #f0314a;
    color: #fff;
    font: 600 1.3vh/1.2 Montserrat, Arial, sans-serif;
}

.tv-card-image::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0, 0, 0, .72));
    content: "";
}

.tv-card:focus .tv-card-image,
.tv-card:hover .tv-card-image {
    box-shadow: 0 0 0 .46vh var(--accent-main);
}

.tv-card-title {
    display: block;
    width: 100%;
    margin-top: 11px;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tv-card-meta {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary, #a4a4a4);
    font-size: 12px;
}

.tv-row[data-kind="landscape"] .tv-card { flex-basis: 292px; width: 292px; }
.tv-row[data-kind="landscape"] .tv-card-image { height: 164px; }

.tv-progress {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 9px;
    left: 10px;
    height: 3px;
    background: rgba(255, 255, 255, .55);
}

.tv-progress-fill { display: block; height: 3px; background: var(--accent-main, #e32373); }

#tv-detail {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row !important;
    align-items: flex-end;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .85);
}

#tv-detail-panel {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column !important;
    width: 66.667vw;
    height: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: var(--surface-page, #090a0f);
    box-shadow: 0 0 48px rgba(0, 0, 0, .55);
}

#tv-detail-header {
    position: relative;
    display: flex;
    flex: 0 0 71.43vh;
    flex-direction: column !important;
    justify-content: flex-end;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    background-color: #111219;
    transition: flex-basis 300ms ease, height 300ms ease;
}

#tv-detail-header::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, #090a0f 0%, rgba(9, 10, 15, .84) 18%, rgba(9, 10, 15, .08) 75%),
        linear-gradient(90deg, rgba(9, 10, 15, .48), transparent 75%);
    content: "";
}

#tv-detail-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column !important;
    align-items: flex-start;
    width: 82%;
    margin: 0 0 40px 48px;
}

#tv-detail-title { display: block; margin: 0 0 12px; color: #fff; font-size: 48px !important; font-weight: 700; line-height: 1.08; }
#tv-detail-collapsed-title { display: none; position: absolute; z-index: 2; top: 21px; left: 88px; max-width: 75%; overflow: hidden; color: #fff; font-size: 24px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
#tv-detail-meta { display: block; margin-bottom: 12px; color: #e5e5e9; font-size: 16px; }
#tv-detail-genres { display: block; margin-bottom: 10px; color: #e2e2e5; font-size: 14px; }
#tv-detail-description { display: block; max-width: 820px; margin-bottom: 18px; color: #e2e2e5; font-size: 16px; line-height: 1.5; }



#tv-detail-content { display: flex; flex: 1 1 auto; flex-direction: row !important; min-height: 0; width: 100%; padding: 18px 30px 24px; overflow: hidden; background: #090a0f; }
#tv-detail-episode-content, #tv-detail-related-content { display: flex; flex: 3 1 0; flex-direction: column !important; min-width: 0; height: 100%; overflow-x: hidden; overflow-y: auto; }
#tv-detail-seasons { display: flex; flex: 1 1 0; flex-direction: column !important; align-items: stretch; min-width: 150px; max-width: 245px; height: 100%; padding-left: 18px; overflow-x: hidden; overflow-y: auto; }
.tv-detail-episode-row { width: 100%; margin: 0 0 12px; }
.tv-detail-episode-row .tv-row-title { display: none; }
.tv-detail-episode-row .tv-cards { display: flex; flex-direction: column !important; width: 100%; padding: 0; overflow: visible; }
.tv-detail-episode-row .tv-card { display: flex; flex-direction: row !important; align-items: stretch; width: 100%; min-height: 128px; flex: none; margin: 0 0 10px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: rgba(255,255,255,.035); }
.tv-detail-episode-row .tv-card:focus { border-color: #fff; background: rgba(255,255,255,.12); outline: 2px solid #fff; outline-offset: 1px; }
.tv-detail-episode-row .tv-card-image { position: relative; width: 205px; height: 116px; flex: 0 0 205px; border-radius: 0; }
.tv-detail-episode-row .tv-card-title, .tv-detail-episode-row .tv-card-meta, .tv-detail-episode-row .tv-card-description { display: block; max-width: 100%; margin: 12px 16px 0; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.tv-detail-episode-row .tv-card-title { font-size: 17px; font-weight: 700; }
.tv-detail-episode-row .tv-card-meta { margin-top: 6px; color: #b8bac4; font-size: 12px; }
.tv-detail-episode-row .tv-card-description { display: -webkit-box; margin-top: 7px; color: #d0d1d6; font-size: 12px; line-height: 1.4; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tv-detail-episode-row .tv-progress { right: auto; bottom: 8px; left: 8px; width: 189px; }
.tv-related-card { flex-basis: 190px; width: 190px; margin-right: 16px; }
#app.detail-content-active #tv-detail-header { flex-basis: 70px; min-height: 70px; }
#app.detail-content-active #tv-detail-copy { display: none; }
#app.detail-content-active #tv-detail-collapsed-title { display: block; }
#app.detail-content-active #tv-detail-back { top: 11px; left: 20px; }
#app.player-open #tv-main { z-index: 10; left: 0; }
#app.player-open #tv-detail { z-index: 5; }
#tv-series, #tv-profile, #tv-profiles { display: flex; flex-direction: column !important; width: 100%; height: 100%; padding: 64px 68px; overflow: auto; }
#tv-series-header, #tv-profile-heading { display: flex; flex-direction: column !important; flex: none; max-width: 900px; margin-bottom: 28px; }
#tv-series-title { margin-bottom: 14px; font-size: 42px !important; font-weight: 700; }
#tv-series-meta, #tv-profile-email { margin-bottom: 12px; color: #c6c7ce; font-size: 16px; }
#tv-profile { padding: 12.04vh 5vw 100px 13.75vw; scrollbar-width: none; }
#exact-root #app #tv-profile-title { margin-bottom: 36px; font-size: 48px; font-weight: 700; line-height: 1.2; }
#tv-profile-identity { align-items: center; gap: 2.5vw; }
#tv-profile-avatar {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    justify-content: center;
    align-items: center;
    border: 2px solid #3e434e;
    border-radius: 50%;
    corner-shape: round;
    font: 600 36px Montserrat, Arial, sans-serif;
}
#tv-profile-name { font-size: 24px; font-weight: 700; text-transform: uppercase; }
#tv-profile-email { font-size: 22px; }
#tv-profile-actions { gap: 8px; }
#tv-series-description { margin-bottom: 20px; color: #e2e2e5; font-size: 17px; line-height: 1.5; }
#tv-series-seasons { display: flex; flex-direction: row !important; flex: none; flex-wrap: nowrap; margin-bottom: 20px; }
#tv-series-episodes, #tv-profile-rows { flex: none; }
#tv-profile-rows .tv-row { margin-bottom: 80px; }
#tv-profile-rows .tv-row-title {
    color: #c6c7ce;
    font-size: 18px;
    text-transform: uppercase;
}
#tv-profile-rows .tv-row[data-kind="landscape"] .tv-card {
    flex-basis: 20.833vw;
    width: 20.833vw;
    margin-right: 1.5625vw;
}
#tv-profile-rows .tv-row[data-kind="landscape"] .tv-card-image { height: 12.083vw; }
#tv-profile-rows .tv-card-title { font-weight: 700; }
#tv-profile-subscription { display: flex; flex-direction: column !important; align-items: flex-start; margin: 18px 0; }
#exact-root #app #tv-profile-subscription-title { margin-bottom: 32px; font-size: 32px; font-weight: 700; line-height: 1.2; }
#tv-profile-subscription-card {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    width: min(100%, 72.5vw);
    min-height: 13.24vh;
    padding: 2vh 2.1vw;
    border: 1px solid #3e434e;
    border-radius: 16px;
}
#tv-profile-subscription-text { font: 700 24px Montserrat, Arial, sans-serif; text-transform: uppercase; }
#tv-profile-plan-description { margin-top: 6px; color: #c6c7ce; font-size: 22px; }
#app:is(.account-open, .profiles-open) #tv-main { left: 0; }
#app.profiles-open #tv-rail { visibility: hidden; }
#tv-profiles {
    --button-rest: #24252d;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 96px;
}
#tv-profiles-logo {
    position: absolute;
    z-index: 31;
    top: 3.52vh;
    left: 2.083vw;
    width: 13.89vh;
    height: 4.63vh;
}
#tv-profiles-list { display: flex; flex-direction: row !important; flex-wrap: wrap; justify-content: center; margin: 32px 0; }
#tv-profiles-actions { align-items: center; gap: 12px; }
#exact-root #app #tv-profiles-back,
#exact-root #app #tv-profile-editor-back { position: absolute; top: 3.61vh; left: calc(2.083vw + 17.3vh); }
#exact-root #app :is(#tv-profile-editor, #tv-commerce) { display: none; position: absolute; inset: 0; z-index: 30; padding: 96px 48px 48px; align-items: center; justify-content: center; gap: 20px; background: #111219; }
#exact-root #app.profile-editor-open #tv-profile-editor, #exact-root #app.commerce-open #tv-commerce { display: flex; }
#app.profile-editor-open :is(#tv-profiles-list, #tv-profiles-actions) { visibility: hidden; }
#exact-root #app #tv-profile-editor {
    justify-content: flex-start;
    gap: 0;
    padding: 34.25vh 0 0;
    background: var(--tv-app-gradient);
}
#tv-commerce-title { font-size: 42px !important; text-align: center; }
#exact-root #app #tv-profile-editor-title { font: 500 4.444vh/1.2 Montserrat, Arial, sans-serif; }
#tv-profile-editor-step,
#tv-profile-editor-intro,
#tv-profile-editor-survey {
    margin-top: .74vh;
    color: #bcb7bf;
    font: 500 2.222vh/1.3 Montserrat, Arial, sans-serif;
}
#tv-profile-editor-intro { margin-top: 3.5vh; }
#tv-profile-editor :empty:is(#tv-profile-editor-step, #tv-profile-editor-survey, #tv-profile-editor-status, #tv-profile-editor-choices) { display: none; }
#exact-root #app #tv-profile-editor-name {
    box-sizing: border-box;
    width: 41.67vh;
    max-width: 90vw;
    height: 5.56vh;
    margin: 3.55vh 0 2.13vh;
    padding: 0 2.22vh;
    border: 2px solid #3e434e;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: 500 2.22vh Arial, sans-serif;
}
#exact-root #app #tv-profile-editor-name:focus { border-color: #f0314a; outline: none; }
#tv-profile-editor #tv-profile-editor-status { margin: 0 0 1vh; }
#tv-profile-editor-choices, #tv-commerce-offers { display: flex; align-items: center; gap: 14px; max-height: 50vh; overflow: auto; }
#tv-profile-editor-choices { flex-direction: row !important; margin: 2vh 0; }
#tv-profile-editor-status, #tv-commerce-status { text-align: center; max-width: 800px; min-height: 20px; }
#tv-profile-editor-status { color: #ff8994; }
#tv-commerce-qr img { display: block; width: 260px; height: 260px; padding: 10px; background: white; object-fit: contain; }
#exact-root #app :is(#tv-profile-editor, #tv-commerce) [hidden] { display: none !important; }
#exact-root #app #tv-commerce {
    position: fixed;
    padding: 8vh 0 0;
    background: linear-gradient(#030412, #1c1126);
}
#tv-commerce-header {
    position: absolute;
    top: 3.7vh;
    left: 2.083vw;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 2vw;
}
#tv-commerce-header > img { width: 13.89vh; height: 4.63vh; }
#exact-root #app #tv-commerce-header #tv-commerce-back { position: static; background: #24252d; }
#exact-root #app #tv-commerce-header #tv-commerce-back:focus { background: #24252d; }
#tv-commerce.show-offers #tv-commerce-title { display: none; }
#tv-commerce.show-offers #tv-commerce-status {
    position: absolute;
    top: 17vh;
}
#tv-commerce.show-offers #tv-commerce-offers {
    position: absolute;
    top: 21.3vh;
    left: 0;
    width: 100%;
    max-height: none;
    flex-direction: row !important;
    align-items: stretch;
    gap: 1.25vw;
    padding: 0 2.3vw 1.5vh;
    overflow: auto;
    scrollbar-width: none;
}
#tv-commerce-offers::-webkit-scrollbar { display: none; }
#tv-commerce-offers > button {
    display: flex;
    flex: 0 0 18.1vw;
    flex-direction: column;
    min-height: 64vh;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 1.5vh;
    background: #181a1e;
    color: #fff;
    font: 500 1.48vh/1.45 Montserrat, Arial, sans-serif;
}
#tv-commerce-offers > button:focus { border-color: #f0314a; outline: none; }
.tv-offer-name {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 11.6vh;
    padding: 0 1vw;
    border-bottom: 2px solid #444;
    font-size: 2.22vh;
    text-transform: uppercase;
}
.tv-offer-benefits {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    gap: 1.48vh;
    width: 100%;
    padding: 2.96vh 1vw;
}
.tv-offer-price {
    display: block;
    width: 100%;
    padding: 2vh 1vw;
    border-top: 2px solid #444;
    font-weight: 700;
    text-transform: uppercase;
}
#app[data-profile-edit-mode] .tv-profile-card-avatar { position: relative; }
#app[data-profile-edit-mode] .tv-profile-card-avatar::after { content: "✎"; position: absolute; right: -4px; top: -4px; border-radius: 50%; background: white; width: 48px; height: 48px; display: grid; place-items: center; color: black; font-size: 24px; }
.tv-profile-card { display: flex; flex-direction: column !important; align-items: center; flex: 0 0 170px; min-height: 200px; padding: 10px; border: 0; outline: none; background: transparent; color: #fff; font: 700 24px Montserrat, Arial, sans-serif; }
.tv-profile-card-avatar {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    width: 157px;
    height: 157px;
    border: 3px solid transparent;
    border-radius: 50%;
    background: #0c0d10;
    color: #fff;
    font: 500 48px/1 Montserrat, Arial, sans-serif;
}
.tv-profile-card:focus .tv-profile-card-avatar {
    background: linear-gradient(#181a1e, #181a1e) padding-box, linear-gradient(130deg, #f0314a, #c21f71 58%, #4b00e7) border-box;
}
.tv-profile-card-name { margin-top: 10px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .6; }
.tv-profile-card:focus .tv-profile-card-name { opacity: 1; }
.tv-profile-card-selected { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

#tv-search {
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 56px;
    width: 100%;
    height: 100%;
    padding: 120px 40px 0 max(0px, calc(190px - var(--tv-rail-width)));
    overflow: hidden;
}

#tv-search-controls { flex: 0 0 288px; gap: 0; }
#exact-root #app #tv-search-heading { margin: 0 0 48px 10px; font: 700 48px/1.2 Montserrat, Arial, sans-serif; letter-spacing: .5px; }
#tv-search-keyboard {
    display: grid;
    grid-template-columns: repeat(6, 48px);
    grid-auto-rows: 56px;
}
#tv-search-keyboard-actions { justify-content: space-around; margin-top: 28px; }
#tv-search :is(#tv-search-keyboard, #tv-search-keyboard-actions, #tv-search-history) button {
    min-width: 0;
    min-height: 56px;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    outline: 0;
    background: transparent;
    color: inherit;
    font: 400 32px/1.15 Montserrat, Arial, sans-serif;
}
#tv-search #tv-search-keyboard button { padding: 0; text-align: center; }
#tv-search #tv-search-keyboard-actions button { font-size: 18px; text-transform: uppercase; }
#tv-search :is(#tv-search-keyboard, #tv-search-keyboard-actions, #tv-search-history) button:focus,
#tv-search-series-toggle:focus {
    background: linear-gradient(90deg, var(--button-gradient-start), var(--button-gradient-middle), var(--button-gradient-end));
}
#tv-search-history { margin-top: 32px; }
.tv-search-history-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
#tv-search #tv-search-history .tv-search-history-row button:first-child {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ffffff1a;
    font-size: 28px;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
#tv-search-history .tv-search-history-row button:last-child { opacity: 0; }
#tv-search-history .tv-search-history-row:focus-within button:last-child { opacity: 1; }
#tv-search-results-pane { flex: 0 1 69vw; min-width: 0; height: 100%; overflow: auto; scrollbar-width: none; }

#exact-root #app #tv-search-input {
    box-sizing: border-box;
    height: 71px;
    flex: none;
    width: 100%;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid #3e434e;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font: 700 48px/1.2 Montserrat, Arial, sans-serif;
    letter-spacing: .5px;
}
#exact-root #app #tv-search-input:placeholder-shown:not(:focus) { height: 13px; padding: 0; }

#exact-root #app #tv-search-status {
    margin-top: 48px;
    color: #ffffffb3;
    font: 400 32px/1.25 Montserrat, Arial, sans-serif;
    text-align: center;
}
#tv-search :is(#tv-search-series-heading, #tv-search-videos-heading) {
    margin: 32px 0 16px;
    color: #ffffffbf;
    font: 600 18px/1.2 Montserrat, Arial, sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
#tv-search :is(#tv-search-series-results, #tv-search-results) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 285px));
    justify-content: start;
    gap: 32px 16px;
    padding: 5px;
}
#tv-search :is(#tv-search-series-results, #tv-search-results) > .tv-card { width: 100%; margin: 0; }
#tv-search :is(#tv-search-series-results, #tv-search-results) .tv-card-image { height: auto; aspect-ratio: 285 / 149; }
#tv-search-series-toggle {
    min-height: 149px;
    border: 0;
    border-radius: 8px;
    background: #23262d;
    color: #fff;
    font: 600 22px Montserrat, Arial, sans-serif;
}

@media (max-width: 1500px) {
    #tv-search { gap: 32px; padding-top: 80px; padding-left: 32px; }
    #tv-search :is(#tv-search-series-results, #tv-search-results) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

#tv-player {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column !important;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

#tv-player-surface {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #08090d;
    pointer-events: none;
}

#tv-player-surface video { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
#app.player-open #tv-rail { display: none; }
#app.player-open #tv-main { left: 0; }
#app.player-open #tv-player { position: absolute; z-index: 10; }

#tv-player-osd {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column !important;
    justify-content: flex-end;
    padding: 5.6vh 3.35vw 8.6vh;
    background: linear-gradient(180deg, transparent 0%, transparent 46%, rgba(0,0,0,.28) 65%, rgba(0,0,0,.94) 100%);
    transition: opacity 180ms ease-out;
}

#player-top {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

#player-heading { display: flex; flex-direction: column !important; max-width: 70%; }
#tv-player-title { display: block; color: #fff; font: 700 clamp(24px, 2.5vw, 38px)/1.2 Montserrat, Arial, sans-serif; }
#player-channel { display: block; margin-top: 8px; color: rgba(255,255,255,.66); font: 500 15px Montserrat, Arial, sans-serif; }
#tv-back {
    display: inline-flex;
    flex-direction: row !important;
    flex: 0 0 auto;
    width: auto;
    min-width: 118px;
    height: 48px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 5px;
    background: rgba(12,13,18,.55);
    color: #fff;
    font: 600 15px Montserrat, Arial, sans-serif;
}
#tv-back img { display:block; width:21px; height:21px; flex:none; margin-right:10px; }
#tv-back:focus { border-color: #fff; background: #fff; color: #111; outline: 3px solid #fff; outline-offset: 3px; }

#player-bottom {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column !important;
    width: 100%;
}
#player-times {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    width: 100%;
    margin-bottom: 22px;
    color: rgba(255,255,255,.82);
    font: 500 15px/1 Montserrat, Arial, sans-serif;
}
#tv-player-current-time, #tv-player-duration { display: block; flex: 0 0 88px; width: 88px; }
#tv-player-current-time { text-align: left; }
#tv-player-duration { text-align: right; }
#tv-seek-bar {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    width: auto;
    height: 44px;
    margin: 0 18px;
    padding: 0;
    align-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
}
#player-timeline {
    position: relative;
    display: block;
    width: 100%;
    height: 4px;
    overflow: visible;
    border-radius: 3px;
    background: rgba(255,255,255,.36);
}
#tv-player-progress { display: block; height: 4px; border-radius: 3px; background: var(--accent-main, #e32373); }
#tv-player-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    display: block;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transform: translateX(0);
}
#tv-seek-bar:focus { outline: none; }
#tv-seek-bar:focus #player-timeline { height: 6px; background: rgba(255,255,255,.5); }
#tv-seek-bar:focus #tv-player-progress { height: 6px; }
#tv-seek-bar:focus #tv-player-thumb { opacity: 1; box-shadow: 0 0 0 4px rgba(255,255,255,.24); }

#player-controls {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
#player-primary-controls, #player-option-controls { display:flex; flex-direction:row !important; align-items:center; }
#tv-seek-back, #tv-toggle-playback, #tv-seek-forward {
    position: relative;
    z-index: 4;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row !important;
    width: 54px;
    height: 54px;
    margin: 0 12px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(255,255,255,.11);
    color: #fff;
    font: 600 16px Montserrat, Arial, sans-serif;
}
#tv-toggle-playback { width: 66px; height: 66px; border-color: #fff; background: #fff; color: #111; font-size: 26px; }
#tv-seek-back:focus, #tv-toggle-playback:focus, #tv-seek-forward:focus {
    border-color: #fff;
    outline: 3px solid #fff;
    outline-offset: 4px;
    box-shadow: 0 0 0 7px rgba(255,255,255,.22);
    transform: scale(1.06);
}

#player-center {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    display: none;
    width: 108px;
    height: 108px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,.58);
    color: #fff;
    font: 700 46px/1 Arial, sans-serif;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.92);
    opacity: 0;
    transition: opacity 160ms ease-out, transform 160ms ease-out;
}
#tv-player-feedback { display: block; color: inherit; font-size: inherit; }
#tv-player.show-feedback #player-center { display: flex; opacity: 1; transform: translate(-50%, -50%) scale(1); }
#tv-player-buffering {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    display: flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,.48);
    pointer-events: none;
    transform: translate(-50%, -50%);
}
#tv-player-buffering::after {
    width: 38px;
    height: 38px;
    border: 4px solid rgba(255,255,255,.32);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    animation: tv-osd-spin .8s linear infinite;
}
@keyframes tv-osd-spin { to { transform: rotate(360deg); } }
#tv-player-error {
    position: absolute;
    z-index: 7;
    top: 50%;
    left: 50%;
    display: block;
    width: 62vw;
    max-width: 820px;
    padding: 24px 30px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    background: rgba(9,10,15,.94);
    color: #fff;
    font: 500 18px/1.5 Montserrat, Arial, sans-serif;
    text-align: center;
    transform: translate(-50%, -50%);
}
#tv-player-buffering[hidden], #tv-player-error[hidden] { display: none !important; }
#tv-player.is-ad-playing #player-times, #tv-player.is-ad-playing #player-controls { visibility: hidden; }
#app.player-open.controls-hidden #tv-player-osd { opacity: 0; pointer-events: none; }

@media (max-width: 1500px), (max-height: 850px) {
    :root { --tv-rail-width: 100px; }
    #tv-rail { padding-top: 28px; }
    #tv-brand { height: 62px; }
    #tv-brand img { width: 72px; }
    #tv-nav { margin-top: 18px; }
    #tv-nav > button { height: 64px; margin-bottom: 8px; }
    #tv-rows { padding-left: 36px; }
    .tv-card { flex-basis: 150px; width: 150px; margin-right: 14px; }
    .tv-card-image { height: 214px; }
    .tv-row[data-kind="landscape"] .tv-card { flex-basis: 230px; width: 230px; }
    .tv-row[data-kind="landscape"] .tv-card-image { height: 130px; }
    .tv-row[data-focus-demo="netflix-anchor"] .tv-cards { padding-right: calc(100% - 150px); }
    #tv-detail-panel { width: 68vw; }
    #tv-detail-header { min-height: 320px; }
    #tv-detail-copy { width: 86%; margin-left: 32px; margin-bottom: 28px; }
    #tv-detail-title { font-size: 38px !important; }
    #tv-detail-content { padding: 14px 20px 18px; }
    #tv-detail-seasons { min-width: 132px; max-width: 185px; padding-left: 12px; }
    .tv-detail-episode-row .tv-card-image { width: 160px; height: 90px; flex-basis: 160px; }
    .tv-detail-episode-row .tv-card { min-height: 106px; }
    .tv-detail-episode-row .tv-progress { width: 144px; }
    #tv-detail-collapsed-title { top: 17px; font-size: 20px; }
    #app.detail-content-active #tv-detail-header { flex-basis: 60px; min-height: 60px; }
}

#exact-root #app #tv-pair { display:none!important; }
#exact-root #app:is(.pair-open, :not(.tv-auth-ready)) #tv-pair {
    position:absolute; inset:0; z-index:15; display:flex!important; align-items:center; justify-content:flex-start;
    flex-direction:column; padding-top:9.26vh; overflow-y:auto; background:#000; text-align:center;
}
#exact-root #app:is(.pair-open, :not(.tv-auth-ready)) > :not(#tv-pair) {display:none!important}
#exact-root #app #tv-pair > img { width:30.2vh; height:10.2vh; flex:none; object-fit:contain; }
#exact-root #app #tv-pair-qr { width:28.7vh; height:28.7vh; flex:none; align-items:center; justify-content:center; background:#fff; border-radius:1.48vh; overflow:hidden; }
#tv-pair-qr img {width:100%;height:100%;image-rendering:pixelated}
#exact-root #app #tv-pair :is(#tv-pair-heading, #tv-pair-code, #tv-auth-heading, #tv-auth-switch-label) {
    max-width:50.65vh; color:#aaa; font:400 2.96vh/1.2 Montserrat,Arial,sans-serif; text-align:center;
}
#exact-root #app #tv-pair :is(#tv-pair-heading, #tv-pair-code) { margin:3.7vh 0; }
#exact-root #app #tv-pair #tv-pair-code { min-height:3.56vh; margin-bottom:4.44vh; }
#exact-root #app #tv-pair button {
    flex:none; align-items:center; justify-content:center; min-height:7.78vh; padding:0 2.2vh; border:0;
    border-radius:999px; corner-shape:round; background:#22252c; color:#fff; font:750 2.59vh Montserrat,Arial,sans-serif; text-transform:uppercase;
}
#exact-root #app #tv-pair button:focus {
    background:linear-gradient(105deg,#de4550,#ea304f,#d92b5e,#be2476,#971b98,#660ec3,#2d00f5);
    outline:.28vh solid #f0314a; outline-offset:.32vh;
}
#exact-root #app #tv-pair-register { margin-top:3.5vh; }
#exact-root #app #tv-pair :is(#tv-auth-form, #tv-auth-back),
#exact-root #app #tv-pair[data-auth-mode] :is(#tv-pair-heading, #tv-pair-qr, #tv-pair-code, #tv-pair-manual, #tv-pair-register) {
    display:none!important;
}
#exact-root #app #tv-pair[data-auth-mode] #tv-auth-form {
    display:flex!important; align-items:center; flex:none; width:50.65vh; padding-bottom:2.78vh;
}
#exact-root #app #tv-pair[data-auth-mode] #tv-auth-back {
    position:absolute; top:3.61vh; left:3.61vh; display:flex!important; flex-direction:row; gap:1vh;
    min-height:4.44vh; padding:0 2.4vh; font-size:1.48vh;
}
#exact-root #app #tv-auth-form #tv-auth-heading { margin:3.7vh 0 3vh; color:#777; }
#exact-root #app #tv-auth-form input {
    box-sizing:border-box; width:100%; height:5.56vh; flex:none; margin-bottom:2.22vh; padding:0 2.22vh; border:1px solid #fff;
    border-radius:3.704vh; corner-shape:round; background:#000; color:#fff; font:500 2.22vh Arial,sans-serif;
}
#exact-root #app #tv-auth-form input::placeholder { color:#aaa; }
#exact-root #app #tv-auth-form input:focus { border-color:#f0314a; box-shadow:inset 0 0 0 1px #f0314a; outline:none; }
#exact-root #app #tv-auth-form #tv-auth-submit { margin-top:.55vh; }
#exact-root #app #tv-auth-form #tv-auth-status { margin-top:1vh; color:#f65a65; font:600 2vh Montserrat,Arial,sans-serif; }
#exact-root #app #tv-auth-form #tv-auth-status:empty { display:none; }
#exact-root #app #tv-auth-form #tv-auth-switch-label { margin:5.9vh 0 2.96vh; color:#777; }

#exact-root #app #tv-rail {
    width: var(--tv-rail-width);
    padding: 2.963vh 1.042vw 3.7vh;
    align-items: flex-start;
    justify-content: space-between;
    background: transparent;
    transition: width 180ms ease;
}
#exact-root #app #tv-rail:focus-within {
    width: min(38vw, 600px);
    z-index: 8;
    background: linear-gradient(90deg, #000 50%, transparent);
}
#exact-root #app #tv-brand {
    justify-content: flex-start;
    height: 4.63vh;
    margin-left: 1.042vw;
}
#exact-root #app #tv-brand img { flex: none; width: 13.89vh; height: 100%; }
#exact-root #app #tv-nav {
    min-height: 0;
    flex: 0 1 auto;
    margin: 1.85vh 0;
    gap: 1.85vh;
    overflow: visible;
    width: 100%;
    scrollbar-width: none;
}
#exact-root #app #tv-nav-account {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 1.85vh;
    width: 100%;
}
#exact-root #app #tv-rail button {
    display: flex;
    flex: none;
    flex-direction: row !important;
    justify-content: flex-start;
    align-items: center;
    gap: 1.042vw;
    width: 7.78vh;
    min-width: 0;
    height: 4.444vh;
    margin: 0;
    padding: 0 2.407vh;
    border: 0;
    border-radius: 100px;
    color: #dedee3;
    background: transparent;
    font: 700 1.48vh Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}
#exact-root #app #tv-rail button > img {
    flex: none;
    width: 1.852vh;
    height: 1.852vh;
    margin: 0;
}
#exact-root #app #tv-rail button > :last-child { visibility: hidden; }
#exact-root #app #tv-rail:focus-within button > :last-child { visibility: visible; }
#exact-root #app #tv-rail:focus-within button { width: min(100%, 360px); }
#exact-root #app #tv-rail button[aria-current="page"],
#exact-root #app #tv-rail button:focus { color: #111; background: #fff; outline: 0; }
#exact-root #app #tv-rail button[aria-current="page"] > img,
#exact-root #app #tv-rail button:focus > img { filter: brightness(0); }
#exact-root #app #tv-nav [aria-current="page"]::before { display: none; }
#exact-root #app #nav-profile-avatar {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.59vh;
    height: 2.59vh;
    border-radius: 50%;
}
#exact-root #app #nav-profile-avatar img { width: 65%; height: 65%; }
#exact-root #app #nav-profile-initials:not(:empty) {
    position: absolute;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background: transparent;
    border-radius: 50%;
}
#exact-root #app #nav-profile[aria-current="page"] #nav-profile-initials,
#exact-root #app #nav-profile:focus #nav-profile-initials { color: #111; }
@media (prefers-reduced-motion: reduce) { #exact-root #app #tv-rail { transition: none; } }

/* The Expo TV Button has a pill surface and a separate remote-focus ring. */
#exact-root #app button[data-control] {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    flex: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: var(--tv-button-height, 48px);
    min-height: 0;
    margin: 0;
    padding: 0 24px;
    overflow: visible;
    border: 0;
    border-radius: 999px;
    corner-shape: round;
    outline: none;
    box-shadow: none;
    background: var(--button-rest);
    color: var(--button-ink);
    font: 700 var(--tv-button-size, 16px)/1.15 Montserrat, Arial, sans-serif;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
#exact-root #app button[data-control] > [data-exact-text] {
    color: inherit;
    font: inherit;
    text-transform: inherit;
}
#exact-root #app button[data-control] > img {
    flex: none;
    display: block;
    margin-right: 8px;
}
#exact-root #app button[data-control]::before { content: none; }
#exact-root #app button[data-control].is-active {
    background: var(--button-selected);
    color: var(--button-selected-ink);
}
#exact-root #app button[data-control]:focus {
    background: linear-gradient(97.35deg, var(--button-gradient-start) 7%, var(--button-gradient-middle) 48%, var(--button-gradient-end) 100%);
    color: var(--button-ink);
    outline: 4px solid var(--button-focus);
    outline-offset: 3px;
}
#exact-root #app button[data-control]:disabled { opacity: .55; }
#exact-root #app #tv-actions, #exact-root #app #tv-detail-actions, #exact-root #app #tv-detail-tabs {
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
#exact-root #app #tv-actions button + button,
#exact-root #app #tv-detail-actions button + button,
#exact-root #app #tv-detail-tabs button + button { margin-left: 16px; }
#exact-root #app #tv-detail-tabs { margin-top: 22px; }
#exact-root #app #tv-detail-back {
    position: absolute;
    z-index: 3;
    top: 22px;
    left: 28px;
    padding: 0 18px;
}
#exact-root #app.detail-content-active #tv-detail-back { top: 10px; left: 20px; }
#exact-root #app.detail-content-active #tv-detail-collapsed-title { left: 150px; }
#exact-root #app #tv-detail-seasons button[data-control] {
    width: 100%;
    margin: 0 0 12px;
    padding: 0 12px;
    font-size: 14px;
}
#exact-root #app #tv-detail-seasons { padding: 6px 7px 0 17px; }
#exact-root #app #tv-pair button[data-control] { min-width: 40vh; --tv-button-height: 7.6vh; --tv-button-size: 2.5vh; }
#exact-root #app #tv-profile-actions, #exact-root #app #tv-profiles-actions, #exact-root #app #tv-series-actions { gap: 16px; }

@media (max-width: 959px) {
    #exact-root #app #tv-detail-copy { width: calc(100% - 64px); }
    #exact-root #app #tv-detail-actions button[data-control],
    #exact-root #app #tv-detail-tabs button[data-control] {
        --tv-button-height: 40px;
        --tv-button-size: 13px;
        margin: 0 12px 8px 0;
        padding: 0 14px;
    }
    #exact-root #app #tv-detail-actions button img { width: 18px; height: 18px; }
}

#tv-detail-empty {
    display: block;
    max-width: 700px;
    margin: auto;
    padding: 24px;
    color: #c6c7ce;
    font: 500 18px/1.5 Montserrat, Arial, sans-serif;
    text-align: center;
}
#tv-detail-related-content {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 8px 0;
}
#tv-detail-related-content .tv-related-card {
    flex: 0 0 190px;
    width: 190px;
    margin: 0 14px 18px 0;
}

#tv-detail-actors {
    flex: 1;
    min-width: 0;
    overflow: auto;
    scrollbar-width: none;
}
#tv-detail-actor-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 16px;
    padding: 6px;
}
#tv-detail-actors .tv-card { align-items: center; width: 100%; margin: 0; }
#tv-detail-actors .tv-card-image {
    display: grid;
    place-items: center;
    width: min(100%, 13.89vh);
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    font-size: 4vh;
}
#tv-detail-actors .tv-card-image::after { content: none; }
#tv-detail-actors .tv-card-copy { text-align: center; }
#tv-detail-tag-status, #tv-detail-actors-status { padding: 24px; }


/* Episode copy stays in one readable column beside its landscape thumbnail. */
#exact-root #app.detail-open .tv-detail-episode-row .tv-card-copy {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 10px 18px !important;
    overflow: hidden !important;
}
#exact-root #app.detail-open .tv-detail-episode-row .tv-card-copy > .tv-card-title,
#exact-root #app.detail-open .tv-detail-episode-row .tv-card-copy > .tv-card-meta,
#exact-root #app.detail-open .tv-detail-episode-row .tv-card-copy > .tv-card-description {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
}
#exact-root #app.detail-open .tv-detail-episode-row .tv-card-copy > .tv-card-title {
    flex: 0 0 auto !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}
#exact-root #app.detail-open .tv-detail-episode-row .tv-card-copy > .tv-card-meta {
    flex: 0 0 auto !important;
    margin-top: 5px !important;
    color: #b8bac4 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}
#exact-root #app.detail-open .tv-detail-episode-row .tv-card-copy > .tv-card-description {
    display: -webkit-box !important;
    flex: 0 1 auto !important;
    margin-top: 6px !important;
    overflow: hidden !important;
    color: #d0d1d6 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


#exact-root #app.detail-open .tv-detail-episode-row .tv-card-copy > [hidden] {
    display: none !important;
}

/* Exact emits button component defaults with stronger sizing than plain id rules. */
#exact-root #app.player-open #tv-player button#tv-back {
    display:inline-flex !important; flex:0 0 auto !important; flex-direction:row !important;
    width:52px !important; min-width:52px !important; max-width:52px !important;
    height:52px !important; min-height:52px !important; max-height:52px !important;
    margin:0 !important; padding:0 !important; align-items:center !important; justify-content:center !important;
    border:1px solid rgba(255,255,255,.48) !important; border-radius:50% !important;
    background:rgba(12,13,18,.55) !important; color:#fff !important;
    font:600 15px Montserrat,Arial,sans-serif !important;
}
#exact-root #app.player-open #tv-player button#tv-seek-back,
#exact-root #app.player-open #tv-player button#tv-toggle-playback,
#exact-root #app.player-open #tv-player button#tv-seek-forward,
#exact-root #app.player-open #tv-player button#tv-audio-selector,
#exact-root #app.player-open #tv-player button#tv-subtitle-selector,
#exact-root #app.player-open #tv-player button#tv-quality-selector {
    display:inline-flex !important; flex:0 0 auto !important; flex-direction:row !important;
    width:54px !important; min-width:54px !important; max-width:54px !important;
    height:54px !important; min-height:54px !important; max-height:54px !important;
    margin:0 12px !important; padding:0 !important; align-items:center !important; justify-content:center !important;
    border:1px solid rgba(255,255,255,.28) !important; border-radius:50% !important;
    background:rgba(255,255,255,.11) !important; color:#fff !important;
    font:600 15px Montserrat,Arial,sans-serif !important;
}
#exact-root #app.player-open #tv-player button#tv-toggle-playback {
    width:66px !important; min-width:66px !important; max-width:66px !important;
    height:66px !important; min-height:66px !important; max-height:66px !important;
    border-color:#fff !important; background:#fff !important;
}
#exact-root #app.player-open #tv-player button#tv-seek-back img,
#exact-root #app.player-open #tv-player button#tv-seek-forward img { width:32px !important; height:36px !important; }
#exact-root #app.player-open #tv-player button#tv-toggle-playback img { width:26px !important; height:26px !important; }
#exact-root #app.player-open #tv-player button#tv-back img { width:21px !important; height:21px !important; margin:0 !important; }
#exact-root #app.player-open #tv-player button#tv-toggle-playback img { filter:brightness(0) !important; }
#exact-root #app.player-open #tv-player button#tv-audio-selector img,
#exact-root #app.player-open #tv-player button#tv-subtitle-selector img,
#exact-root #app.player-open #tv-player button#tv-quality-selector img { width:24px !important; height:24px !important; }
#exact-root #app.player-open #tv-player button#tv-back:focus,
#exact-root #app.player-open #tv-player button#tv-seek-back:focus,
#exact-root #app.player-open #tv-player button#tv-toggle-playback:focus,
#exact-root #app.player-open #tv-player button#tv-seek-forward:focus,
#exact-root #app.player-open #tv-player button#tv-audio-selector:focus,
#exact-root #app.player-open #tv-player button#tv-subtitle-selector:focus,
#exact-root #app.player-open #tv-player button#tv-quality-selector:focus {
    outline:3px solid #fff !important; outline-offset:4px !important;
    box-shadow:0 0 0 7px rgba(255,255,255,.22) !important; transform:scale(1.06);
}
#player-option-controls { margin-left:auto; }
#tv-media-option-menus { position:absolute; z-index:10; right:3.35vw; bottom:24vh; display:flex; flex-direction:column !important; align-items:flex-end; }
#tv-audio-menu, #tv-subtitle-menu, #tv-quality-menu {
    display:flex; flex-direction:column !important; min-width:300px; max-height:42vh; margin-top:12px; padding:18px;
    overflow-y:auto; border:1px solid rgba(255,255,255,.18); border-radius:8px;
    background:rgba(14,15,20,.97); box-shadow:0 12px 48px rgba(0,0,0,.5); color:#fff;
}
#tv-audio-menu-title, #tv-subtitle-menu-title, #tv-quality-menu-title { display:block; margin-bottom:10px; font:700 17px Montserrat,Arial,sans-serif; }
#tv-audio-options, #tv-subtitle-options, #tv-quality-options { display:flex; flex-direction:column !important; }
.tv-player-option { display:flex; flex-direction:row !important; width:100%; min-height:46px; margin:2px 0; padding:0 14px; align-items:center; justify-content:flex-start; border:1px solid transparent; border-radius:5px; background:transparent; color:#fff; font:500 15px Montserrat,Arial,sans-serif; text-align:left; }
.tv-player-option[aria-checked="true"] { color:#fff; }
#exact-root #app.player-open #tv-player .tv-player-option:focus { border-color:#fff; background:rgba(255,255,255,.14); outline:2px solid #fff; outline-offset:1px; }
#tv-media-option-menus [hidden], #tv-player-option-template[hidden] { display:none !important; }
#exact-root #app.player-open #tv-player button#tv-audio-selector[hidden],
#exact-root #app.player-open #tv-player button#tv-subtitle-selector[hidden],
#exact-root #app.player-open #tv-player button#tv-quality-selector[hidden] { display:none !important; }
#exact-root #app.player-open #tv-player #tv-player-osd {
    position:absolute !important; top:0 !important; right:0 !important; bottom:0 !important; left:0 !important;
    display:flex !important; flex-direction:column !important; justify-content:flex-end !important;
    width:100% !important; height:100% !important;
    padding:5.6vh 3.35vw 8.6vh !important;
    background:linear-gradient(180deg,transparent 0%,transparent 46%,rgba(0,0,0,.28) 65%,rgba(0,0,0,.94) 100%) !important;
}
#exact-root #app.player-open #tv-player #player-top {
    display:flex !important; flex:0 0 auto !important; flex-direction:row !important;
    align-items:flex-end !important; justify-content:space-between !important; margin-bottom:24px !important;
}
#exact-root #app.player-open #tv-player #player-bottom { display:flex !important; flex:0 0 auto !important; flex-direction:column !important; width:100% !important; }
#exact-root #app.player-open #tv-player #player-times { display:flex !important; flex-direction:row !important; align-items:center !important; width:100% !important; }
#exact-root #app.player-open #tv-player #player-controls { display:flex !important; flex-direction:row !important; align-items:center !important; justify-content:space-between !important; width:100% !important; }
#exact-root #app.player-open #tv-player #player-primary-controls,
#exact-root #app.player-open #tv-player #player-option-controls { display:flex !important; flex:0 0 auto !important; flex-direction:row !important; align-items:center !important; }
#exact-root #app.player-open #tv-player button#tv-seek-bar {
    display:flex !important; flex:1 1 auto !important; flex-direction:row !important;
    width:auto !important; min-width:0 !important; height:44px !important; min-height:44px !important;
    margin:0 18px !important; padding:0 !important; align-items:center !important;
    border:0 !important; border-radius:0 !important; background:transparent !important;
}
#exact-root #app.player-open #tv-player button#tv-seek-bar:focus {
    outline: none !important;
    box-shadow: none !important;
}
#exact-root #app.player-open #tv-player button#tv-back:focus img { filter:brightness(0); }
#exact-root #app.player-open #tv-media-option-menus [role="menu"] {
    box-sizing:border-box; padding:16px; min-width:300px;
}
#exact-root #app.player-open .tv-player-option[aria-checked="true"]::after {
    content:""; width:8px; height:14px; margin-left:auto; margin-right:4px;
    border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(45deg);
}
#exact-root #app.player-open #tv-player #player-heading { display:flex !important; flex-direction:column !important; align-items:flex-start !important; }
#exact-root #app.player-open #tv-player button#tv-back:focus { background:#fff !important; color:#111 !important; }
@media (max-width: 1500px), (max-height: 850px) {
    #exact-root #app.player-open #tv-player #tv-player-osd { padding:4.6vh 3.4vw 7vh !important; }
    #tv-player-title { font-size:26px; }
    #player-channel { font-size:13px; }
    #player-top { margin-bottom:16px; }
    #player-times { margin-bottom:14px; }
    #tv-media-option-menus { bottom:25vh; }
}

#exact-root #app #tv-main #tv-guide {
    display:flex !important; flex-direction:column !important; width:100%; height:100%; min-height:0;
    padding:44px 48px 34px; overflow:hidden; background:#090a0f;
}
#exact-root #app #tv-main #tv-guide[hidden],
#exact-root #app #tv-main #tv-guide [hidden] { display:none !important; }
#exact-root #app #tv-guide-header {
    display:flex !important; flex:0 0 auto; flex-direction:row !important; align-items:center; gap:14px; margin-bottom:18px;
}
#tv-guide-heading { display:flex; flex:1 1 auto; flex-direction:column !important; }
#tv-guide-title { display:block; margin-bottom:5px; font-size:34px !important; font-weight:700; }
#tv-guide-subtitle { color:#aeb0bb; font-size:13px; }
#exact-root #app #tv-guide-prev-day,
#exact-root #app #tv-guide-next-day {
    display:flex !important; flex:0 0 auto; min-width:54px; height:48px; padding:0 15px; align-items:center; justify-content:center;
    border:1px solid rgba(255,255,255,.18); border-radius:7px; background:rgba(255,255,255,.06); color:#fff;
    font:600 14px Montserrat,Arial,sans-serif;
}
#exact-root #app #tv-guide-prev-day,
#exact-root #app #tv-guide-next-day { min-width:48px; font-size:25px; }
#exact-root #app #tv-guide-prev-day:focus,
#exact-root #app #tv-guide-next-day:focus { outline:2px solid #fff; outline-offset:2px; background:rgba(255,255,255,.16); }
#tv-guide-date { display:block; margin:0 4px; color:#fff; font-size:16px; font-weight:600; text-transform:capitalize; }
#tv-guide-status { display:block; flex:none; min-height:24px; margin-bottom:8px; color:#d5d6dc; font-size:14px; }
#exact-root #app #tv-guide-retry { display:flex; flex:none; align-self:flex-start; margin:0 0 14px; padding:10px 18px; border:1px solid rgba(255,255,255,.28); border-radius:6px; background:#24252d; color:#fff; font:600 14px Montserrat,Arial,sans-serif; }
#tv-guide-retry:focus { outline:2px solid #fff; outline-offset:2px; }
#exact-root #app #tv-guide-content { display:flex !important; flex:1 1 auto; flex-direction:row !important; min-height:0; gap:22px; }
#exact-root #app #tv-guide-rows { display:flex !important; flex:1 1 auto; flex-direction:column !important; min-width:0; overflow-x:hidden; overflow-y:auto; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.24) transparent; }
.tv-guide-row { display:flex; flex:0 0 76px; flex-direction:row !important; align-items:stretch; min-width:0; border-bottom:1px solid rgba(255,255,255,.08); }
.tv-guide-channel { display:flex; flex:0 0 148px; flex-direction:column !important; align-items:flex-start; justify-content:center; padding:8px 14px 8px 2px; }
.tv-guide-channel-image { display:block; width:70px; height:36px; margin-bottom:4px; object-fit:contain; object-position:left center; }
.tv-guide-channel-title { display:block; max-width:140px; overflow:hidden; color:#cfd0d6; font-size:12px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.tv-guide-programs { display:flex; flex:1 1 auto; flex-direction:row !important; min-width:0; overflow-x:auto; overflow-y:hidden; gap:7px; padding:8px 6px 8px 0; scrollbar-width:none; }
.tv-guide-programs::-webkit-scrollbar { display:none; }
#exact-root #app .tv-guide-program {
    display:flex !important; flex:0 0 auto; flex-direction:column !important; align-items:flex-start; justify-content:center; min-width:176px; max-width:360px;
    min-height:58px; padding:8px 12px; overflow:hidden; border:1px solid transparent; border-radius:6px; background:rgba(255,255,255,.055);
    color:#fff; font:500 13px Montserrat,Arial,sans-serif; text-align:left; cursor:pointer;
}
.tv-guide-program-time { display:block; margin-bottom:5px; color:#aeb0bb; font-size:11px; white-space:nowrap; }
.tv-guide-program-title { display:block; max-width:100%; overflow:hidden; font-size:13px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
#exact-root #app .tv-guide-program.is-current { border-color:var(--accent-main,#e32373); background:rgba(227,35,115,.2); }
#exact-root #app .tv-guide-program.is-selected { box-shadow:inset 0 0 0 2px #fff; }
#exact-root #app .tv-guide-program:focus { outline:2px solid #fff; outline-offset:1px; background:rgba(255,255,255,.16); }
.tv-guide-empty-channel { display:flex; flex:none; align-items:center; color:#858792; font-size:12px; }
#exact-root #app #tv-guide-info { display:flex !important; flex:0 0 265px; flex-direction:column !important; align-self:flex-start; max-height:100%; min-height:180px; padding:16px; overflow-x:hidden; overflow-y:auto; border:1px solid rgba(255,255,255,.1); border-radius:8px; background:rgba(255,255,255,.035); }
#tv-guide-info-image { display:block; width:100%; height:118px; margin-bottom:12px; border-radius:4px; object-fit:cover; background:#1c1d25; }
#tv-guide-info-channel { display:block; margin-bottom:6px; color:#b8bac4; font-size:12px; }
#tv-guide-info-title { display:block; margin-bottom:7px; font-size:18px; font-weight:700; line-height:1.25; }
#tv-guide-info-time { display:block; margin-bottom:10px; color:#dedfe4; font-size:12px; }
#tv-guide-info-description { display:block; color:#bfc0c8; font-size:12px; line-height:1.45; }

#exact-root #app #tv-live-edge { align-self: center; width: auto; margin-bottom: 18px; padding: 8px 22px; border-radius: 8px; color: white; }
#exact-root #app #tv-live-edge[hidden] { display: none !important; }







