@layer cinexso-responsive-repairs {
/* One inset owner. Header height is separate from the native safe top. */
:root[data-cx-installed-touch]{--cx-device-top:env(safe-area-inset-top,0px);--cx-device-right:env(safe-area-inset-right,0px);--cx-device-bottom:env(safe-area-inset-bottom,0px);--cx-device-left:env(safe-area-inset-left,0px);--cx-safe-top:max(12px,var(--cx-device-top))!important;--cx-safe-right:var(--cx-device-right)!important;--cx-safe-bottom:var(--cx-device-bottom)!important;--cx-safe-left:var(--cx-device-left)!important}
html[data-cx-installed-touch] body #viewer-shell::before{content:"";position:absolute;top:0;left:0;right:0;height:var(--cx-safe-top);background:var(--cx-bg,#111111);z-index:61;pointer-events:none}
html[data-cx-installed-touch] body #viewer-shell>.viewer-top{background:var(--cx-bg,#111111)!important}
html[data-cx-installed-touch] body #viewer-shell>.viewer-main{padding-top:0!important}
html[data-cx-installed-touch] body .auth-layout .brand{top:calc(var(--cx-safe-top) + 25px)!important;left:calc(var(--cx-safe-left) + 24px)!important}
html[data-cx-installed-touch] body .auth-layout::after{content:"";position:fixed;top:0;left:0;right:0;height:var(--cx-safe-top);background:var(--cx-bg,#111111);z-index:61;pointer-events:none}
html[data-cx-installed-touch] body .auth-layout{padding:var(--cx-safe-top) var(--cx-safe-right) var(--cx-safe-bottom) var(--cx-safe-left);min-height:100dvh;box-sizing:border-box}


 html[data-cx-installed-touch] body #viewer-shell{position:absolute!important;inset:auto!important;left:var(--cx-visible-left,0px)!important;top:var(--cx-visible-top,0px)!important;width:var(--cx-visible-width,100%)!important;max-width:100%!important;height:100vh!important;height:var(--cx-visible-height,100dvh)!important;min-height:0!important;margin:0!important;overflow:hidden!important;box-sizing:border-box!important}
 html[data-cx-installed-touch] body #viewer-shell>.viewer-top{position:absolute!important;top:var(--cx-safe-top)!important;left:var(--cx-safe-left)!important;right:var(--cx-safe-right)!important;width:auto!important;height:64px!important;min-height:64px!important;margin:0!important;padding:0 12px!important;gap:8px!important;box-sizing:border-box!important;z-index:60!important}
 html[data-cx-installed-touch] body #viewer-shell.has-title-page>.viewer-top{padding-right:72px!important}
 html[data-cx-installed-touch] body #viewer-shell .viewer-tools{min-width:0!important;flex-wrap:nowrap!important;gap:8px!important}
 html[data-cx-installed-touch] body #viewer-shell>.viewer-main{position:absolute!important;inset:auto!important;top:calc(var(--cx-safe-top) + 64px)!important;left:var(--cx-safe-left)!important;right:var(--cx-safe-right)!important;bottom:calc(var(--cx-safe-bottom) + var(--cx-nav-space,68px))!important;width:auto!important;height:auto!important;max-width:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding-bottom:24px!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;box-sizing:border-box!important;z-index:0!important;isolation:isolate}
 html[data-cx-installed-touch] body #viewer-shell>.catalog-mobile-nav{position:absolute!important;inset:auto!important;left:var(--cx-safe-left)!important;right:var(--cx-safe-right)!important;bottom:0!important;width:auto!important;height:calc(68px + var(--cx-safe-bottom))!important;min-height:0!important;padding:4px 8px calc(4px + var(--cx-safe-bottom))!important;margin:0!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;gap:0!important;box-sizing:border-box!important;z-index:60!important}
 html[data-cx-installed-touch] body #viewer-shell .viewer-rail{display:none!important}
 html[data-cx-installed-touch] body #viewer-shell.has-title-page>#title-navigation{position:absolute!important;inset:auto!important;top:calc(var(--cx-safe-top) + 8px)!important;right:calc(var(--cx-safe-right) + 12px)!important;left:auto!important;bottom:auto!important;width:48px!important;height:48px!important;min-width:0!important;max-width:calc(100% - 24px)!important;margin:0!important;padding:0!important;z-index:80!important;pointer-events:auto!important;transform:none!important}
 html[data-cx-installed-touch] body #viewer-shell.has-title-page>#title-navigation #title-back{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0!important;touch-action:manipulation;pointer-events:auto!important;flex:none!important;font-size:0!important;line-height:0!important;border-radius:10px!important}
 html[data-cx-installed-touch] body #viewer-shell.has-title-page>#title-navigation #title-back:after{display:none!important;content:none!important}
 html[data-cx-installed-touch] body #viewer-shell.has-title-page>#title-navigation #title-back svg{display:block!important;width:23px!important;height:23px!important;pointer-events:none}
 html[data-cx-installed-touch] body #viewer-shell.has-title-page>#title-navigation[hidden]{display:none!important}
 html[data-cx-installed-touch] body #viewer-shell .feature-content,html[data-cx-installed-touch] body #viewer-shell #title-intro{min-width:0;max-width:100%;box-sizing:border-box}
 html[data-cx-installed-touch] body dialog:is(#account-dialog,#catalog-collections,#install-dialog){inset:max(12px,var(--cx-safe-top)) max(12px,var(--cx-safe-right)) max(12px,var(--cx-safe-bottom)) max(12px,var(--cx-safe-left))!important;margin:auto!important;max-width:calc(var(--cx-visible-width,100vw) - max(12px,var(--cx-safe-left)) - max(12px,var(--cx-safe-right)))!important;max-height:calc(var(--cx-visible-height,100dvh) - max(12px,var(--cx-safe-top)) - max(12px,var(--cx-safe-bottom)))!important;box-sizing:border-box!important}

@layer cinexso-responsive-repairs {
@media(max-width:1100px){
html body #admin-shell.admin-visual-refresh.admin-controls-unified.admin-compact-summary{box-sizing:border-box!important;padding:calc(var(--cx-safe-top) + 16px) calc(var(--cx-safe-right) + 16px) calc(var(--cx-safe-bottom) + 20px) calc(var(--cx-safe-left) + 16px)!important;scroll-padding-top:calc(var(--cx-safe-top) + 16px);scroll-padding-bottom:calc(var(--cx-safe-bottom) + 20px)}
html body dialog[open]{inset:calc(var(--cx-visible-top,0px) + max(12px,var(--cx-safe-top))) calc(max(12px,var(--cx-safe-right))) auto calc(var(--cx-visible-left,0px) + max(12px,var(--cx-safe-left)))!important;margin:0 auto!important;max-width:calc(var(--cx-visible-width,100vw) - max(12px,var(--cx-safe-left)) - max(12px,var(--cx-safe-right)))!important;max-height:calc(var(--cx-visible-height,100dvh) - max(12px,var(--cx-safe-top)) - max(12px,var(--cx-safe-bottom)))!important;box-sizing:border-box!important}
html body #player-modal:not(.is-hidden){width:calc(var(--cx-visible-width,100vw) - var(--cx-safe-left) - var(--cx-safe-right) - 16px)!important;inset:calc(var(--cx-visible-top,0px) + var(--cx-safe-top) + 8px) calc(var(--cx-safe-right) + 8px) auto calc(var(--cx-visible-left,0px) + var(--cx-safe-left) + 8px)!important;height:calc(var(--cx-visible-height,100dvh) - var(--cx-safe-top) - var(--cx-safe-bottom) - 16px)!important;max-height:calc(var(--cx-visible-height,100dvh) - var(--cx-safe-top) - var(--cx-safe-bottom) - 16px)!important;padding:0!important;box-sizing:border-box!important}
html body #player-modal:not(.is-hidden)>.player-sheet{max-height:100%!important;min-height:0!important;overflow-y:auto!important}
}
}

@media(max-width:1100px){#viewer-shell #viewer-admin-shortcut{min-height:44px!important}}
@media(max-width:1100px){
html body #viewer-shell>.viewer-top #search-toggle,html body #viewer-shell>.viewer-top #rail-account{display:none!important}
html body #viewer-shell>.viewer-top .viewer-logo{min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important}
html body #viewer-shell.has-title-page>.viewer-top .viewer-logo .wordmark{display:none!important}
html body #viewer-shell.has-title-page>.viewer-top .viewer-logo>img{display:block!important;width:32px!important;height:32px!important;object-fit:contain!important}
}
html[data-cx-installed-touch] body:has(#viewer-shell:not(.is-hidden)){overflow:hidden!important;height:100dvh!important}

html[data-cx-installed-touch] body #viewer-shell.has-title-page>.viewer-top .viewer-tools{margin-right:60px!important}
html[data-cx-installed-touch] body #viewer-shell #viewer-admin-shortcut{min-height:44px!important}


html[data-cx-installed-touch] body #admin-shell.admin-visual-refresh.admin-controls-unified.admin-compact-summary{box-sizing:border-box!important;padding:calc(var(--cx-safe-top) + 16px) calc(var(--cx-safe-right) + 16px) calc(var(--cx-safe-bottom) + 20px) calc(var(--cx-safe-left) + 16px)!important;scroll-padding-top:calc(var(--cx-safe-top) + 16px);scroll-padding-bottom:calc(var(--cx-safe-bottom) + 20px)}
html[data-cx-installed-touch] body dialog[open]{inset:calc(var(--cx-visible-top,0px) + max(12px,var(--cx-safe-top))) calc(max(12px,var(--cx-safe-right))) auto calc(var(--cx-visible-left,0px) + max(12px,var(--cx-safe-left)))!important;margin:0 auto!important;max-width:calc(var(--cx-visible-width,100vw) - max(12px,var(--cx-safe-left)) - max(12px,var(--cx-safe-right)))!important;max-height:calc(var(--cx-visible-height,100dvh) - max(12px,var(--cx-safe-top)) - max(12px,var(--cx-safe-bottom)))!important;box-sizing:border-box!important}
html[data-cx-installed-touch] body #player-modal:not(.is-hidden){width:calc(var(--cx-visible-width,100vw) - var(--cx-safe-left) - var(--cx-safe-right) - 16px)!important;inset:calc(var(--cx-visible-top,0px) + var(--cx-safe-top) + 8px) calc(var(--cx-safe-right) + 8px) auto calc(var(--cx-visible-left,0px) + var(--cx-safe-left) + 8px)!important;height:calc(var(--cx-visible-height,100dvh) - var(--cx-safe-top) - var(--cx-safe-bottom) - 16px)!important;max-height:calc(var(--cx-visible-height,100dvh) - var(--cx-safe-top) - var(--cx-safe-bottom) - 16px)!important;padding:0!important;box-sizing:border-box!important}
html[data-cx-installed-touch] body #player-modal:not(.is-hidden)>.player-sheet{max-height:100%!important;min-height:0!important;overflow-y:auto!important}

@media(max-width:1100px){html body #player-close{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}html body #player-modal:not(.is-hidden) .player-toolbar{position:sticky!important;inset:auto!important;top:0!important;min-height:64px!important;box-sizing:border-box!important;padding:8px 16px!important;background:var(--cx-bg,#111111)!important;backdrop-filter:none!important;z-index:80!important}}
}
