.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  margin: -12px 0 26px;
  text-align: center;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #888;
  flex: none;
}
.status[data-s="live"] .dot {
  background: #3ddc6b;
  box-shadow: 0 0 0 0 rgba(61, 220, 107, 0.7);
  animation: ping 1.6s infinite;
}
.status[data-s="loading"] .dot {
  background: var(--led);
  animation: blink 0.6s infinite alternate;
}
.status[data-s="cache"] .dot {
  background: var(--led);
}
@keyframes ping {
  70% {
    box-shadow: 0 0 0 10px rgba(61, 220, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 220, 107, 0);
  }
}
@keyframes blink {
  to {
    opacity: 0.2;
  }
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 36px 0 28px;
}
.toggle {
  position: relative;
  display: inline-flex;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}
.toggle button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  color: var(--ink);
  font:
    800 1rem "Figtree",
    sans-serif;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s;
}
.toggle button[aria-pressed="true"] {
  color: #1a1200;
}
.toggle .pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  border-radius: 999px;
  background: var(--led);
  transition:
    transform 0.5s var(--ease),
    width 0.5s var(--ease);
}
