.crm-root .crm-screen-header:has(> .tournament-heading > div > .crm-back) {
  padding-bottom: 8px;
}

.crm-root .crm-screen-header > .tournament-heading:has(> div > .crm-back) {
  gap: 8px 16px;
  flex-wrap: nowrap;
}

.crm-root .crm-screen-header > .tournament-heading:has(> div > .crm-back) > div:first-child {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  min-width: 0;
}

.crm-root .crm-screen-header > .tournament-heading .crm-back {
  grid-row: 1 / 3;
  min-height: 44px;
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
}

.crm-root .crm-screen-header > .tournament-heading:has(> div > .crm-back) h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.crm-root .crm-screen-header > .tournament-heading:has(> div > .crm-back) p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.crm-root .crm-screen-header > .tournament-heading .tournament-status {
  padding: 2px 7px;
  font-size: 11px;
}

.crm-root .crm-screen-header > .tournament-next-action {
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--crm-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .crm-root .crm-screen-header > .tournament-heading:has(> div > .crm-back) {
    flex-wrap: wrap;
  }

  .crm-root .crm-screen-header > .tournament-heading:has(> div > .crm-back) > div:first-child {
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 2px 8px;
  }

  .crm-root .crm-screen-header > .tournament-heading .crm-back {
    justify-content: center;
    font-size: 0;
    gap: 0;
  }

  .crm-root .crm-screen-header > .tournament-heading .tournament-actions {
    width: 100%;
    gap: 8px;
  }
}
