/* biome-ignore-all lint/complexity/noImportantStyles: phone/PWA shell rules must override React Native Web inline preview styles. */
:root {
  --twilx-system-surface: #101012;
  background-color: var(--twilx-system-surface);
  color-scheme: light dark;
}

html,
body,
#root {
  background-color: var(--twilx-system-surface);
}

:where(button, input, textarea, select, a, [role="button"], [role="switch"], [role="tab"]):focus {
  outline: none !important;
  box-shadow: none !important;
}

:where(
  button,
  input,
  textarea,
  select,
  a,
  [role="button"],
  [role="switch"],
  [role="tab"]
):focus-visible {
  filter: brightness(0.96);
}

@media (max-width: 600px), (display-mode: standalone) {
  html,
  body,
  #root {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    margin: 0;
  }

  #twilx-mobile-frame {
    max-width: none !important;
    max-height: none !important;
    border-width: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  #twilx-mobile-device-handle {
    display: none !important;
  }
}
