#preview-connection {
  position: fixed;
  top: .5rem;
  right: .5rem;
  z-index: 10000;
  max-width: calc(100% - 1rem);
  pointer-events: none;
}

#preview-status:not(:empty) {
  margin: 0;
  padding: .35rem .6rem;
  border: 1px solid #313c34;
  border-radius: .5rem;
  background: #151b17;
  color: #dbf1e2;
  font: 600 .68rem/1.3 system-ui, sans-serif;
}

.portal-language-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .portal-language-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
