html, body {
  height: 100%;
  margin: 0;
  background: #050505;
  overflow: hidden;
}

.field {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msg {
  position: absolute;
  top: 2rem;
  width: 100%;
  text-align: center;
  color: #7a1f1f;
  font-family: 'Nosifer', 'Georgia', serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(122, 20, 20, 0.7);
  transition: color 0.6s ease, text-shadow 0.6s ease;
}

.msg.unlocked {
  color: #b83bff;
  text-shadow: 0 0 20px rgba(184, 59, 255, 0.9);
}

#sigilSvg {
  width: min(80vmin, 500px);
  height: min(80vmin, 500px);
}

.node {
  fill: #1a0000;
  stroke: #7a1f1f;
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill 0.3s ease, stroke 0.3s ease, r 0.3s ease;
}

.node:hover {
  stroke: #b83bff;
}

.node.active {
  fill: #7a1f1f;
  stroke: #ff5c5c;
}

.line {
  stroke: #4a0e0e;
  stroke-width: 1;
  fill: none;
  opacity: 0;
  transition: opacity 0.5s ease, stroke 0.6s ease;
}

.line.drawn {
  opacity: 0.9;
}

.line.complete {
  stroke: #b83bff;
}
