@font-face {
  font-family: MolokoBrand;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/chunks/merchant-font-111026-r8-8.ttf) format('truetype');
}

.moloko-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .17em;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--foreground, #17213a);
  font: 800 22px/1.2 MolokoBrand, "Segoe UI", sans-serif;
  letter-spacing: -.065em;
  text-decoration: none;
}

.moloko-wordmark > span {
  display: inline-block;
}

.moloko-wordmark .moloko-pay {
  color: #315ded;
}

html.dark .moloko-wordmark .moloko-pay {
  color: #89a5ff;
}

.moloko-sidebar-brand {
  color: #fff;
  font-size: 24px;
}

.moloko-sidebar-brand .moloko-pay,
html.dark .moloko-sidebar-brand .moloko-pay {
  color: #9fb8ff;
}

.merchant-cabinet-identity.moloko-wordmark {
  gap: .17em;
  margin-right: 20px;
  font: 800 21px/1.2 MolokoBrand, "Segoe UI", sans-serif;
  letter-spacing: -.065em;
}

.mobile-topbar .moloko-wordmark {
  min-width: 0;
  font-size: 23px;
}

.login-refresh-screen .moloko-login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  text-align: center;
}

.login-refresh-screen .moloko-login-brand .moloko-wordmark {
  color: #17213a;
  font-size: 46px;
  line-height: 1.25;
}

.login-refresh-screen .moloko-login-brand .moloko-wordmark > span {
  animation: moloko-appear .7s cubic-bezier(.22, 1, .36, 1) both;
}

.login-refresh-screen .moloko-login-brand .moloko-wordmark .moloko-pay {
  color: #315ded;
  animation: moloko-appear .8s cubic-bezier(.22, 1, .36, 1) .12s both,
    moloko-accent 7s ease-in-out .92s infinite;
}

@keyframes moloko-appear {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes moloko-accent {
  0%, 100% { color: #315ded; }
  50% { color: #6585eb; }
}

@media (max-width: 680px) {
  .merchant-cabinet-identity.moloko-wordmark {
    margin-right: 0;
    font-size: 23px;
  }
}

@media (max-width: 480px) {
  .login-refresh-screen .moloko-login-brand { margin-bottom: 25px; }
  .login-refresh-screen .moloko-login-brand .moloko-wordmark { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .login-refresh-screen .moloko-login-brand .moloko-wordmark > span {
    animation: none !important;
    transform: none;
    opacity: 1;
  }
}

/* A small CSS 3D card: independent levitation without a canvas or render loop. */
.staff-shell .moloko-sidebar-brand,
.staff-mobile-shell .moloko-mobile-home .moloko-wordmark{
 align-items:center;gap:11px;min-height:36px;perspective:440px;overflow:visible;
}
.staff-shell .moloko-sidebar-brand .moloko-pay,
.staff-mobile-shell .moloko-mobile-home .moloko-pay{
 position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
 width:65px;height:35px;padding:0 6px;border-radius:8px;border:1px solid #7889ff;
 background:linear-gradient(135deg,#5365f8 0%,#3e57e5 55%,#3348c9 100%);color:#fff!important;
 font:800 22px/1 MolokoBrand,"Segoe UI",sans-serif;letter-spacing:-.045em;text-transform:capitalize;
 transform-style:preserve-3d;backface-visibility:hidden;transform-origin:50% 50%;
 transform:translate3d(0,0,5px) rotateX(11deg) rotateY(-15deg) rotateZ(-6deg);
 box-shadow:1px 1px 0 #2842b5,2px 2px 0 #2842b5,3px 3px 0 #23399c,4px 4px 0 #23399c,6px 9px 13px #2c428a24;
 animation:moloko-pay-levitate 6s ease-in-out infinite;will-change:transform;
}
.staff-shell .moloko-sidebar-brand .moloko-pay::before,
.staff-mobile-shell .moloko-mobile-home .moloko-pay::before{
 content:"";position:absolute;inset:0;border-radius:inherit;background:#23399c;
 transform:translateZ(-4px);pointer-events:none;
}
.staff-shell .moloko-sidebar-brand .moloko-pay::after,
.staff-mobile-shell .moloko-mobile-home .moloko-pay::after{
 content:"";position:absolute;inset:1px;border-radius:6px;border:1px solid #ffffff28;
 background:linear-gradient(130deg,#ffffff0d,transparent 55%);transform:translateZ(1px);pointer-events:none;
}
html.dark .staff-shell .moloko-sidebar-brand .moloko-pay,
html.dark .staff-mobile-shell .moloko-mobile-home .moloko-pay{
 border-color:#8696ff;box-shadow:1px 1px 0 #23399c,2px 2px 0 #23399c,3px 3px 0 #17296f,4px 4px 0 #17296f,6px 9px 15px #00000055;
}
.staff-mobile-shell .moloko-mobile-home{overflow:visible}
.staff-mobile-shell .moloko-mobile-home .moloko-wordmark{gap:10px}
.staff-mobile-shell .moloko-mobile-home .moloko-pay{width:59px;height:32px;font-size:20px}

@keyframes moloko-pay-levitate{
 0%,100%{transform:translate3d(0,0,5px) rotateX(11deg) rotateY(-15deg) rotateZ(-6deg)}
 25%{transform:translate3d(0,-3px,9px) rotateX(4deg) rotateY(-8deg) rotateZ(-3deg)}
 50%{transform:translate3d(0,-2px,7px) rotateX(-4deg) rotateY(10deg) rotateZ(2deg)}
 75%{transform:translate3d(0,1px,3px) rotateX(7deg) rotateY(-5deg) rotateZ(-3deg)}
}
@media(max-width:360px){
 .staff-mobile-shell .moloko-mobile-home .moloko-wordmark{gap:8px}
 .staff-mobile-shell .moloko-mobile-home .moloko-pay{width:53px;height:30px;font-size:19px}
}
@media(prefers-reduced-motion:reduce){
 .staff-shell .moloko-sidebar-brand .moloko-pay,
 .staff-mobile-shell .moloko-mobile-home .moloko-pay{animation:none!important;will-change:auto}
}
