.d2-mobile-history {
  display: none;
}

@media (max-width: 767.98px) {
  .d2-mobile-history {
    position: fixed;
    left: max(10px, env(safe-area-inset-left));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 1045;
    display: flex;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(22, 92, 55, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 5px 16px rgba(15, 48, 32, .14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .d2-mobile-history__button {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #1f7a48;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 7px rgba(20, 91, 54, .18);
    transition: transform .16s ease, background-color .16s ease, opacity .16s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .d2-mobile-history__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .d2-mobile-history__button:active {
    transform: scale(.94);
  }

  .d2-mobile-history__button:disabled {
    background: transparent;
    color: #aab5ae;
    cursor: default;
    box-shadow: none;
    opacity: .62;
  }
}
