/* Keep the live accumulated prize unmistakable over the moving track. */
.mr-demo .mr-demo__earnings-panel {
  box-sizing: border-box;
  width: clamp(182px, 42cqw, 260px);
  min-height: 138px;
  flex: none;
  padding: 17px 17px 16px;
  border: 2.5px solid #8de4ff;
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 50% 48%, #ffe54838, transparent 56%),
    radial-gradient(ellipse at 50% 0, #1598e55c, transparent 72%),
    linear-gradient(145deg, #075281fa, #052444fa 62%, #03172ffa);
  box-shadow:
    inset 0 2px 0 #e1f8ff6b,
    inset 0 -9px 19px #00101f68,
    0 0 0 3px #0ab5ff40,
    0 10px 28px #001020d1,
    0 0 27px #13b5ff66;
  text-align: center;
}

.mr-demo .mr-demo__earnings-panel > span {
  display: block;
  color: #d6f5ff;
  font-size: clamp(12px, 2.8cqw, 16px);
  font-weight: 900;
  letter-spacing: 1.1px;
  text-shadow: 0 0 9px #40c8ff78;
}

.mr-demo .mr-demo__earnings-panel > span::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 9px 1px 0;
  border-radius: 50%;
  background: #fff06a;
  box-shadow: 0 0 0 4px #ffe34a2b, 0 0 13px #ffe34ad9;
  content: "";
  vertical-align: middle;
}

.mr-demo .mr-demo__earnings-panel > strong {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin: 10px -6px 13px;
  color: #fff18a;
  font-size: clamp(26px, 7.2cqw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.8px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-shadow: 0 2px #70520c, 0 0 14px #ffdb4f75;
}

.mr-demo .mr-demo__earnings-panel > small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #6ed5ffad;
  border-radius: 12px;
  background: linear-gradient(100deg, #0a5688f2, #092b4bf7);
  color: #a5e7ff;
  font-size: clamp(12px, 2.7cqw, 15px);
  line-height: 1.1;
}

.mr-demo .mr-demo__earnings-panel > small > span {
  color: #a5e7ff;
  font-weight: 900;
  letter-spacing: 1px;
}

.mr-demo .mr-demo__earnings-panel > small > b {
  color: #fff;
  font-size: 1.08em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .mr-demo .mr-demo__hud {
    left: 9px;
    right: 9px;
    gap: 7px;
  }

  .mr-demo .mr-demo__goal-panel {
    width: min(166px, calc(50cqw - 14px));
  }

  .mr-demo .mr-demo__earnings-panel {
    width: min(196px, calc(50cqw - 14px));
    min-height: 132px;
    padding: 15px 12px 14px;
  }
}

@media (max-width: 360px) {
  .mr-demo .mr-demo__hud {
    top: max(10px, env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    gap: 8px;
  }

  .mr-demo .mr-demo__earnings-panel {
    width: min(190px, calc(50cqw - 14px));
    min-height: 124px;
    padding: 13px 10px 12px;
  }

  .mr-demo .mr-demo__earnings-panel > strong {
    min-height: 48px;
    margin: 8px -4px 11px;
    font-size: clamp(24px, 7.5cqw, 40px);
  }

  .mr-demo .mr-demo__earnings-panel > small {
    gap: 5px;
    padding: 8px;
    font-size: 11px;
  }

  .mr-demo .mr-demo__earnings-panel > small > span {
    letter-spacing: .7px;
  }
}

@media (max-height: 600px) {
  .mr-demo .mr-demo__earnings-panel {
    min-height: 0;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .mr-demo .mr-demo__earnings-panel > strong {
    min-height: 42px;
    margin-top: 6px;
    margin-bottom: 8px;
  }
}
