/* Cinema downstream: touch browser layout; TV and desktop unchanged. */
html,body{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (max-width:800px) and (pointer:coarse), (max-width:600px){
:root{
 --tv-safe-gutter:16px!important;--tv-safe-gutter-wide:20px!important;
 --tv-card-radius:10px!important;--tv-card-gap:10px!important;
 --tv-button-height:46px!important;--tv-button-padding-x:14px!important;
 --tv-control-size:44px!important;--tv-control-icon-size:22px!important;
 --tv-caption-text:12px!important;--tv-secondary-text:14px!important;
 --tv-body-text:16px!important;--tv-subtitle-text:20px!important;--tv-title-text:28px!important;
}
html,body{width:100%;height:100%;font-size:16px!important;overflow:hidden}
#app,.screen{width:100%!important;height:100vh!important;height:100dvh!important;max-width:100%;overflow-x:hidden}
.screen:not(#player){overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
#account .qr-layout{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:20px!important;width:100%!important;height:auto!important;min-height:100%;max-width:100%!important;padding:56px 18px 24px!important;padding-bottom:max(24px,env(safe-area-inset-bottom))!important;overflow:visible!important}
#account .qr-left-panel,#account .qr-card-panel,#account .qr-card,#account .qr-copy-block{position:relative!important;inset:auto!important;flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;transform:none!important}
#account .qr-left-panel{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;padding:0!important;text-align:left!important}
#account .qr-brand-lockup{width:auto!important;max-width:180px!important;margin:0!important}
#account .qr-logo{width:140px!important;height:auto!important;max-height:44px!important;object-fit:contain}
#account .qr-title{font-size:30px!important;line-height:1.12!important;letter-spacing:-.03em!important;margin:8px 0!important;text-align:left!important}
#account .qr-description,#account .qr-card-subtitle,#account .qr-login-instruction{font-size:15px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important;margin:8px 0!important}
#account .qr-card-panel{display:block!important;padding:0!important}
#account .qr-card{padding:18px!important;border-radius:16px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;text-align:left!important;overflow:visible!important}
#account .qr-card-title{font-size:23px!important;line-height:1.2!important;margin:0!important;text-align:left!important}
#account .qr-email-form,#account .qr-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:10px!important;margin:0!important}
#account .qr-auth-input,#account .qr-action-btn{width:100%!important;max-width:100%!important;min-height:48px!important;height:auto!important;padding:12px!important;font-size:16px!important;white-space:normal!important;line-height:1.3!important;transform:none!important}
#account .qr-input-label,#account .qr-terms,#account .qr-terms-link,#account .qr-status,#account .qr-code-text,#account .qr-manual-text,#account .qr-expiry{font-size:14px!important;line-height:1.4!important;overflow-wrap:anywhere}
#account .qr-code-frame{align-self:center;width:min(220px,100%)!important;height:auto!important;aspect-ratio:1}
#account .qr-code-frame img,#account .qr-code-frame canvas,#account .qr-code-frame svg{max-width:100%!important;height:auto!important}
#account .qr-server-menu-trigger{position:absolute!important;top:8px!important;left:auto!important;right:16px!important;width:44px!important;height:44px!important;font-size:24px!important;z-index:10}
#account .qr-server-menu{position:absolute!important;top:56px!important;right:16px!important;left:auto!important;width:min(300px,calc(100% - 32px))!important;max-width:100%!important;font-size:15px!important;z-index:20}
#account .qr-server-menu-item{white-space:normal!important;font-size:15px!important;min-height:44px!important}
#app :is(input,textarea,select){font-size:16px!important;max-width:100%}
#app :is(button,[role=button]){touch-action:manipulation;white-space:normal}
#app :is(.home-shell,.home-screen-shell){max-width:100%;min-width:0}
#app :is(.home-main,.home-screen-main,.home-route-content){min-width:0!important;max-width:100%!important}
#app :is(.home-main,.home-screen-main){overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch}
#app :is(.poster-card,.home-poster-card){max-width:42vw}
#app :is(.home-row-track,.modern-row-track,.catalog-row,.poster-row){overflow-x:auto!important;touch-action:pan-x pan-y;scrollbar-width:none}
#app .focused{scroll-margin:12px}
[role=dialog],.settings-dialog,.app-update-dialog{max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 36px)!important;overflow-y:auto!important;overflow-x:hidden!important;overflow-wrap:anywhere;font-size:16px!important}
[role=dialog] :is(h1,h2,h3),.settings-dialog-title{font-size:22px!important;line-height:1.2!important}
[role=dialog] :is(button,p,input),.settings-dialog-option,.settings-text-dialog-message{font-size:16px!important;line-height:1.4!important;white-space:normal!important}
#player video{max-width:100%;max-height:100%;object-fit:contain}
}
