@media (min-width: 768px) {
  .rt-instructions-screen .rt-instructions-back {
    display: flex !important;
    width: auto !important;
    min-width: 10rem !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 3rem auto 0 !important;
    padding: .75rem 1.25rem !important;
    border-radius: 999px !important;
    font-size: .9rem !important;
  }
}

@media (max-width: 767px) {
  .rt-instructions-screen {
    height: calc(100dvh - var(--rt-header-height, 66px)) !important;
    overflow-y: auto !important;
    scroll-snap-type: y mandatory !important;
    background: #030405 !important;
    scrollbar-width: none;
  }

  .rt-instructions-screen::-webkit-scrollbar {
    display: none;
  }

  .rt-instructions-steps {
    display: block !important;
  }

  .rt-instruction-card,
  .rt-instruction-card:nth-child(n) {
    min-height: calc(100dvh - var(--rt-header-height, 66px)) !important;
    display: grid !important;
    place-content: center !important;
    padding: 2rem 1.65rem 4rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always;
  }

  .rt-instruction-card > div {
    max-width: 27rem;
    margin: auto;
  }

  .rt-instruction-card.is-visible .rt-instruction-number,
  .rt-instruction-card.is-visible .rt-instruction-text {
    animation: rtInstructionMessageIn .56s cubic-bezier(.22, 1, .36, 1) both;
  }

  @keyframes rtInstructionMessageIn {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .rt-instruction-number,
  .rt-instruction-text {
    color: #fff !important;
  }

  .rt-instructions-screen .rt-instructions-back {
    display: flex !important;
    width: auto !important;
    min-width: 7.5rem !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 1.4rem auto max(1rem, env(safe-area-inset-bottom)) !important;
    padding: .55rem 1.2rem !important;
    border-radius: 999px !important;
    font-family: var(--font-sans, sans-serif) !important;
    font-size: .88rem !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    scroll-snap-align: none !important;
  }
}
