/*
 * The site's loading animation: a gold ring turning around the LuckyHash logo, as while a new
 * scratchcard is made. Use <div class="lh-loader" aria-hidden="true"></div> wherever something is
 * loading. (The Xaman and Joey signing screens carry the same look in their own styles.)
 */
.lh-loader {
  position: relative;
  display: block;
  flex: none;
  box-sizing: border-box;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: url('../images/hexwheel_center_logo.png') center / 62% 62% no-repeat;
}

.lh-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 2px solid rgba(230, 201, 122, 0.22);
  border-top-color: #e6c97a;
  border-radius: 50%;
  animation: lh-loader-spin 1.15s linear infinite;
}

/* Inside a list, a preview or a line of text. */
.lh-loader--small {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

/* Beside its words, in a row. */
.lh-loader--row {
  margin: 0;
}

@keyframes lh-loader-spin {
  to { transform: rotate(360deg); }
}
