/* Only small fixed auth controls; no old cinema styles overwritten. */
#eptCinemaClassicAccountActions{position:fixed;top:calc(env(safe-area-inset-top, 0px) + 12px);right:14px;z-index:9990;display:flex;gap:7px;align-items:center;font-family:inherit}
#eptCinemaClassicAccountActions button{background:#0b2345;color:white;border:1px solid #4c89e3;border-radius:30px;padding:9px 13px;font:600 13px inherit;box-shadow:0 3px 15px #0007;cursor:pointer}
#eptCinemaClassicAccountActions [hidden]{display:none!important}
@media (max-width:600px){#eptCinemaClassicAccountActions{top:calc(env(safe-area-inset-top, 0px) + 6px);right:8px}#eptCinemaClassicAccountActions button{padding:8px 9px;font-size:12px}}


/* EPT_CLASSIC_HEADER_SPACING_V11 */
/* Keep classic sign-in and EPT Card buttons in their own mobile header row. */
@media (max-width: 760px) {
  body:has(#eptCinemaClassicAccountActions) #app {
    padding-top: calc(env(safe-area-inset-top, 0px) + 54px) !important;
    box-sizing: border-box;
  }
  #eptCinemaClassicAccountActions {
    top: calc(env(safe-area-inset-top, 0px) + 8px) !important;
    right: 12px !important;
    left: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    max-width: calc(100vw - 24px);
    gap: 8px !important;
  }
  #eptCinemaClassicAccountActions button {
    max-width: min(38vw, 165px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px !important;
    min-height: 38px;
    flex: 0 1 auto;
  }
}


/* EPT_ACCOUNT_ROW_V12 */
@media (max-width: 760px) {
  body:has(#eptCinemaClassicAccountActions) #app {padding-top:0 !important;}
  #app .ept-account-row-slot {height:48px; margin:4px 0 12px; position:relative;}
  #eptCinemaClassicAccountActions {
    position:absolute !important; bottom:auto !important; left:auto !important;
    transform:none !important; display:flex !important; flex-flow:row nowrap !important;
    justify-content:flex-end !important; max-width:calc(100% - 24px) !important;
    gap:8px !important; z-index:9990 !important;
  }
  #eptCinemaClassicAccountActions button {min-width:0;max-width:min(42vw,174px) !important;
    text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:12px !important;}
}


/* EPT_CINEMA_LEGACY_ACCOUNT_ENTRY_V14 */
/* The official Cinema login and EPT Card controls live in the approved account row. */
#app header .account-trigger[data-act="account"]{display:none!important;}
