/* Le monde : le carré où évoluent les particules, et sa légende (ions, atomes). */
.world {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #07090d;
}
.world canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.world .tag {
  position: absolute;
  left: 10px;
  top: 8px;
  font: 12px var(--f-mono);
  color: var(--muted);
  pointer-events: none;
}
.world .flash {
  position: absolute;
  right: 10px;
  top: 8px;
  font: 12px var(--f-mono);
  color: var(--order);
}
.world .prep {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 14px var(--f-mono);
  color: var(--muted);
  pointer-events: none;
}
.world .prep[hidden] {
  display: none;
}
.wlegend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 6px;
  font: 12px var(--f-mono);
  color: var(--muted);
}
.wlegend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 5px;
}
