.roams-az-rail {
  position: fixed;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 28px;
  height: min(72vh, 560px);
  max-height: min(72vh, 560px);
  padding: 8px 0;
  background: rgba(246, 243, 238, 0.92);
  border: 1px solid rgba(0, 28, 21, 0.08);
  border-radius: 999px;
  user-select: none;
  touch-action: none;
  box-sizing: border-box;
}

.roams-az-rail__letter {
  display: grid;
  place-items: center;
  width: 18px;
  min-height: 8px;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #001c15;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}

.roams-az-rail__letter.is-empty {
  color: #b7c0bb;
  font-weight: 500;
  cursor: default;
  pointer-events: none;
}

.roams-az-rail__letter.is-active {
  color: #fff;
  background: #0d3d2c;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.roams-az-rail__bubble {
  position: fixed;
  right: 40px;
  z-index: 41;
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #0d3d2c;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  place-items: center;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 28, 21, 0.28);
}

.roams-az-rail__bubble.is-visible {
  display: grid;
}

@media (min-width: 901px) {
  .roams-az-rail {
    right: 12px;
  }
}
