/* A visible return route belongs to the page's existing chrome, not an overlay. */
.global-return-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid currentColor;border-radius:7px;font:600 12px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;text-decoration:none;white-space:nowrap;touch-action:manipulation}
.global-return-link:hover{text-decoration:underline;text-underline-offset:4px}
.global-return-link:focus-visible{outline:3px solid currentColor;outline-offset:3px}

/* Cinema keeps its olive/peach identity and its own main navigation. */
body:has(.agency-bridge){--agency-return-height:48px;--cinema-header-height:85px}
.agency-bridge{position:sticky;top:0;z-index:22;height:var(--agency-return-height);padding-block:0}
.agency-bridge .global-return-link{border:0;padding:0 10px 0 0;font-size:12px;min-height:44px}
.agency-bridge+.site-header{top:var(--agency-return-height)}
body:has(.agency-bridge) .mobile-nav{top:calc(var(--agency-return-height) + var(--cinema-header-height));max-height:calc(100dvh - var(--agency-return-height) - var(--cinema-header-height));overflow-y:auto}
html:has(.agency-bridge){scroll-padding-top:calc(85px + 48px + 12px)}
/* The persistent agency header replaces a floating shortcut over film controls. */
body:has(.agency-bridge)>eiox-network-navigation-v1{position:relative;display:block;inset:auto;z-index:20;width:max-content;margin:0 24px 24px auto}

/* The existing portal shell relocates its brand. Move this native link with it. */
.portal-header nav .global-return-link{min-height:44px}
.shell-brand>.global-return-link{justify-self:start;color:#e9eef8;border-color:#7d8ba6;background:#ffffff0a;font-size:12px;margin-top:-10px}
.shell-brand>.global-return-link:hover{background:#ffffff15}
.presentation-bar{flex-wrap:wrap;gap:12px}
.presentation-bar>.global-return-link{color:inherit;flex-shrink:0}

@media(max-width:800px){
  body:has(.agency-bridge){--cinema-header-height:74px}
  html:has(.agency-bridge){scroll-padding-top:134px}
  .agency-bridge{gap:10px}
  .agency-bridge>a:last-child{font-size:10px}
}
@media(max-width:760px){
  .shell-brand:has(>.global-return-link){display:flex;align-items:center;justify-content:space-between;gap:10px}
  .shell-brand:has(>.global-return-link)>.global-mark{display:none}
  .shell-brand>.global-return-link{order:-1;margin:0;min-height:44px;padding:8px 10px;font-size:12px}
  .shell-brand>strong{font-size:12px;white-space:nowrap}
  .presentation-bar>span{order:3;flex-basis:100%;font-size:10px}
}
@media print{.agency-bridge,.global-return-link{display:none!important}}
