.agh-dns {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  padding: 0.85rem 1rem;
  background: rgba(16, 24, 20, 0.92);
  color: #e8efe9;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.3;
  border-bottom: 1px solid rgba(103, 178, 121, 0.35);
  backdrop-filter: blur(8px);
}

.agh-dns__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: min(100%, 22rem);
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.agh-dns__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.agh-dns__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fb898;
}

.agh-dns__ip {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.86rem;
  word-break: break-all;
  color: #f4faf5;
}

.agh-dns__copy {
  flex-shrink: 0;
  border: 1px solid rgba(103, 178, 121, 0.55);
  background: transparent;
  color: #cfe9d4;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.agh-dns__copy:hover,
.agh-dns__copy:focus-visible {
  background: rgba(103, 178, 121, 0.18);
  outline: none;
}

.agh-dns__copy.is-copied {
  border-color: #67b279;
  color: #67b279;
}

body.agh-dns-pad {
  padding-top: 5.5rem !important;
}

@media (max-width: 640px) {
  .agh-dns {
    padding: 0.65rem;
  }

  body.agh-dns-pad {
    padding-top: 8.5rem !important;
  }
}
