.view {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  min-height: 100dvh;
  padding: var(--spacing-lg) var(--spacing-md);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.view.active {
  display: flex;
}

.view-header {
  text-align: center;
  width: 100%;
}

.view-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  width: 100%;
  flex: 1;
}

.view-footer {
  width: 100%;
  text-align: center;
  padding-bottom: var(--spacing-lg);
}

.connection-status {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-xs) var(--spacing-md);
  text-align: center;
  font-size: var(--font-size-sm);
  z-index: 100;
  transition: transform var(--transition-normal);
  transform: translateY(-100%);
}

.connection-status.show {
  transform: translateY(0);
}

.connection-status.disconnected {
  background: var(--color-error);
  color: white;
}

.connection-status.reconnecting {
  background: #f4a261;
  color: white;
}
