body {
  margin: 0;
}

html {
  overflow: hidden scroll;
}

#loading-bg {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #29243d;
  block-size: 100%;
  gap: 1rem 0;
  inline-size: 100%;
}

/* ============================================================
   Mountain Heartbeat — HeliconTrade primary app loader
   Two quick pulse rings + logo thump. Trading-floor energy.
   ============================================================ */
.l-heartbeat {
  position: relative;
  display: grid;
  block-size: 96px;
  inline-size: 96px;
  place-items: center;
}

.l-heartbeat .pulse {
  position: absolute;
  border: 2px solid #00b8dc;
  border-radius: 50%;
  animation: l-heartbeat-ring 1.8s cubic-bezier(0.3, 0, 0, 1) infinite;
  inset: 0;
  opacity: 0;
}

.l-heartbeat .pulse.b {
  border-color: #10e090;
  animation-delay: 0.18s;
}

.l-heartbeat .mark {
  animation: l-heartbeat-thump 1.8s cubic-bezier(0.3, 0, 0, 1) infinite;
  block-size: 70px;
  inline-size: 70px;
}

.l-heartbeat .mark img {
  display: block;
  block-size: 100%;
  inline-size: 100%;
}

@keyframes l-heartbeat-ring {
  0% { opacity: 0; transform: scale(0.7); }
  25% { opacity: 0.6; }
  100% { opacity: 0; transform: scale(1.4); }
}

@keyframes l-heartbeat-thump {
  0%,
  100% { transform: scale(1); }

  8%,
  22% { transform: scale(1.1); }
  14% { transform: scale(1); }
}
