/* Five equal-width tabs stay inside the mobile packet chapter. */
@media (max-width: 760px) {
  .packet-layout,
  .packet-layout > .chapter-copy,
  .packet-description,
  .cover-settings { min-width: 0; max-width: 100%; }

  .packet-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 4px;
    overflow: visible;
    padding: 4px 0 8px;
    margin-bottom: 16px;
  }

  .packet-tabs .glass {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 2px;
    font-size: clamp(9px, 2.75vw, 10px);
    line-height: 1.3;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
