@media (max-width: 600px) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .tabs button {
    min-width: 0;
    padding: 12px 8px;
  }

  .tabs button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
