/* Заставка businessmaket.ru: page-transition.tsx + globals.css. */
#bmSyncOverlay,.bm-loading-screen{position:fixed;inset:0;background:#fff;z-index:9999;display:flex;align-items:center;justify-content:center;transform:translateY(0);transition:transform .5s cubic-bezier(.4,0,.2,1);overflow:hidden}
#bmSyncOverlay.hidden,.bm-loading-screen.bm-loading-leaving{transform:translateY(-100%);pointer-events:none}
.bm-sync-logo{width:25%;height:25%;min-width:180px;min-height:180px;animation:bmStartupRotate .7s ease-in-out forwards}
.bm-sync-logo img{display:block;width:100%;height:100%;object-fit:contain;animation:bmStartupPulse 2s cubic-bezier(.4,0,.6,1) .7s infinite}
@keyframes bmStartupRotate{from{transform:rotate(0deg)}to{transform:rotate(90deg)}}
@keyframes bmStartupPulse{0%,100%{opacity:1}50%{opacity:.5}}
.bm-sync-status{position:absolute;left:20px;right:20px;bottom:max(32px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.bm-sync-text{font-size:13px;color:#6b7280;font-weight:500;animation:bmStartupStatus .2s 1.8s both}
@keyframes bmStartupStatus{from{opacity:0}to{opacity:1}}
.bm-sync-error{font-size:13px;color:#b42318;font-weight:600;max-width:360px;display:none;line-height:1.5}
#bmSyncRetryBtn{padding:8px 24px;background:#1558A8;color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;display:none}
@media (prefers-reduced-motion:reduce){
  #bmSyncOverlay,.bm-loading-screen{transition:none}
  .bm-sync-logo{animation:none;transform:rotate(90deg)}
  .bm-sync-logo img,.bm-sync-text{animation:none}
}


/* Local loading states show only the logo. Multiply removes the JPEG white matte.
 * Keep the status text in the DOM for assistive technology; errors restore normal styles. */
[data-bm-loading]{box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:132px;padding:16px;background:transparent!important;color:transparent!important;font-family:inherit;font-size:0!important;mix-blend-mode:multiply;font-weight:500;line-height:1.5;text-align:center}
[data-bm-loading]::before,.bm-loading-exit-logo{content:"";display:block;flex:none;width:100px;height:100px;background:url("bm-startup-logo.jpg") center/contain no-repeat;animation:bmStartupRotate .7s ease-in-out forwards,bmStartupPulse 2s cubic-bezier(.4,0,.6,1) .7s infinite}
[data-bm-loading="compact"]{display:inline-flex!important;flex-direction:row;min-height:0;padding:0;background:transparent;font-size:inherit}
[data-bm-loading="compact"]::before{width:32px;height:32px}
[data-bm-loading]>.ld,[data-bm-loading]>.spin{display:none!important}
.bm-loading-exit{position:fixed;z-index:10020;overflow:hidden;pointer-events:none;contain:layout paint;mix-blend-mode:multiply}
.bm-loading-exit-inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:transparent;color:transparent;gap:8px;font:500 0/1.5 system-ui;text-align:center;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.bm-loading-exit-logo{animation:none;transform:rotate(90deg)}
.bm-loading-exit.bm-loading-leaving .bm-loading-exit-inner{transform:translateY(-100%)}
.bm-loading-button{position:relative}
.bm-loading-button::before{content:"";display:inline-block;vertical-align:middle;width:24px;height:24px;margin-right:6px;mix-blend-mode:multiply;background:url("bm-startup-logo.jpg") center/contain no-repeat;animation:bmStartupRotate .7s ease-in-out forwards,bmStartupPulse 2s .7s infinite}
@media(prefers-reduced-motion:reduce){
 [data-bm-loading]::before,.bm-loading-button::before{animation:none;transform:rotate(90deg)}
 .bm-loading-exit{display:none}
}

.bm-loading-retry{padding:8px 24px;border:0;border-radius:8px;background:#1558a8;color:white;font:700 13px system-ui;cursor:pointer}
.mk-im-up .spin{mix-blend-mode:multiply;background:transparent url("bm-startup-logo.jpg") center/contain no-repeat;border:0!important;border-radius:0;animation:bmStartupRotate .7s ease-in-out forwards,bmStartupPulse 2s .7s infinite}

[data-bm-loading][hidden]{display:none!important}
