/* Self-contained /connection-cancelled screen — mirrors confirmation success styling */
.connection-cancelled-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  background: #06060a;
  color: #f5f5f7;
  text-align: center;
}

html[data-route="connection-cancelled"] .connection-cancelled-screen {
  display: flex;
}

html[data-route="connection-cancelled"] .confirmation-screen,
html[data-route="connection-cancelled"] .auth-callback-screen,
html[data-route="connection-cancelled"] .oauth-cancelled-screen,
html[data-route="connection-cancelled"] .app-shell,
html[data-route="connection-cancelled"] #landing-page,
html[data-route="connection-cancelled"] .ambient-canvas,
html[data-route="connection-cancelled"] .trail-canvas,
html[data-route="connection-cancelled"] .site-background,
html[data-route="connection-cancelled"] .session-loading {
  display: none !important;
}

.connection-cancelled-screen__logo {
  display: block;
  width: auto;
  height: 40px;
  margin-bottom: 4px;
}

.connection-cancelled-screen__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 380px;
}

.connection-cancelled-screen__heading {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #ff8fb1;
}

.connection-cancelled-screen__heading-line {
  display: block;
}

.connection-cancelled-screen__message {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.connection-cancelled-screen__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f7;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.connection-cancelled-screen__home:hover,
.connection-cancelled-screen__home:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}
