html,
body,
.nyx-link-shell {
  width: 100%;
  height: 100%;
}

body {
  overflow: hidden;
}

.nyx-link-shell {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.nyx-link-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.nyx-link-header .nyx-brand img {
  width: 58px;
  height: 58px;
}

.nyx-link-header .nyx-title {
  font-size: clamp(1.7rem, 5vw, 3rem);
}

.nyx-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nyx-link-frame {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.nyx-link-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--nyx-border);
}

.nyx-link-copy p {
  margin: 0;
  color: #d8fbff;
}

.nyx-frame-note {
  color: var(--nyx-yellow) !important;
  font-size: 1rem;
}

#system-frame {
  width: 100%;
  min-height: 0;
  flex: 1;
  border: 0;
  background: #05020d;
}

@media (max-width: 720px) {
  .nyx-link-header,
  .nyx-link-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .nyx-link-actions {
    justify-content: flex-start;
  }
}
