:root {
  color-scheme: only dark;
  --bg: #18191b;
  --surface: #242528;
  --panel: #202124;
  --line: #37393e;
  --line-strong: #54565a;
  --ink: #f3f3f3;
  --ink-2: #d1d2d4;
  --ink-3: #bbc0c6;
  --amber: #ffa500;
  --on-amber: #18191b;
  --amber-ink: #ffbc55;
  --amber-ink-hov: #ffd59b;
  --amber-strong: #ffcb83;
  --red-ink: #ff9e9e;
}

.connect-wrap .card {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1f2021;
}

.connect-wrap .card h1 {
  margin: 0;
  padding: 26px 32px 0;
  color: white;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.connect-wrap h1 span {
  color: #a9c8ad;
}

.connect-wrap form {
  padding: 22px clamp(20px, 4vw, 32px) clamp(20px, 4vw, 32px);
}
.connect-wrap fieldset {
  margin: 0;
  border: 0;
  padding: 0;
  min-width: 0;
}

.connect-wrap input[type=text] {
  background: var(--panel);
}

.card .status.error {
  color: var(--red-ink);
}

#connectStatus:empty {
  display: none;
}

.setup-guide-tile {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: #174367;
  border-radius: 3px;
  box-shadow: 4px 4px 0 #ffa800;
  text-decoration: none;
}

.setup-guide-tile .label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #19232c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.setup-guide-tile:hover .label,
.setup-guide-tile:focus-visible .label {
  background: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.setup-guide-tile:focus-visible {
  outline: 3px solid white;
  outline-offset: 6px;
}

@media (max-width: 580px) {
  .connect-wrap .card h1 {
    padding-left: 20px;
  }
}


body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.connect-wrap {
  width: 100%;
}

.foot {
  margin-top: auto;
  padding: 6px 24px;
  background: var(--surface);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  max-width: 672px;
  margin: 0 auto;
}

.foot-inner span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0;
}
