/* Navigation cues occupy their own row; posters and video controls stay clear. */
#main .shelf-motion-controls{display:flex;align-items:center;gap:14px;min-height:44px;margin:0 0 10px;width:100%;min-width:0}#main .shelf-motion-controls[hidden]{display:none!important}#main .shelf-motion-hint{display:inline-flex;align-items:center;gap:8px;color:#b7adb0;font-size:11px;letter-spacing:.02em;white-space:nowrap}#main .shelf-motion-hint[hidden]{display:none}#main .shelf-motion-hint>span{font-size:19px;color:#eac586}#main .shelf-motion-progress{height:3px;max-width:160px;min-width:32px;flex:1;border-radius:5px;background:linear-gradient(90deg,#ef3653 var(--shelf-progress,0%),#363039 var(--shelf-progress,0%));margin-left:auto}#main .shelf-motion-buttons{display:flex;gap:8px;margin-left:auto}#main .shelf-motion-button{width:40px;height:36px;display:grid;place-items:center;border-radius:9px;border:1px solid #80674166;background:linear-gradient(150deg,#242027,#14141a);color:#f4ce88;font-size:20px;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}#main .shelf-motion-button:disabled{opacity:.28;cursor:default}#main .shelf-motion-button:not(:disabled):hover{border-color:#efbd73;background:#382530;transform:translateY(-2px)}#main .shelf-motion-button:focus-visible{outline:2px solid #f2c470;outline-offset:3px}#main .motion-scrollable{scrollbar-width:thin;scrollbar-color:#9e694f #1e1921}#main .motion-more-right{mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 22px),transparent);-webkit-mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 22px),transparent)}#main .motion-more-left{mask-image:linear-gradient(to right,transparent,#000 22px,#000);-webkit-mask-image:linear-gradient(to right,transparent,#000 22px,#000)}#main .motion-more-left.motion-more-right{mask-image:linear-gradient(to right,transparent,#000 22px,#000 calc(100% - 22px),transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 22px,#000 calc(100% - 22px),transparent)}#main .filters:has(>.shelf-motion-controls){flex-wrap:wrap}#main .filters>#genres{flex:1;min-width:0}#main .filters>.shelf-motion-controls{order:3;margin-top:-6px;margin-bottom:0}#main .motion-enter{opacity:.65;transform:translateY(8px);transition:opacity .42s ease,transform .42s ease}#main .motion-enter.motion-entered{opacity:1;transform:none}@media(max-width:650px){#main .shelf-motion-controls{gap:10px;margin-bottom:12px}#main .shelf-motion-hint{font-size:10px}#main .shelf-motion-button{width:40px;height:40px}#main .shelf-motion-progress{max-width:80px}#main .filters>.shelf-motion-controls{margin-top:0}}@media(prefers-reduced-motion:reduce){#main .motion-enter{opacity:1;transform:none;transition:none}#main .shelf-motion-button{transition:none}#main .shelf-motion-button:not(:disabled):hover{transform:none}}
/* Mobile application shell, independent of administration and playback. */
.mobile-app-nav{display:none}
@media(max-width:700px){
body:has(#main:not([hidden])){padding-bottom:calc(82px + env(safe-area-inset-bottom));background:#0b0b10}
body:has(#main:not([hidden])) .header{position:absolute;top:0;left:0;width:100%;height:112px;padding:14px 20px;display:flex;flex-wrap:wrap;gap:10px;background:linear-gradient(#09090ff5,#09090f80,transparent);z-index:20;align-content:start}
body:has(#main:not([hidden])) .header .brand{font-size:23px;gap:8px}.header .brand-logo{width:34px;height:34px;object-fit:contain}
body:has(#main:not([hidden])) .header-right{margin-left:auto;position:static}.header .community-switch{display:none}
body:has(#main:not([hidden])) .header nav{order:3;display:flex;width:100%;justify-content:flex-start;gap:8px;overflow:auto;scrollbar-width:none;margin:0;height:38px}
body:has(#main:not([hidden])) .header nav .nav{padding:9px 15px;font-size:12px;white-space:nowrap;border-radius:22px;background:#ffffff0b;border:1px solid #ffffff16;line-height:1}
body:has(#main:not([hidden])) .header nav .nav.active{background:#f3f1ed;color:#141418}.header nav .nav.active:after{display:none}
body:has(#main:not([hidden])) .header .search{display:none;position:absolute;top:112px;left:20px;width:calc(100% - 40px);max-width:none;padding:10px 14px;background:#1d1d29f5;border:1px solid #ffffff30;border-radius:14px}
body.mobile-search-open:has(#main:not([hidden])) .header .search{display:flex}.header .search input{font-size:16px!important}
#main .hero{height:auto;min-height:650px;min-height: min(740px,94svh);padding:0;display:flex;align-items:flex-end;margin:0 0 10px;overflow:hidden;border-radius:0 0 28px 28px}
#main .hero-art{inset:0;background-position:60% center;opacity:.9}#main .hero-shade{background:linear-gradient(0deg,#0b0b10 0%,#0b0b10e8 16%,#0b0b1060 55%,#0b0b1020 100%)}
#main .hero-content{position:relative;left:auto;bottom:auto;width:100%;max-width:none;padding:280px 22px 24px;margin:0;z-index:2}
#main .hero .eyebrow{font-size:9px;letter-spacing:2px;color:#ecd19a}#main .hero h1{font-size:clamp(30px,8.6vw,43px);line-height:1.05;letter-spacing:-1px;margin:12px 0;max-width:100%;text-wrap:balance}
#main .hero .meta{font-size:11px;gap:7px;margin:10px 0;flex-wrap:wrap}#main .hero .meta .genre{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#main .hero .meta .quality,#main .hero .meta .release-year{font-size:10px;padding:4px 7px}
#main #hero-description{font-size:12px;line-height:1.6;-webkit-line-clamp:2;max-width:100%;margin:10px 0 16px;color:#cac7ce}
#main .hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 0}#main #hero-play{width:100%;min-height:54px;justify-content:center;font-size:17px;font-weight:750;border-radius:14px;background:linear-gradient(120deg,#ff3157,#df103b);box-shadow:0 8px 28px #e51b3f35}
#main #hero-info{min-height:40px;font-size:12px;border-radius:10px;padding:10px 14px}#main .hero-actions .button:not(#hero-play):not(#hero-info){font-size:10px;min-height:40px;padding:9px}
#main .hero-bottom,#main .vertical-label{display:none}#main .hero-carousel-controls{margin-top:12px;gap:7px}#main .hero-carousel-controls button{min-height:34px;padding:5px 10px}#main .cinema-score{font-size:12px}
#main .browse-layout{display:block;padding:12px 20px 20px!important;width:100%;max-width:none}#main .sidebar{display:none}#main .catalog{min-width:0;width:100%}#main .catalog-top{align-items:center;margin:10px 0 18px}#main .catalog-top .eyebrow{font-size:8px;letter-spacing:1.5px}#main .catalog h2{font-size:26px;line-height:1.15;max-width:290px;letter-spacing:-.7px;margin-top:8px}#main .count{font-size:9px;white-space:nowrap}
#main .filters{display:flex;flex-wrap:wrap;margin:0 0 24px;gap:10px;padding-bottom:14px}#main #genres{display:flex;flex-wrap:nowrap;overflow:auto;flex-basis:100%;gap:8px;scrollbar-width:none;padding-bottom:4px}#main .genre-tab{min-height:38px;font-size:12px;padding:9px 15px;white-space:nowrap;flex-shrink:0}#main .sort-label{font-size:11px;margin:0 0 0 auto}#main .sort-label select{font-size:12px;max-width:160px}
#main .section-heading h3,#main .top-rated-section h3{font-size:21px;letter-spacing:-.5px}#main .section-heading>span{font-size:8px;max-width:110px;text-align:right;line-height:1.5}#main .top-rated-section{padding:0;margin:22px 0 30px;border:0}
#main .recent-years-grid,#main .top-rated-grid{grid-auto-columns:calc((100vw - 64px)/2.2);gap:12px;scroll-snap-type:x mandatory;padding:6px 0 16px}#main .ranked-tile{padding-left:20px}#main .ranked-number{font-size:64px;bottom:95px}
#main .poster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}#main .poster-image{border-radius:13px;border:1px solid #ffffff14;box-shadow:0 8px 22px #0005;aspect-ratio:2/3}#main .poster-image img{width:100%;height:100%;object-fit:cover}#main .poster-badge{font-size:8px!important;padding:5px 7px!important;left:7px;top:7px}#main .save-card{width:29px;height:29px;right:6px;top:37px;border-radius:50%}#main .card-title{font-size:13px;line-height:1.4;margin-top:10px}#main .card-meta{font-size:10px;line-height:1.5}#main .poster-stars{font-size:10px}#main .confirmed-media-badge{font-size:8px;top:auto;bottom:8px}
#main .continue-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:12px}#main .continue-card{min-width:78%;scroll-snap-align:start}#main .collection-banner{border-radius:18px;min-height:0;padding:24px;margin-top:25px}#main .collection-banner h3{font-size:25px}
.mobile-app-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#111118f5;backdrop-filter:blur(18px);border-top:1px solid #ffffff16;box-shadow:0 -8px 28px #0003}.mobile-app-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;border:0;color:#95929f;font-size:10px;min-height:47px;padding:4px;cursor:pointer}.mobile-app-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mobile-app-nav button[aria-current=page]{color:#f7cb7d}.mobile-app-nav button[aria-current=page] svg{filter:drop-shadow(0 0 5px #efb75055)}.mobile-app-nav button:active{transform:scale(.93)}
body:has(#main[hidden]) .mobile-app-nav,body:has(dialog[open]) .mobile-app-nav{display:none}body:has(#main:not([hidden])) footer{padding-bottom:25px}.toast{bottom:100px!important}
#main .shelf-motion-controls{gap:8px}#main .shelf-motion-hint{font-size:10px}#main .shelf-motion-buttons{gap:5px}#main .shelf-motion-button{width:33px;height:33px}#main .shelf-motion-progress{max-width:65px}
@media(prefers-reduced-motion:no-preference){#main .poster-image img{transition:transform .3s ease}#main .card-open:active .poster-image img{transform:scale(1.035)}.mobile-app-nav button{transition:color .2s,transform .2s}#main .hero-content{animation:app-rise .5s ease both}@keyframes app-rise{from{opacity:.3;transform:translateY(14px)}to{opacity:1;transform:none}}}
}

