/* V4: scoped to non-approved surfaces. Login and product-player keep V3 CSS. */
@font-face{font-family:'YAYOMS Plex';src:url('../assets/fonts/ibm-plex-sans-arabic-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'YAYOMS Plex';src:url('../assets/fonts/ibm-plex-sans-arabic-medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'YAYOMS Plex';src:url('../assets/fonts/ibm-plex-sans-arabic-semibold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'YAYOMS Plex';src:url('../assets/fonts/ibm-plex-sans-arabic-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
.tv-shell,.tv-shell button,.tv-shell input,.auth-host>.profiles-layout,.auth-host>.profiles-layout button,.auth-host .v3-profile-overlay,.auth-host .v3-profile-overlay button,.auth-host .v3-profile-overlay input{font-family:'YAYOMS Plex',Arial,sans-serif;font-synthesis:none;letter-spacing:0}
.tv-shell{--sidebar-width:318px;background:radial-gradient(ellipse at 85% 90%,#08222a 0,transparent 45%),#040b0f}
.tv-shell>.sidebar{width:318px;flex-basis:318px;padding:40px 18px;border-color:#193138;background:linear-gradient(180deg,#08151c,#040c11)}
.tv-shell .brand-tagline{font-size:20px;color:#a2b5bc;margin:14px 0 46px}
.tv-shell .navigation .nav-item{height:77px;min-height:77px;margin-bottom:5px;border-radius:15px}
.tv-shell .navigation .nav-label{font-size:26px;line-height:1.5;white-space:nowrap;font-weight:500}
.tv-shell .navigation .nav-item.selected{border-color:#00bfc6;background:linear-gradient(100deg,#092329,#07535b);color:#00eee6}
.tv-shell .navigation .nav-item:focus{border-color:#00fff1;box-shadow:0 0 0 1px #00fff1;background:#0c3c43}
.tv-shell>.provider-content{padding:0 40px 32px}
.tv-shell .provider-content>.page-header{position:absolute;z-index:3;top:20px;right:44px;left:44px;height:40px;pointer-events:none}
.tv-shell .provider-content .page-title{font-size:22px;font-weight:500;color:#a2bdcc}
.tv-shell .provider-home{height:1048px;padding:0 4px 40px;margin:0 -4px}
.tv-shell .home-toolbar{position:absolute;top:18px;left:44px;z-index:4;width:52px;height:48px;min-height:48px;margin:0}
.tv-shell .home-toolbar .home-profile{display:none}.tv-shell .home-toolbar .home-refresh{width:48px;height:48px;background:#0b1b22aa;border-radius:12px}
.tv-shell .provider-home .cinematic-hero{height:520px;min-height:520px;margin:0 -40px 20px;border-radius:0;background:#071219}
.tv-shell .provider-home .catalog-hero>.artwork-frame{width:100%;height:100%;opacity:1}
.tv-shell .provider-home .catalog-hero>.artwork-frame .provider-image{object-fit:cover;object-position:30% 35%}
.tv-shell .provider-home .catalog-hero:after{background:linear-gradient(90deg,transparent 0,rgba(4,11,15,.18) 30%,rgba(4,11,15,.92) 59%,#040b0f 100%)}
.tv-shell .provider-home .hero-copy{margin-left:49%;margin-right:0;width:51%;padding:70px 44px 130px 20px;justify-content:center}
.tv-shell .provider-home .hero-title{font-size:48px;line-height:1.28;font-weight:600;margin:0 0 14px;max-height:124px}
.tv-shell .provider-home .hero-meta{font-size:24px;color:#bdcbd3;margin:0 0 14px;line-height:1.5}
.tv-shell .provider-home .hero-description{font-size:24px;line-height:1.6;color:#d0d9df}
.tv-shell .provider-home .hero-actions{right:44px;bottom:48px;left:auto}
.tv-shell .provider-home .hero-actions .tv-action{height:66px;min-height:66px;min-width:236px;font-size:28px;border-radius:16px;margin:0 0 0 20px}
/* Portrait-only art has a separate bounded column: it never fills the text area. */
.tv-shell .provider-home .hero-poster-only .catalog-hero>.artwork-frame{left:68px;top:54px;width:270px;height:405px;min-height:405px;opacity:1;border-radius:14px}
.tv-shell .provider-home .hero-poster-only .catalog-hero>.artwork-frame .provider-image{object-fit:contain;object-position:center}
.tv-shell .provider-home .hero-poster-only .catalog-hero:after{background:linear-gradient(90deg,transparent 0,transparent 30%,#040b0f 48%)}
.tv-shell .provider-home .hero-poster-only .hero-copy{margin-left:35%;width:65%}
[dir=ltr] .tv-shell .provider-content>.page-header{right:44px;left:44px}
[dir=ltr] .tv-shell .home-toolbar{left:auto;right:44px}
[dir=ltr] .tv-shell .provider-home .catalog-hero:after{background:linear-gradient(90deg,#040b0f 0,rgba(4,11,15,.92) 41%,rgba(4,11,15,.18) 70%,transparent)}
[dir=ltr] .tv-shell .provider-home .hero-copy{margin-left:0;margin-right:49%;padding:70px 20px 130px 44px}
[dir=ltr] .tv-shell .provider-home .hero-actions{left:44px;right:auto}
[dir=ltr] .tv-shell .provider-home .hero-poster-only .catalog-hero>.artwork-frame{left:auto;right:68px}
[dir=ltr] .tv-shell .provider-home .hero-poster-only .catalog-hero:after{background:linear-gradient(90deg,#040b0f 52%,transparent 70%)}
[dir=ltr] .tv-shell .provider-home .hero-poster-only .hero-copy{margin-left:0;margin-right:35%}
/* One independent card, one definite artwork height. No percentage padding,
   aspect-ratio, grid intrinsic block-size or absolute poster can size the row. */
.tv-shell .content .catalog-card.catalog-card:not(.last-shortcut){display:flex;flex-direction:column;align-self:start;height:auto;min-height:0;max-height:none;border-radius:15px;border:1px solid #263942;background:linear-gradient(160deg,#15232c,#0c171d);isolation:isolate}
.tv-shell .content .catalog-card.catalog-card:not(.last-shortcut)>.artwork-frame{position:relative;display:block;width:100%;height:var(--poster-block,360px);min-height:var(--poster-block,360px);max-height:var(--poster-block,360px);flex:0 0 var(--poster-block,360px);padding:0;overflow:hidden}
.tv-shell .content .catalog-card.catalog-card:not(.last-shortcut)>.artwork-frame>.provider-image{position:absolute;display:block;width:100%;height:100%;top:0;left:0;object-fit:cover}
.tv-shell .content .media-caption{position:relative;display:block;width:100%;height:118px;min-height:118px;flex:0 0 118px;padding:12px 16px}
.tv-shell .content .catalog-card .catalog-card-title{font-size:24px;font-weight:500;line-height:31px;height:62px;min-height:62px;-webkit-line-clamp:2}
.tv-shell .content .catalog-card .catalog-card-meta{font-size:21px;line-height:28px;height:30px;padding-top:6px;color:#c0ccd3}
.tv-shell .content .catalog-card .catalog-card-meta{display:flex;justify-content:space-between;align-items:center;white-space:nowrap}
.tv-shell .media-kind{overflow:hidden;text-overflow:ellipsis;min-width:0}.tv-shell .media-rating{display:flex;align-items:center;flex:none;margin-inline-start:10px;font-size:20px;line-height:28px;color:#e0e8ec}.tv-shell .rating-star{color:#ffc34c;font-size:21px;margin-right:7px}
.tv-shell .content .catalog-card:focus{outline:0;border-color:#00e7df;box-shadow:0 0 0 2px #00e7df;transform:none}
.tv-shell .content .last-shortcut .media-caption{height:auto;min-height:0;flex:1;padding:0 22px}.tv-shell .content .last-shortcut .catalog-card-meta{display:none}
.tv-shell .content .catalog-row{grid-gap:20px}.tv-shell .content .section-heading{margin-bottom:16px;min-height:48px}
.tv-shell .search-results{grid-auto-flow:row;grid-auto-rows:min-content;align-content:start;align-items:start;grid-gap:26px 22px;overflow-x:hidden}
.tv-shell .search-results .search-group-title{grid-column:1/-1;margin:8px 0 0;font-size:28px;line-height:1.4;color:#e2edf2}
.tv-shell .search-results>.catalog-card{float:none;clear:none;grid-row:auto;grid-column:auto;position:relative;overflow:hidden}
/* Library owns a content-sized segmented toolbar, then deliberate progress cards. */
.tv-shell .library-tabs{display:flex;align-items:center;padding:7px;border:1px solid #223840;border-radius:18px;background:#0a171f;margin:0 0 22px;min-height:76px}
.tv-shell .library-tabs .collections-action{flex:1;margin:0 4px;border-color:transparent;border-radius:12px;min-height:60px;font-size:25px;background:transparent;color:#bbccd5}
.tv-shell .library-tabs .collections-action.active{background:#123a43;color:#00ebe5;border-color:#23636a}
.tv-shell .library-tabs .collections-action:focus{box-shadow:inset 0 -3px #00fff1,0 0 0 2px #00fff1;background:#174550;color:#fff}
.tv-shell .collections-toolbar{display:flex;align-items:center;min-height:66px;padding:0 4px;margin-bottom:16px}.tv-shell .library-section-title{flex:1;margin:0;font-size:31px;line-height:1.4;font-weight:600}
.tv-shell .collections-toolbar .collections-action{margin:0 8px}.tv-shell .library-grid{align-content:start}
.tv-shell .library-grid[data-wide=true],.tv-shell .library-grid[data-wide=true]{grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:24px}
.tv-shell .library-grid[data-wide=true][data-count='1'],.tv-shell .library-grid[data-wide=true][data-count='1']{grid-template-columns:minmax(0,920px);justify-content:start}
.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card,.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card{grid-column:auto;display:grid;grid-template-columns:184px minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-gap:8px 24px;min-height:290px;height:auto;padding:20px;align-content:center;text-align:inherit}
.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.artwork-frame,.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.artwork-frame{position:relative;grid-column:1;grid-row:1/6;width:184px;height:244px;min-height:244px;max-height:244px;padding:0;flex:none;border-radius:10px}
.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.media-caption,.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.media-caption{grid-column:2;grid-row:auto;min-height:112px;height:auto;display:block;padding:8px 0;flex:none}
.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.episode-label,.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.episode-label{grid-column:2;position:static;padding:0;font-size:21px;line-height:1.5;white-space:normal;max-height:64px;overflow:hidden}
.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.collection-progress,.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.collection-progress{grid-column:2;position:static;width:100%;height:5px;margin:4px 0}
.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.collection-time,.tv-shell .content .library-grid[data-wide=true]>.catalog-card.progress-card>.collection-time{grid-column:2;display:block;position:static;text-align:start;padding:0;font-size:20px;color:#adc4d0}
.tv-shell .collections-empty{grid-column:1/-1;min-height:220px;height:auto;padding:60px 40px;border:1px dashed #24414c;border-radius:18px;background:#0b1921;color:#b7ccd7;font-size:27px;text-align:center}
/* Settings is an adaptive pair of independent columns, never an 870px form. */
.tv-shell .settings-surface{flex:0 0 auto;display:grid;grid-template-columns:360px minmax(0,1fr);grid-gap:32px;align-items:start;height:auto;min-height:0;max-height:866px;background:transparent;border:0;border-radius:0;padding:0;overflow:visible}
.tv-shell .settings-navigation{margin:0;display:flex;flex-direction:column;position:static;width:auto;min-width:0;height:auto;min-height:0;padding:12px;background:#0b1921;border:1px solid #203842;border-radius:20px;overflow:visible}
.tv-shell .settings-navigation .settings-section{display:flex;align-items:center;justify-content:flex-start;white-space:nowrap;min-height:70px;height:70px;padding:12px 16px;margin:4px 0;border:1px solid transparent;background:transparent;color:#a9c0cd;font-size:24px;border-radius:12px}
.tv-shell .settings-section .ui-icon{width:26px;height:26px;flex:0 0 26px;margin-inline-end:15px}
.tv-shell .settings-navigation .settings-section.selected{border-color:#225461;background:#10303c;color:#00dedb}
.tv-shell .settings-navigation .settings-section:focus{border-color:#00eee4;background:#194450;color:#fff;box-shadow:0 0 0 1px #00eee4}
.tv-shell .settings-pane{position:static;width:auto;height:auto;min-height:0;max-height:866px;max-width:none;margin:0;padding:28px 30px;background:linear-gradient(145deg,#10232d,#0a171f);border:1px solid #223c49;border-radius:22px;overflow:hidden}
.tv-shell .settings-pane-title{font-size:34px;font-weight:600;line-height:1.4;margin:0 0 22px;padding:0;border:0}
.tv-shell .settings-body{height:auto;min-height:0;max-height:720px;width:100%;padding:0 4px 4px;overflow-y:auto;display:block}
.tv-shell .settings-row{display:flex;align-items:center;min-height:86px;height:auto;width:100%;margin:0 0 14px;padding:18px 22px;border:1px solid #264552;border-radius:14px;background:#0c1d27;color:#f4f8fa}
.tv-shell .settings-row-label{font-size:26px;line-height:1.5;font-weight:500}.tv-shell .settings-row-value{font-size:23px;color:#b9d3df;line-height:1.6;text-align:end;max-width:50%}
.tv-shell .settings-row-description,.tv-shell .settings-description,.tv-shell .settings-section-intro{font-size:23px;line-height:1.7;color:#a8c0cd}
.tv-shell .settings-section-intro{margin:0 0 22px}.tv-shell .settings-description{margin:16px 0 8px}
.tv-shell .settings-control:focus{background:#163c49;border-color:#00dcd9;box-shadow:0 0 0 2px #00dcd9}
.tv-shell .settings-surface[data-section=ACCOUNT] .settings-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px}
.tv-shell .account-overview{display:flex;align-items:center;grid-column:1/-1;padding:4px 0 22px;border-bottom:1px solid #24414e;margin-bottom:4px}
.tv-shell .account-overview>.visual-avatar{width:92px;height:92px;flex:0 0 92px;margin-inline-end:24px}
.tv-shell .account-profile-title{margin:0 0 8px;font-size:34px;line-height:1.4}.tv-shell .account-connection{font-size:23px;line-height:1.5;color:#9db9c9;margin:0}.tv-shell .account-connection.connected{color:#6de4c1}
.tv-shell .settings-surface[data-section=ACCOUNT] .settings-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:116px;padding:16px 20px;margin:0;border:1px solid #203e4c;background:#0b1b25}
.tv-shell .settings-surface[data-section=ACCOUNT] .settings-row-words,.tv-shell .settings-surface[data-section=ACCOUNT] .settings-row-value{flex:none;padding:0;width:auto}
.tv-shell .settings-surface[data-section=ACCOUNT] .settings-row-label{font-size:21px;color:#8daab9}.tv-shell .settings-surface[data-section=ACCOUNT] .settings-row-value{font-size:25px;max-width:100%;text-align:start;margin-top:7px}
.tv-shell .settings-surface[data-section=ACCOUNT] #settings-content-profile{display:none}
.tv-shell .settings-surface[data-section=ACCOUNT] #settings-content-logout{grid-column:1/-1;justify-self:start;width:auto;min-width:228px;min-height:64px;margin:6px 0 0;background:#142b36;border-color:#365563;color:#f0f5f7}
.tv-shell .settings-surface[data-section=PROFILE_MANAGEMENT] .settings-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px}
.tv-shell .settings-surface[data-section=PROFILE_MANAGEMENT] .settings-section-intro{grid-column:1/-1;margin:0 0 4px}
.tv-shell .managed-profile{display:flex;flex-wrap:wrap;align-items:center;height:auto;min-height:170px;padding:20px;border:1px solid #2a4956;border-radius:18px;background:#102632;margin:0;width:auto}
.tv-shell .managed-profile>.visual-avatar{width:76px;height:76px;flex:0 0 76px;margin-inline-end:18px}
.tv-shell .managed-profile-copy{flex:1;min-width:0}.tv-shell .managed-profile-copy strong{font-size:25px;line-height:1.4}.tv-shell .managed-profile-copy>span{font-size:21px;line-height:1.5;color:#9fbac9}
.tv-shell .managed-edit-label{position:static;display:block;width:100%;font-size:20px;color:#66d2d1;padding-top:12px;text-align:end}.tv-shell .profile-active-badge{position:static;font-size:18px;color:#73e4bf}
.tv-shell .add-profile-action{grid-column:1/-1;min-height:68px;margin:0;border-style:dashed;background:#0a1b25;justify-content:center}
.tv-shell .settings-row[role=switch]:after{content:'';width:64px;height:34px;min-width:64px;border-radius:20px;border:2px solid #49626e;background:radial-gradient(circle at 17px 50%,#b7c9d2 0,#b7c9d2 11px,transparent 12px),#152c38;margin-inline-start:22px}
.tv-shell .settings-row[role=switch][aria-checked=true]:after{background:radial-gradient(circle at 43px 50%,#061b23 0,#061b23 11px,transparent 12px),#00d7d2;border-color:#00d7d2}
.auth-host .v3-profile-overlay .allowed-dialog{width:1110px;max-height:980px;padding:30px 40px}
.auth-host .v3-profile-overlay .allowed-dialog .dialog-title{font-size:36px;margin:0 0 18px}
.allowed-tabs{display:flex;padding:6px;border-radius:14px;background:#081922}.allowed-control{font-size:24px;line-height:1.5;background:#12303d;border:1px solid #2b5264;border-radius:10px;padding:10px 22px;margin:3px;color:#e5f4fa;min-height:54px}
.allowed-tabs .allowed-control{flex:1}.allowed-control[aria-selected=true]{background:#075d63;color:#00fff2}.allowed-control:focus,.allowed-category:focus{outline:none;border-color:#00efdf;box-shadow:0 0 0 2px #00efdf}
.allowed-summary{font-size:22px;line-height:1.7;color:#b8d0dd;margin:16px 0}.allowed-toolbar{display:flex;align-items:center;margin-bottom:14px}.allowed-count{font-size:22px;color:#7ce0d8;padding:0 20px}
.allowed-category-list{height:380px;min-height:180px;overflow-y:auto;padding:5px;background:#081820;border:1px solid #1d3c4b;border-radius:12px}
.allowed-category-list>p{font-size:25px;line-height:1.7;padding:18px 24px;color:#b1cad9}.allowed-category{display:block;width:100%;text-align:inherit;font-size:25px;line-height:1.5;min-height:62px;padding:13px 22px;border:1px solid transparent;border-bottom-color:#1b3441;background:transparent;color:#dcecf4;border-radius:8px}
.allowed-category[aria-checked=true]{background:#103d46;color:#7effef}
.auth-host .v3-profile-overlay[data-kind=RULES] .auth-message:empty{display:none}

[dir=ltr] .tv-shell .settings-navigation{margin:0}
