/* Keep the first profile tab visible on narrow Android WebViews. */
@media (max-width: 700px) {
  .profile-tabs {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .profile-tabs .profile-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    height: auto;
    gap: 6px;
    padding: 6px;
    overflow: visible;
    scroll-behavior: auto;
  }

  .profile-tabs .profile-tab-list button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 46px;
    padding: 9px 6px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .profile-tabs .profile-tab-list button:first-child {
    grid-column: 1 / -1;
  }

  .profile-tabs .daily-poll-panel {
    display: grid;
    gap: 14px;
    width: 100%;
    min-width: 0;
  }

  .profile-tabs .daily-poll-head,
  .profile-tabs .daily-poll-date,
  .profile-tabs .daily-poll-details,
  .profile-tabs .daily-poll-history {
    min-width: 0;
    max-width: 100%;
  }
}
