:root {
  --game-switch-blue: #1769e8;
  --game-switch-blue-deep: #0f4fb6;
  --game-switch-ink: #16365f;
  --game-switch-line: rgba(31, 101, 204, .2);
}

.game-universe-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 25rem);
  padding: .3rem;
  border: 1px solid var(--game-switch-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 .7rem 1.8rem rgba(24, 76, 145, .09);
  backdrop-filter: blur(16px);
}

.game-universe-switch a {
  display: grid;
  min-width: 0;
  min-height: 3rem;
  align-content: center;
  gap: .14rem;
  padding: .48rem .8rem;
  border-radius: .72rem;
  color: #617590;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.game-universe-switch a:hover {
  color: var(--game-switch-blue-deep);
  background: #edf5ff;
}

.game-universe-switch a:focus-visible {
  outline: 2px solid var(--game-switch-blue);
  outline-offset: 2px;
}

.game-universe-switch a.is-current {
  color: #fff;
  background: var(--game-switch-blue);
}

.game-universe-switch a.is-current:hover {
  color: #fff;
  background: var(--game-switch-blue-deep);
}

.game-universe-switch span {
  overflow: hidden;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-universe-switch small {
  overflow: hidden;
  font-size: .64rem;
  font-weight: 650;
  line-height: 1.2;
  opacity: .78;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-switch {
  margin: 0 0 1.35rem 1.35rem;
}

@media (max-width: 900px) {
  .home-game-switch {
    margin: 0 auto 1.4rem;
  }
}

@media (max-width: 520px) {
  .game-universe-switch {
    width: 100%;
  }

  .game-universe-switch a {
    min-height: 2.8rem;
    padding-inline: .58rem;
  }

  .game-universe-switch span {
    font-size: .76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-universe-switch a {
    transition: none;
  }
}
