/*
 * Luna UX v2
 * UX0-R2 clean mobile baseline
 *
 * No viewport control.
 * No keyboard positioning.
 * No app-shell overrides.
 * No composer positioning.
 */

/* Multiline user prompts should read normally. */
.message-user .message-content,
.user-bubble {
  text-align: left;
}


/* Touch UI must not depend exclusively on hover. */
@media (hover: none), (pointer: coarse) {
  .conversation-more,
  .message-actions {
    opacity: .58 !important;
    visibility: visible !important;
  }

  button,
  [role="button"],
  input,
  textarea {
    touch-action: manipulation;
  }
}


/*
 * iOS/WebKit focus zoom prevention.
 *
 * This is intentionally the only mobile keyboard-related
 * modification left in Luna.
 */
@media (max-width: 599px) {
  .composer textarea,
  .search-box input,
  .login-form input,
  input[type="text"],
  input[type="search"],
  input[type="password"],
  textarea {
    font-size: 16px !important;
  }

  .composer-hint {
    display: none !important;
  }

  .markdown-body,
  .user-bubble {
    overflow-wrap: anywhere;
  }
}
