.gateway-links {
  margin-top: 36px;
}

.gateway-links .service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.gateway-card h3 {
  margin: 0;
  font-size: 18px;
}

.gateway-card .service-launch {
  margin-top: 20px;
}

.gateway-view {
  max-width: 1328px;
  margin: 0 auto;
  padding: 24px;
}

.gateway-header,
.gateway-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.gateway-header {
  justify-content: space-between;
  margin-bottom: 16px;
}

.gateway-header a {
  color: var(--green);
  font-size: 14px;
}

.gateway-header h1 {
  margin-top: 8px;
}

.gateway-view .service-launch {
  width: auto;
  margin: 0;
}

#gateway-status {
  margin-bottom: 12px;
  color: var(--green);
}

#gateway-frame {
  display: block;
  width: 100%;
  height: auto;
  background: #26342d;
  border-radius: 8px;
  cursor: default;
}

#gateway-frame:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.gateway-tools {
  margin-top: 16px;
}

.gateway-tools label {
  margin: 0;
}

.gateway-tools input {
  flex: 1 1 260px;
}

@media (max-width: 560px) {
  .gateway-view {
    padding: 16px;
  }
}
