/* Neutral account and catalogue accents. */
html body #userMenu#userMenu#userMenu .user-menu__links a[href*="/user/info"]>svg:not(.menu-chevron){color:var(--nav-menu-text,#d7d9de)!important;stroke:currentColor!important;background:transparent!important;}
html body #userMenu#userMenu#userMenu .user-menu__links a[href*="/user/info"]>svg:not(.menu-chevron) path{stroke:currentColor!important;fill:none!important;}
html body .media-card .media-card__title a:hover,html body .media-card .media-card__title a:focus-visible,html body .media-card h3 a:hover,html body .media-card h3 a:focus-visible{color:#e0d7ca!important;text-decoration-color:currentColor;}
html[data-theme=light] body .media-card h3 a:is(:hover,:focus-visible){color:#605548!important;}
html body .site-header .nav__link:hover{color:var(--nav-menu-text,#e6e6e9)!important;}
/* Keep play and the two icon actions in one mobile row. */
@media(max-width:1024px){
 html body .movie-detail-page .movie-detail-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;align-items:center;gap:8px!important;width:100%;min-width:0;}
 html body .movie-detail-page .movie-detail-actions #detailPlayBtn{width:100%!important;min-width:0!important;margin:0!important;min-height:44px;box-sizing:border-box;white-space:normal;text-align:center;justify-content:center;}
 html body .movie-detail-page .movie-detail-actions :is(#detailFavoriteBtn,#detailLikeBtn){width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;padding:0!important;}
 html body .movie-detail-page .movie-detail-actions :is(#detailFavoriteBtn,#detailLikeBtn) .detail-action-text{display:none!important;}
}
/* Warm neutral glass for every account entry point. */
html[data-theme] body #authModal.za{--za-bg:rgba(39,39,41,.96);--za-text:#f3f2ef;--za-muted:#b5b3b0;--za-line:rgba(228,223,215,.19);--za-field:rgba(255,255,255,.055);--za-tab:rgba(235,230,222,.17);--za-link:#ded5c8;--za-focus:#b7a994;--za-ring:rgba(190,175,151,.20);color-scheme:dark;}
html[data-theme=light] body #authModal.za{--za-bg:rgba(249,248,245,.97);--za-text:#292829;--za-muted:#716d68;--za-line:rgba(65,57,47,.19);--za-field:rgba(65,57,47,.045);--za-tab:#fff;--za-link:#665b4c;--za-focus:#8b7c66;--za-ring:rgba(139,124,102,.17);color-scheme:light;}
html body #authModal .za__backdrop{background:rgba(14,13,12,.60);}
html[data-theme=light] body #authModal .za__backdrop{background:rgba(40,36,31,.30);}
html body #authModal .za__dialog{background:var(--za-bg);border-color:var(--za-line);box-shadow:0 28px 90px rgba(0,0,0,.32);}
html body #authModal .za__submit,html body #userMenu#userMenu#userMenu .user-menu__primary{background:#f0efec!important;color:#29282a!important;border:1px solid rgba(255,255,255,.35)!important;box-shadow:0 4px 16px rgba(0,0,0,.10)!important;min-height:44px;border-radius:999px;transition:background .18s ease,box-shadow .18s ease;}
html body #authModal .za__submit:hover:not(:disabled),html body #userMenu#userMenu#userMenu .user-menu__primary:hover{background:#ded9d1!important;box-shadow:0 5px 18px rgba(0,0,0,.14)!important;}
html[data-theme=light] body #authModal .za__submit,html[data-theme=light] body #userMenu#userMenu#userMenu .user-menu__primary{background:#2d2b2a!important;color:#faf9f6!important;border-color:#2d2b2a!important;}
html[data-theme=light] body #authModal .za__submit:hover:not(:disabled),html[data-theme=light] body #userMenu#userMenu#userMenu .user-menu__primary:hover{background:#49443e!important;}
html body #authModal .za__send{color:var(--za-text);background:var(--za-tab);border-color:var(--za-line);border-radius:12px;}
html body #authModal .za__send:hover:not(:disabled){background:var(--za-field);border-color:var(--za-focus);}
html body #authModal :is(.za__link,.za__terms a,.za__bottom a){color:var(--za-link)!important;text-underline-offset:4px;}
html body #authModal :is(.za__link,.za__terms a,.za__bottom a):hover{color:var(--za-text)!important;text-decoration:underline;}
html body #authModal.za input:focus{border-color:var(--za-focus);box-shadow:0 0 0 3px var(--za-ring);}
html body #authModal.za input[type=checkbox]{accent-color:var(--za-focus);}
html body #authModal.za :is(button,a,input):focus-visible{outline:2px solid var(--za-focus);outline-offset:3px;}
html body #userMenu :is(button,a):focus-visible{outline:2px solid #b7a994;outline-offset:3px;}
html body #authModal .za__bottom{flex-wrap:wrap;}
@media(max-width:540px){html body #authModal .za__dialog{padding:22px 20px;}html body #authModal .za__submit{min-height:48px;}html body #authModal .za__code{grid-template-columns:minmax(0,1fr) 108px;gap:8px;}}
@media(prefers-reduced-motion:reduce){html body #authModal button,html body #userMenu#userMenu#userMenu .user-menu__primary{transition:none;}}

html body #userMenu#userMenu#userMenu .user-menu__primary :is(span,strong,svg),html body #authModal .za__submit :is(span,strong,svg){color:inherit!important;}
html body #userMenu#userMenu#userMenu .user-menu__primary{color:#29282a!important;-webkit-text-fill-color:#29282a!important;}
html[data-theme=light] body #userMenu#userMenu#userMenu .user-menu__primary{color:#faf9f6!important;-webkit-text-fill-color:#faf9f6!important;}

html body #authModal .za__google{display:grid;gap:12px;margin-top:4px;min-width:0;}
html body #authModal .za__divider{display:flex;align-items:center;gap:12px;color:var(--za-muted);font-size:12px;}
html body #authModal .za__divider:before,html body #authModal .za__divider:after{content:'';flex:1;height:1px;background:var(--za-line);}
html body #authModal .za__google-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:12px 16px;border:1px solid var(--za-line);border-radius:999px;background:var(--za-field);color:var(--za-text);font-weight:650;}
html body #authModal .za__google-button:disabled{opacity:1;cursor:default;}
html body #authModal .za__google-button svg{width:20px;height:20px;flex:0 0 20px;}
html body #authModal .za__google .za__hint{text-align:center;margin:0;}
/* Equal-height rows survive the swipe wrapper and variable studio counts. */
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v6-list{align-items:stretch!important;grid-auto-rows:auto;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v6-card{align-self:stretch!important;height:auto!important;display:flex!important;flex-direction:column;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v9-swipe-content{flex:1;display:flex;flex-direction:column;height:100%;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v6-card__link{flex:1;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v7-card-actions{margin-top:auto!important;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v9-companies{min-height:126px;justify-content:flex-start;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v9-company-logos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:44px;align-items:center;gap:8px 12px;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v9-company{width:100%;max-width:126px;height:44px;min-width:0;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v9-company:not(:has(img)){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.35;}
@media(max-width:480px){
 #libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v9-companies{min-height:148px;}
 #libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v9-company-logos{grid-template-columns:minmax(0,1fr);grid-auto-rows:36px;gap:8px;}
 #libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v9-company{height:36px;max-width:110px;}
}
/* Catalogue accents share the warm glass palette, including featured covers. */
html[data-theme=dark]{--c-primary:#d5c9b9!important;--c-primary-line:rgba(213,201,185,.45)!important;--c-primary-soft:rgba(213,201,185,.12)!important;--c-border:rgba(224,217,207,.19)!important;}
html[data-theme=light]{--c-primary:#736452!important;--c-primary-line:rgba(115,100,82,.40)!important;--c-primary-soft:rgba(115,100,82,.10)!important;--c-border:rgba(91,82,71,.18)!important;}
html body .media-card .media-card__cover{border-color:rgba(224,217,207,.22)!important;}
html body .media-card:is(:hover,:focus-within) .media-card__cover{border-color:rgba(213,201,185,.50)!important;}
html[data-theme=light] body .media-card .media-card__cover{border-color:rgba(91,82,71,.20)!important;}
html[data-theme=light] body .media-card:is(:hover,:focus-within) .media-card__cover{border-color:rgba(115,100,82,.45)!important;}
html body .media-card :is(a,button):focus-visible{outline:2px solid var(--c-primary)!important;outline-offset:3px;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v6-card__link{flex:0 0 auto;}
#libraryModal#libraryModal#libraryModal [data-library-view=cards] .library-v6-copy{justify-content:flex-start;}
/* Transparent fronts must not show the unrevealed deletion control. */
#libraryModal#libraryModal#libraryModal [data-library-view=list] .library-v9-swipe-delete{visibility:hidden;opacity:0;pointer-events:none;}
#libraryModal#libraryModal#libraryModal [data-library-view=list] .library-v6-card:is(.is-swiping,.is-swipe-open) .library-v9-swipe-delete{visibility:visible;opacity:1;pointer-events:auto;}
#libraryModal#libraryModal#libraryModal #libraryV6Feedback{position:relative;z-index:10;flex-shrink:0;padding:12px 16px;margin:8px 18px 14px;border-radius:14px;background:var(--lv6-panel);border:1px solid var(--lv6-line);color:var(--lv6-text);display:flex;align-items:center;justify-content:space-between;gap:12px;}
#libraryModal#libraryModal#libraryModal #libraryV6Feedback[hidden]{display:none!important;}
#libraryModal#libraryModal#libraryModal #libraryV6Feedback button{min-height:44px;padding:8px 16px;border-radius:999px;flex-shrink:0;background:var(--lv6-blue-soft);color:var(--lv6-text);border:1px solid var(--lv6-line);}
@media(max-width:1024px){
 html[data-theme] body .movie-detail-actions.movie-detail-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;gap:8px!important;align-items:center!important;}
 html[data-theme] body .movie-detail-actions #detailPlayBtn{width:100%!important;min-width:0!important;grid-column:auto!important;min-height:44px;}
 html[data-theme] body .movie-detail-actions :is(#detailFavoriteBtn,#detailLikeBtn){width:44px!important;height:44px!important;min-width:44px!important;grid-column:auto!important;padding:0!important;}
 html[data-theme] body .movie-detail-actions .detail-action-text{display:none!important;}
}
@media(max-width:1024px){
 html body .movie-detail-actions:has(#detailPlayBtn#detailPlayBtn#detailPlayBtn){display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;gap:8px!important;align-items:center!important;}
 html body .movie-detail-actions:has(#detailPlayBtn#detailPlayBtn#detailPlayBtn)>[data-cinema-video]{grid-column:1/-1!important;width:100%!important;}
 html body #detailPlayBtn#detailPlayBtn#detailPlayBtn{grid-column:1!important;width:100%!important;min-width:0!important;}
 html body #detailFavoriteBtn#detailFavoriteBtn#detailFavoriteBtn{grid-column:2!important;width:44px!important;height:44px!important;min-width:44px!important;}
 html body #detailLikeBtn#detailLikeBtn#detailLikeBtn{grid-column:3!important;width:44px!important;height:44px!important;min-width:44px!important;}
}
@media(max-width:1024px){
 html body .movie-detail-actions:has(#detailPlayBtn#detailPlayBtn#detailPlayBtn)>[data-cinema-video]{grid-row:2!important;order:0!important;}
 html body :is(#detailPlayBtn#detailPlayBtn#detailPlayBtn,#detailFavoriteBtn#detailFavoriteBtn#detailFavoriteBtn,#detailLikeBtn#detailLikeBtn#detailLikeBtn){grid-row:1!important;order:0!important;}
}
/* One neutral icon and label column throughout the account menu. */
html body #mobileMenuDrawer#mobileMenuDrawer#mobileMenuDrawer .mobile-drawer-link{display:grid!important;grid-template-columns:24px minmax(0,1fr) 16px!important;column-gap:20px!important;align-items:center!important;justify-content:stretch!important;}
html body #mobileMenuDrawer#mobileMenuDrawer#mobileMenuDrawer .mobile-drawer-link>span:not(.mobile-drawer-link__icon){min-width:0;margin:0!important;padding:0!important;text-align:left!important;justify-self:stretch!important;}
html body #mobileMenuDrawer#mobileMenuDrawer#mobileMenuDrawer .mobile-drawer-link strong{margin:0!important;padding:0!important;text-align:left!important;}
html body #mobileMenuDrawer#mobileMenuDrawer#mobileMenuDrawer .mobile-drawer-link__icon{width:24px!important;height:24px!important;color:#c9c4bd!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;}
html body #mobileMenuDrawer#mobileMenuDrawer#mobileMenuDrawer .mobile-drawer-link__icon svg{stroke:currentColor!important;color:inherit!important;fill:none!important;}
html body #mobileMenuDrawer#mobileMenuDrawer#mobileMenuDrawer .mobile-drawer-link__icon svg :is(path,circle){stroke:currentColor!important;fill:none!important;}
html[data-theme=light] body #mobileMenuDrawer#mobileMenuDrawer#mobileMenuDrawer .mobile-drawer-link__icon{color:#736b60!important;}
/* A smaller secondary trailer entry leaves Play now as the primary action. */
html body .movie-detail-actions:has(#detailPlayBtn#detailPlayBtn#detailPlayBtn)>[data-cinema-video]{order:3!important;flex:0 0 auto!important;align-self:center!important;justify-self:start!important;width:auto!important;max-width:100%;min-width:0!important;min-height:44px!important;height:44px!important;padding:8px 14px!important;font-size:12px!important;font-weight:500!important;color:var(--c-text-2,#b9b5ae)!important;background:transparent!important;border:1px solid var(--c-border,rgba(224,217,207,.19))!important;box-shadow:none!important;}
html body .movie-detail-actions:has(#detailPlayBtn#detailPlayBtn#detailPlayBtn)>[data-cinema-video] svg{width:16px!important;height:16px!important;}
@media(max-width:1024px){html body .movie-detail-actions:has(#detailPlayBtn#detailPlayBtn#detailPlayBtn)>[data-cinema-video]{grid-column:1!important;grid-row:2!important;width:auto!important;justify-self:start!important;margin-top:0!important;}}
