#constellation-ring .webring-box {
  background-color: #141414;
  border: 2px ridge #888888;
  padding: 10px;
  margin-top: 12px;
  text-align: center;
  color: #ffffff;
  font-family: Verdana, sans-serif;
  box-sizing: border-box;
}

#constellation-ring .webring-title {
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 2px;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px dashed #555555;
  text-shadow: 1px 0 #f0f, -1px 0 #0ff;
}

#constellation-ring .webring-desc {
  font-size: 0.75rem;
  color: #cccccc;
  margin: 0 0 10px 0;
}

#constellation-ring .webring-controls {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

#constellation-ring .webring-controls a {
  flex: 1;
  background-color: #232323;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 5px 4px;
  border: 1px outset #777777;
}

#constellation-ring .webring-controls a:hover {
  background-color: #000000;
  border-style: inset;
  text-shadow: 2px 0 #f0f, -2px 0 #0ff;
}

#constellation-ring .webring-badge-link {
  display: inline-block;
  margin: 4px auto 8px auto;
}

#constellation-ring .webring-badge {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 1px solid #555555;
  display: block;
}

#constellation-ring .webring-badge:hover {
  box-shadow: 2px 0 #f0f, -2px 0 #0ff;
}

/* Brief Glitch Flicker on Rotation */
@keyframes badge-glitch-swap {
  0% {
    transform: translate(-3px, 1px) skewX(8deg);
    box-shadow: 3px 0 #f0f, -3px 0 #0ff;
    filter: brightness(1.6) contrast(1.4);
  }
  35% {
    transform: translate(3px, -1px) skewX(-8deg);
    box-shadow: -3px 0 #f0f, 3px 0 #0ff;
    opacity: 0.7;
  }
  70% {
    transform: translate(-1px, 0) skewX(3deg);
    box-shadow: 2px 0 #f0f, -2px 0 #0ff;
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) skewX(0);
    box-shadow: none;
    filter: none;
  }
}

#constellation-ring .webring-badge.glitch-swap {
  animation: badge-glitch-swap 0.28s steps(2, end);
}

