/* Schalter vor der Werkbank: Anmeldung, Warteschlange, Fehlerseiten.
   Eine Karte, eine Handlung, sonst nichts. */

.gate {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--ink-900);
}

.gate-bar {
  height: var(--bar-height);
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-800);
}

.gate-main {
  display: grid;
  place-items: center;
  padding: 40px 18px 56px;
}

.gate-card {
  width: 100%;
  max-width: 430px;
}

.gate-card h1 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: -.022em;
  line-height: 1.15;
}

.gate-card p {
  margin: 0 0 14px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 46ch;
}

.gate-card p:last-child { margin-bottom: 0; }

.discord-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin-top: 24px;
  border: 0;
  border-radius: 4px;
  background: #5865f2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.discord-button:hover { background: #4a56da; }
.discord-button svg { width: 22px; height: 22px; fill: currentColor; }

.gate-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.gate-note h2 {
  margin: 0 0 7px;
  font-size: 12.5px;
  font-weight: 600;
  font-stretch: 78%;
  color: var(--text-2);
}

.gate-note p { font-size: 12.5px; }

.id-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.id-row code {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 9px 12px;
  letter-spacing: .03em;
}

.id-row + p { margin-top: 11px; }

.gate-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.gate-row .primary-button,
.gate-row .secondary-button {
  flex: 1;
  min-width: 140px;
  text-decoration: none;
}

/* Auf dunklem Grund brauchen die Schaltflaechen andere Kontraste
   als auf dem Graukarton der Werkbank. */
.gate .secondary-button {
  border-color: var(--line);
  background: var(--ink-700);
  color: var(--text);
}

.gate .secondary-button:hover { background: var(--ink-600); }

.state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--text-2);
}

.state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wait);
  box-shadow: 0 0 0 3px rgba(224, 160, 80, .16);
}

.state[data-status="blocked"]::before {
  background: var(--stop);
  box-shadow: 0 0 0 3px rgba(212, 92, 98, .16);
}

.alert {
  border-left: 2px solid var(--stop);
  background: rgba(212, 92, 98, .08);
  color: #f0b4b2;
  padding: 11px 13px;
  font-size: 12.5px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.gate-foot {
  margin-top: 26px;
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.6;
}
