
body.emra-redesign{
  --ex:calc(100vw / 1672);--ey:calc(100vh / 941);--eu:min(var(--ex),var(--ey));
  --erd-rail:0px;--erd-open:240px;
  
  
}
body.emra-redesign.emra-video-active .emra-fixed-wordmark,
body.emra-redesign.emra-video-active .el-top-actions,
body.emra-redesign.emra-video-active .head__body>.head__actions{visibility:hidden!important;pointer-events:none!important;}
body.emra-redesign.emra-search-open .el-top-actions{visibility:hidden;pointer-events:none;}
body.emra-redesign .emra-fixed-wordmark {
  position:fixed;left:calc(14px + env(safe-area-inset-left,0px));top:max(21px,env(safe-area-inset-top,0px));transform:none;
  width:clamp(112px,11vw,166px);height:32px;object-fit:contain;object-position:center;
  margin:0;padding:0;border:0;background:transparent;z-index:70;pointer-events:none;
  filter:drop-shadow(0 2px 9px rgba(0,0,0,.55));
}
/* The frame stays full bleed. Content may scroll under navigation, while its
   initial text and controls clear the compact buttons rather than a wide rail. */
body.emra-redesign:not(.emra-library-home) .wrap__content {
  margin-left:0!important;width:100vw!important;padding-top:0!important;transform:none!important;
}
body.emra-redesign:not(.emra-library-home) .head {left:0;width:100vw;}
body.emra-redesign .el-home .el-scroll {left:0;right:0;}
body.emra-redesign .el-home .el-hero-copy {
  padding-left:var(--nav-content-inset);padding-top:clamp(78px,10vh,110px);
  width:min(790px,65vw);max-width:100%;
}
body.emra-redesign .el-home .el-hero {height:max(390px,45vh);}
body.emra-redesign .el-home .el-shelves {padding-left:var(--nav-content-inset);padding-right:var(--nav-content-end-inset);}
body.emra-redesign .erc-detail-hero,body.emra-redesign .erc-catalog-hero,
body.emra-redesign .erc-library-header,
body.emra-redesign .erl-screen-heading,body.emra-redesign .erl-tv-heading,
body.emra-redesign .erl-tv-workspace {padding-left:var(--nav-content-inset);padding-right:var(--nav-content-end-inset);}
body.emra-redesign .erc-movie-copy {padding-left:var(--nav-content-inset);padding-right:var(--nav-content-end-inset);}
body.emra-redesign .erc-movie-catalogue .mapping--grid,
body.emra-redesign .erc-catalog-page .mapping--grid,
body.emra-redesign .erc-library-page .mapping--grid,
body.emra-redesign .erl-collections .erl-editorial-grid,
body.emra-redesign .erl-collections .items-line,
body.emra-redesign .erc-detail-page .items-line {padding-left:var(--nav-content-inset);padding-right:var(--nav-content-end-inset);}
body.emra-redesign .erc-movie-filters {left:var(--nav-content-inset);padding-left:0;}
body.emra-redesign .erc-search-body {padding-left:var(--nav-content-inset);padding-right:var(--nav-content-end-inset);}
body.emra-redesign .search {left:0;width:100vw;}
body.emra-redesign .wrap__left {left:var(--nav-content-inset);}
.el-top-actions,body.emra-redesign .head__body>.head__actions {
  position:fixed;right:calc(14px + env(safe-area-inset-right,0px));top:max(20px,env(safe-area-inset-top,0px));z-index:48;
}
body.emra-redesign .el-top-button,body.emra-redesign .head__actions>.open--profile {
  width:var(--nav-size);height:var(--nav-size);border:1px solid rgba(222,235,245,.53);border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:transparent;color:#eef5fb;cursor:pointer;
}
body.emra-redesign .el-top-button>svg,body.emra-redesign .head__actions>.open--profile .erd-profile-glyph>svg {width:20px!important;height:20px!important;max-width:20px;max-height:20px;}
body.emra-redesign .erd-profile-glyph {display:flex;align-items:center;justify-content:center;width:100%;height:100%;pointer-events:none;}
body.emra-redesign .head__actions>.open--profile>:not(.erd-profile-glyph) {display:none!important;}
body.emra-redesign:not(.emra-library-home) .head__actions>.open--profile {width:44px;height:44px;pointer-events:auto;background:transparent;box-shadow:none;}
body.emra-redesign.emra-search-open .head {visibility:visible!important;pointer-events:none;}
body.emra-redesign.emra-search-open .head__body>:not(.head__actions),body.emra-redesign.emra-search-open .head__actions>:not(.open--profile) {display:none!important;}
@media(max-width:600px){
 body.emra-redesign .emra-fixed-wordmark {left:calc(14px + env(safe-area-inset-left,0px));top:18px;width:112px;height:26px;}
 body.emra-redesign .el-home .el-hero-copy {width:100%;padding-right:16px;}
 body.emra-redesign .el-home .el-hero {height:max(360px,48vh);}
 body.emra-redesign .el-top-actions,body.emra-redesign .head__body>.head__actions {right:calc(14px + env(safe-area-inset-right,0px));top:15px;}
}
@media(max-height:400px){
 body.emra-redesign .emra-fixed-wordmark {top:10px;height:22px;width:108px;}
}
body.emra-redesign.settings--open .emra-fixed-wordmark,
body.emra-redesign.settings--open .el-top-actions,
body.emra-redesign.settings--open .head{visibility:hidden!important;pointer-events:none!important;}
body.emra-redesign .erc-library-header,
body.emra-redesign .erl-screen-heading,
body.emra-redesign .erl-tv-heading,
body.emra-redesign .emra-online-screen .explorer__files-head {padding-top:var(--nav-header-inset);}
body.emra-redesign .erc-catalog-page .items-line,
body.emra-redesign .erc-library-page .items-line,
body.emra-redesign .erl-collections .items-line__head,
body.emra-redesign .erc-detail-page .items-line__head,
body.emra-redesign .emra-online-screen .explorer__files-head,
body.emra-redesign .emra-online-screen .explorer__files-body>.scroll>.scroll__content {padding-left:var(--nav-content-inset);padding-right:var(--nav-content-end-inset);}

