.app-header .mini-avatar.mikki-top-logo-removed {
  display: none !important;
}

.app-header:has(.mikki-top-logo-removed) {
  grid-template-columns: auto minmax(0, 1fr) auto auto !important;
}

.bottom-fab-dice:has(.mikki-bottom-logo) {
  position: absolute !important;
  left: 50% !important;
  bottom: 25px !important;
  width: 72px !important;
  height: 72px !important;
  transform: translateX(-50%) !important;
  overflow: visible !important;
  isolation: isolate;
  background: #edf4e6 !important;
  border: 4px solid #fffdf4 !important;
  box-shadow: 0 0 0 2px #91a65a, 0 10px 24px rgba(36,67,45,.32) !important;
}

.mikki-bottom-logo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
}

.bottom-fab-dice:has(.mikki-bottom-logo)::before,
.bottom-fab-dice:has(.mikki-bottom-logo)::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -7px;
  border: 2px solid rgba(200,169,87,.75);
  border-radius: 50%;
  pointer-events: none;
}

.bottom-fab-dice:has(.mikki-bottom-logo)::after {
  inset: -13px;
  border-color: rgba(83,126,69,.42);
}

.bottom-fab-dice.mikki-home-burst {
  animation: mikkiLogoPop .62s cubic-bezier(.16,.84,.32,1) both !important;
}

.bottom-fab-dice.mikki-home-burst::before {
  animation: mikkiGoldRing .62s ease-out both;
}

.bottom-fab-dice.mikki-home-burst::after {
  animation: mikkiSageRing .62s .06s ease-out both;
}

.mikki-home-burst .mikki-bottom-logo {
  animation: mikkiLogoSpin .62s cubic-bezier(.2,.8,.25,1) both;
}

html.mikki-refreshing .mobile-shell {
  animation: mikkiPageGlow .62s ease both;
}

.mobile-shell.is-home .brand-lockup strong {
  color: #25442f !important;
  text-shadow: 0 1px rgba(255,255,255,.7) !important;
}

.mobile-shell.is-home .brand-lockup span {
  color: #896b13 !important;
  font-weight: 900 !important;
  text-shadow: 0 1px rgba(255,255,255,.7) !important;
}

.mobile-shell.is-home .app4-bottom-actions {
  bottom: 54px !important;
  width: min(424px, calc(100vw - 6px)) !important;
  gap: 86px !important;
  align-items: end !important;
}

.mobile-shell.is-home .app4-bottom-actions a {
  min-height: 38px !important;
  border-radius: 15px 15px 0 0 !important;
  border-bottom: 0 !important;
  box-shadow: 0 -5px 14px rgba(52,75,33,.16), inset 0 1px rgba(255,255,255,.35) !important;
}

#markets.mikki-markets-refresh .market-card {
  animation: mikkiCardRefresh .68s cubic-bezier(.2,.75,.25,1) both;
}

#markets.mikki-markets-refresh .market-card:nth-child(2n) { animation-delay: .06s; }
#markets.mikki-markets-refresh .market-card:nth-child(3n) { animation-delay: .11s; }

@keyframes mikkiLogoPop {
  0% { transform: translateX(-50%) scale(1); filter: brightness(1); }
  42% { transform: translateX(-50%) translateY(-7px) scale(1.16); filter: brightness(1.22) saturate(1.18); }
  100% { transform: translateX(-50%) scale(1); filter: brightness(1); }
}

@keyframes mikkiLogoSpin {
  0% { transform: rotate(0deg); }
  60% { transform: rotate(12deg) scale(1.04); }
  100% { transform: rotate(0deg); }
}

@keyframes mikkiGoldRing {
  from { opacity: 1; transform: scale(.88); box-shadow: 0 0 5px #e4cd82; }
  to { opacity: 0; transform: scale(1.75); box-shadow: 0 0 28px #e4cd82; }
}

@keyframes mikkiSageRing {
  from { opacity: .9; transform: scale(.82); }
  to { opacity: 0; transform: scale(2.05); }
}

@keyframes mikkiPageGlow {
  0% { filter: brightness(1); }
  48% { filter: brightness(1.09) saturate(1.12); }
  100% { filter: brightness(1); }
}

@keyframes mikkiCardRefresh {
  0% { transform: translateY(0); filter: brightness(1); }
  42% { transform: translateY(-4px); filter: brightness(1.1) saturate(1.08); box-shadow: 0 12px 28px rgba(92,119,44,.27); }
  100% { transform: translateY(0); filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  .bottom-fab-dice.mikki-home-burst,
  .bottom-fab-dice.mikki-home-burst::before,
  .bottom-fab-dice.mikki-home-burst::after,
  .mikki-home-burst .mikki-bottom-logo,
  html.mikki-refreshing .mobile-shell { animation-duration: .01ms !important; }
}
