#gsRsTutorialHelp {
  width: auto;
  margin-left: auto;
  margin-right: 12px;
  padding: 8px 13px;
  border: 1px solid rgba(143, 215, 197, 0.42);
  border-radius: 999px;
  background: rgba(7, 59, 48, 0.72);
  color: #eafff7;
  font-size: 12px;
  line-height: 1;
}

#gsRsTutorialRoot {
  position: fixed;
  inset: 0;
  z-index: 110000;
  display: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}

#gsRsTutorialRoot.gs-rs-tutorial-active {
  display: block;
}

.gs-rs-tutorial-shade {
  position: fixed;
  z-index: 110000;
  background: rgba(1, 9, 14, 0.76);
  pointer-events: auto;
}

.gs-rs-tutorial-target-ring {
  position: fixed;
  z-index: 110001;
  border: 3px solid #48f0c4;
  border-radius: 13px;
  box-shadow: 0 0 0 4px rgba(72, 240, 196, 0.2), 0 0 28px rgba(72, 240, 196, 0.62);
  pointer-events: none;
  box-sizing: border-box;
}

.gs-rs-tutorial-card {
  position: fixed;
  z-index: 110010;
  width: min(390px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 32px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid rgba(72, 240, 196, 0.5);
  border-radius: 18px;
  background: #071d29;
  color: #eafff7;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.58);
  box-sizing: border-box;
  pointer-events: auto;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 14px;
}

.gs-rs-tutorial-character {
  display: grid;
  place-items: center;
  width: 104px;
  height: 142px;
  margin: -2px 0 8px -2px;
  grid-column: 1;
  grid-row: 1;
  pointer-events: none;
}

.gs-rs-tutorial-hero-step .gs-rs-tutorial-character {
  width: 116px;
  height: 154px;
}

.gs-rs-tutorial-card.gs-rs-tutorial-hero-step {
  grid-template-columns: 116px minmax(0, 1fr);
}

.gs-rs-tutorial-content {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.gs-rs-tutorial-character-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
}

.gs-rs-tutorial-character-image[hidden] {
  display: none;
}

.gs-rs-tutorial-splinter-placeholder {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px dashed rgba(143, 215, 197, 0.55);
  border-radius: 50%;
  background: rgba(143, 215, 197, 0.08);
  color: #8fd7c5;
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
  user-select: none;
}

.gs-rs-tutorial-character-loaded .gs-rs-tutorial-splinter-placeholder {
  display: none;
}

.gs-rs-tutorial-step {
  margin: 0 0 7px;
  color: #8fd7c5;
  font-size: 12px;
  font-weight: 800;
}

.gs-rs-tutorial-title {
  margin: 0;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.2;
}

.gs-rs-tutorial-copy {
  margin: 10px 0 18px;
  color: #cde6df;
  font-size: 14px;
  line-height: 1.5;
}

.gs-rs-tutorial-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.gs-rs-tutorial-actions button {
  width: auto;
  min-width: 88px;
  padding: 10px 14px;
}

.gs-rs-tutorial-skip {
  margin-right: auto;
  background: #263645;
  border-color: #526779;
}

.gs-rs-tutorial-primary {
  background: #008e72;
  border-color: #48f0c4;
}

@media (max-width: 640px) {
  #gsRsTutorialHelp {
    position: fixed;
    top: 66px;
    right: 8px;
    z-index: 110020;
    margin: 0;
    padding: 7px 10px;
  }

  .gs-rs-tutorial-card {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 15px;
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 10px;
  }

  .gs-rs-tutorial-character,
  .gs-rs-tutorial-hero-step .gs-rs-tutorial-character {
    width: 62px;
    height: 84px;
    margin: 0 0 6px;
  }

  .gs-rs-tutorial-card.gs-rs-tutorial-hero-step {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .gs-rs-tutorial-splinter-placeholder {
    width: 48px;
    height: 48px;
    font-size: 9px;
  }

  .gs-rs-tutorial-actions {
    justify-content: stretch;
  }

  .gs-rs-tutorial-actions button {
    flex: 1 1 auto;
  }
}

@media (max-height: 700px) {
  .gs-rs-tutorial-character,
  .gs-rs-tutorial-hero-step .gs-rs-tutorial-character {
    width: 48px;
    height: 64px;
  }

  .gs-rs-tutorial-card,
  .gs-rs-tutorial-card.gs-rs-tutorial-hero-step {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs-rs-tutorial-card,
  .gs-rs-tutorial-target-ring {
    scroll-behavior: auto;
    transition: none !important;
    animation: none !important;
  }
}