/* Row containers own the inset once; their headings must not add it again. */
body.emra-redesign .erl-collections .items-line__head,
body.emra-redesign .erc-detail-page .items-line__head,
body.emra-redesign .erc-catalog-page .items-line__head,
body.emra-redesign .erc-library-page .items-line__head {padding-left:0;}

/* Sole navigation geometry and material owner. Geometry follows the prototype; translucent material is adapted to the live catalogue. */
body.emra-redesign {
 --nav-size:44px;--nav-edge:max(12px,env(safe-area-inset-left,0px));--nav-gap:9px;
 --nav-content-inset:calc(env(safe-area-inset-left,0px) + clamp(16px,3vw,42px));--nav-header-inset:calc(72px + var(--emra-safe-top,0px));--err-nav:86px;
 --emra-glass-background:linear-gradient(155deg,#3d3e4a1a,#25263024);
 --emra-glass-border:1px solid #ffffff35;
 --emra-glass-shadow:inset 0 1px 1px #ffffff48,inset 0 -1px 1px #0005,0 9px 28px #0006;
 --emra-glass-backdrop:blur(2px) saturate(115%);
 --nav-content-end-inset:calc(env(safe-area-inset-right,0px) + clamp(16px,3vw,42px));
 --nav-bottom:max(8px,env(safe-area-inset-bottom,0px));
 --nav-clearance:calc(85px + var(--nav-bottom));
}
.emra-navigation-root {display:contents;pointer-events:none;}
.emra-glass-nav {
 position:fixed;z-index:120;left:calc((100% + env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))/2);bottom:var(--nav-bottom);transform:translateX(-50%);
 width:min(480px,calc(100% - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - clamp(0px,calc((100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - 320px)*.4),28px)));height:61px;padding:5px;box-sizing:border-box;
 display:flex;align-items:stretch;isolation:isolate;pointer-events:auto;
 border-radius: 32px;
border:var(--emra-glass-border);
background:var(--emra-glass-background);
box-shadow:var(--emra-glass-shadow);
backdrop-filter:var(--emra-glass-backdrop);
-webkit-backdrop-filter:var(--emra-glass-backdrop);
 touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;
}
.emra-tab-lens {
 position:absolute;left:5px;top:5px;bottom:5px;width:calc((100% - 10px)/var(--tab-count));
 transform:translate3d(calc(var(--tab-position,0)*100%),0,0);
 transition:transform 460ms cubic-bezier(.22,1.32,.36,1),opacity 180ms ease;
 pointer-events:none;z-index:-1;will-change:transform;
}
.emra-tab-lens::before {content: '';
    position: absolute;
    inset: 0 2px;
    border-radius: 27px;
    border: 1px solid #ffffff22;
    background: linear-gradient(145deg,#ffffff27,#ffffff0c);
    box-shadow: inset 0 1px 1px #ffffff4a,0 2px 8px #0002;
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    transition: transform 300ms cubic-bezier(.2,1.4,.4,1);}
.emra-glass-nav.is-dragging .emra-tab-lens{transition:opacity 180ms ease;}
.emra-glass-nav.is-dragging .emra-tab-lens::before{transform:scale(1.09,1.05);}
.emra-glass-nav.no-selection .emra-tab-lens{opacity:0;}
.emra-navigation-root .emra-nav-item {
 flex:1;min-width:0;padding:0;margin:0;border:0;background:none;border-radius:26px;
 display:flex;align-items:center;justify-content:center;color:#ccc7d2;cursor:pointer;
 transition:color 180ms ease;line-height:1;box-sizing:border-box;
}
.emra-nav-icon {display:flex;align-items:center;justify-content:center;width:23px;height:23px;transition:transform 260ms cubic-bezier(.2,1.45,.4,1);}
.emra-nav-icon svg {width:23px;height:23px;flex:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.72)) drop-shadow(0 0 1px rgba(0,0,0,.48));}
.emra-navigation-root .emra-nav-item.is-current{color:#fff;}
.emra-nav-item.is-current .emra-nav-icon{animation:emra-nav-icon-settle 400ms cubic-bezier(.2,1.25,.4,1);}
.emra-nav-item.is-pressed .emra-nav-icon{transform:scale(.86);}
.emra-navigation-root .emra-nav-item:focus-visible{outline:2px solid #d0a1ff;outline-offset:-3px;}
body.emra-redesign .head .open--profile {position:fixed;right:calc(14px + env(safe-area-inset-right,0px));top:calc(12px + var(--emra-safe-top,0px));margin:0;}
body.emra-redesign .el-home .el-shelves{padding-bottom:var(--nav-clearance);}
body.emra-redesign .activity--active>.activity__body>.scroll>.scroll__content>.scroll__body,
body.emra-redesign .activity--active>.activity__body>div:not(.items-line)>.scroll>.scroll__content>.scroll__body{padding-bottom:var(--nav-clearance);box-sizing:border-box;}
body.emra-starting .emra-navigation-root,
body.player--viewing .emra-navigation-root,
body.emra-video-active .emra-navigation-root,
body.emra-offline-video-active .emra-navigation-root,
body.settings--open .emra-navigation-root,
body.selectbox--open .emra-navigation-root,
body.modal--open .emra-navigation-root,
body.emra-account-dialog .emra-navigation-root{display:none;}
@keyframes emra-nav-icon-settle{0%{transform:scale(.89)}55%{transform:scale(1.12)}100%{transform:scale(1)}}

@media(prefers-reduced-motion:reduce){.emra-tab-lens,.emra-tab-lens::before,.emra-nav-item,.emra-nav-icon{animation:none;transition:none}}

.emra-section-title{display:none;position:fixed;z-index:70;left:calc(140px + env(safe-area-inset-left,0px));right:calc(68px + env(safe-area-inset-right,0px));top:calc(17px + var(--emra-safe-top,0px));font:500 14px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f3f5f7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;text-shadow:0 1px 3px #000c;}
.emra-section-title[hidden]{display:none;}
@media (max-width:760px),(max-width:1024px) and (max-height:500px){
 body.emra-redesign:not(.emra-native-tv) .emra-section-title:not([hidden]){display:block;}
 body.emra-redesign.emra-library-home:not(.emra-native-tv) .el-home .el-scroll{top:var(--nav-header-inset);}
 body.emra-redesign:not(.emra-native-tv) .erc-library-header h1{display:none;}
}

@media (max-width:760px),(max-width:1024px) and (max-height:500px){
 body.emra-redesign.emra-library-home:not(.emra-native-tv) .el-home .el-hero{display:none;}
 body.emra-redesign.emra-library-home:not(.emra-native-tv) .el-home .el-shelves{padding-top:8px;}
 body.emra-redesign.emra-library-home:not(.emra-native-tv) .el-shelves .el-shelf:first-child{margin-top:0;}
}

body.emra-redesign:not(.emra-native-tv) .el-top-actions .el-profile,body.emra-redesign:not(.emra-native-tv) .head__actions>.open--profile{box-sizing:border-box;width:44px!important;height:44px!important;min-width:44px;min-height:44px;padding:0!important;flex:0 0 44px;transform:none;}
    
/* Keep transient messages clear of the cinema navigation. */
body.emra-redesign:not(.emra-native-tv) .noty {
 bottom: var(--nav-clearance, 104px);
 z-index: 1000;
}
