/*
 * 88BB App v102 Android/TWA chat width priority fix.
 *
 * Chat Core intentionally caps the App room list at 540px on wide desktop
 * viewports. Android APK/TWA shells can report that same wide viewport even
 * though the user is holding a phone, so the cap must not apply to the App.
 */

html body.bbtg-v2-enabled:not(.bbtg-v2-mobile-chat-open)
  .member-app [data-chat-panel].is-active {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

html body.bbtg-v2-enabled:not(.bbtg-v2-mobile-chat-open)
  .member-app [data-chat-panel].is-active
  > .bbtg-v2[data-bbtg-surface="app"],
html body.bbtg-v2-enabled:not(.bbtg-v2-mobile-chat-open)
  .member-app [data-chat-panel].is-active
  > .bbtg-v2[data-bbtg-surface="app"] .bbtg-shell,
html body.bbtg-v2-enabled:not(.bbtg-v2-mobile-chat-open)
  .member-app [data-chat-panel].is-active
  > .bbtg-v2[data-bbtg-surface="app"] .bbtg-rooms {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
