/* Non-blocking foreground activity, above the app and operation panels. */
#food-screen-loading{position:fixed;z-index:100010;top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 16px);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100vw - 32px);padding:10px 15px 10px 10px;border:1px solid var(--food-ui-soft,#fecdd3);border-radius:100px;background:var(--food-ui-surface,#fffaf8);box-shadow:0 8px 28px color-mix(in srgb, var(--food-ui-action,rgb(136 19 55)) 9.412%, transparent);color:var(--food-ui-action,#9f1239);font:600 12px/1.4 system-ui,sans-serif;pointer-events:none;white-space:nowrap}
#food-screen-loading[hidden]{display:none!important}
.food-loading-mark{display:grid;place-items:center;width:32px;height:32px;flex:none;background:var(--food-ui-surface,#fff1f2);border-radius:50%;animation:food-loading-lift 1.2s ease-in-out infinite}
.food-loading-mark img{display:block;object-fit:contain;width:24px;height:24px}
.food-loading-dots{display:flex;gap:3px;margin-left:2px}
.food-loading-dots i{display:block;width:4px;height:4px;border-radius:50%;background:var(--food-ui-action,#e11d48);animation:food-loading-dot 1s ease-in-out infinite}
.food-loading-dots i:nth-child(2){animation-delay:.13s}.food-loading-dots i:nth-child(3){animation-delay:.26s}
@keyframes food-loading-lift{0%,100%{transform:translateY(1px)}50%{transform:translateY(-2px)}}
@keyframes food-loading-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
/* Food uses the same artwork, dimensions and background before/after login. */
html.fluxo-food-app #food-flat-sync,html.fluxo-food-app #food-flat-sync-early{background:var(--food-ui-surface,#fffaf9)!important;flex-direction:column;gap:28px;transition:opacity .36s cubic-bezier(.22,1,.36,1),visibility 0s .36s}
html.fluxo-food-app #food-flat-sync.is-on,html.fluxo-food-app #food-flat-sync-early.is-on{transition:opacity .36s cubic-bezier(.22,1,.36,1),visibility 0s}
html.fluxo-food-app body #food-flat-sync .fx-app-logo,html.fluxo-food-app body #food-flat-sync-early .fx-app-logo{width:160px!important;height:168px!important}
html.fluxo-food-app #food-flat-sync::after,html.fluxo-food-app #food-flat-sync-early::after{content:none!important;animation:none!important}
html.fluxo-food-app #food-flat-sync>img,html.fluxo-food-app #food-flat-sync-early>img{display:none!important}
@media(prefers-reduced-motion:reduce){.food-loading-mark,.food-loading-dots i{animation:none!important}html.fluxo-food-app #food-flat-sync,html.fluxo-food-app #food-flat-sync-early{transition:none}}

html.food-app-layout #food-screen-loading{bottom:calc(104px + env(safe-area-inset-bottom,0px))}
html.fluxo-food-app body:has(#fluxo-toast-region .fluxo-toast:not(.fluxo-toast-leaving)) #food-screen-loading{visibility:hidden}

/* Accessible greeting copy, while glyphs enter without moving the layout. */
.food-intro-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Arm the first home before insertion; never show it and then hide it to animate. */
html.fluxo-food-app .ff-home[data-food-entry="pending"]{opacity:0!important;pointer-events:none!important}
html.food-home-open.food-home-entry-pending #food-app-nav{visibility:hidden!important;pointer-events:none!important}

/* The Food router owns page fades. Legacy translate utilities must not create
   containing blocks for fixed buttons or trigger a second CSS transition. */
html.food-app-layout #app-main-scroll > .tab-content,
html.food-app-layout #food-app-more,
html.food-app-layout #food-operations.fw-screen {
 transform:none!important;transition:none!important;
}

/* The shared flux-rise CSS animation competes with FoodScreenMotion opacity
   and delays painted() until it finishes. Food has one navigation owner. */
html.fluxo-food-app #app-container .tab-content:not(.hidden),
html.fluxo-food-app #food-app-more,
html.fluxo-food-app #food-operations.fw-screen{
 animation:none!important;
}
