.platform-jump-hud {
  position: fixed;
  top: 68px;
  left: 50%;
  z-index: 9;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 12px;
  width: min(230px, calc(100vw - 28px));
  padding: 8px 11px;
  border: 1px solid rgba(69, 43, 19, 0.58);
  border-radius: 7px;
  background: rgba(31, 28, 22, 0.88);
  box-shadow: 0 4px 14px rgba(16, 12, 8, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #fff8df;
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(5px);
}

.platform-jump-hud.hidden {
  display: none;
}

.platform-jump-hud strong {
  font-size: 12px;
  letter-spacing: 0;
}

.platform-jump-hud > span {
  justify-self: end;
  color: #ffd36a;
  font-size: 12px;
  font-weight: 800;
}

.platform-jump-timer {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.platform-jump-timer i {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffb33f;
  transform-origin: left center;
}

@media (hover: none), (pointer: coarse), (max-width: 920px) {
  .platform-jump-hud {
    top: calc(max(5px, env(safe-area-inset-top)) + 48px);
    width: min(205px, calc(100vw - 24px));
  }
}
