body {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000000;
}

#app {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#pixi-container {
  width: 100%;
  height: 100%;
  position: relative;
}

#pixi-container canvas {
  display: block;
  /* BootstrapSport will set absolute positioning + pixel sizes */
  /* but we keep these defaults so it never flashes in the wrong place */
  position: absolute;
  inset: 0;
}

#match-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  transition: opacity 0.35s ease;
}

#match-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.match-loader__spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #27272a;
  border-top-color: #9c9c9d;
  animation: match-loader-spin 0.8s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  #match-loader {
    transition: none;
  }

  .match-loader__spinner {
    animation: none;
    border-color: #27272a;
    border-top-color: #9c9c9d;
  }
}
