.support-directory {
  place-items: initial;
}

.support-directory-head,
.support-contact-grid,
.support-group-actions {
  width: 100%;
}

.affiliate-head .button,
.affiliate-actions a {
  text-decoration: none;
}

.affiliate-promotion-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.affiliate-promotion-title small,
.copy-feedback {
  color: var(--muted);
  font-size: 11px;
}

.copy-feedback {
  min-height: 17px;
  margin: 5px 0 0;
}

.account-content .direct-row {
  grid-template-columns: 56px minmax(140px, 1fr) 170px 150px;
  align-items: center;
}

.direct-sequence {
  color: var(--muted);
}

.direct-created small,
.direct-row strong small {
  display: none;
}

@media (max-width: 760px) {
  .support-directory {
    margin: 0;
    padding: 0 12px 20px;
  }

  .support-directory-head {
    display: none;
  }

  .support-contact-grid {
    gap: 0;
    margin: 12px 0 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
  }

  .support-contact-grid > div {
    min-height: 68px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
  }

  .support-contact-grid > div:last-child {
    border-bottom: 0;
  }

  .support-group-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 0;
    border-top: 0;
  }

  .support-group {
    min-width: 0;
    min-height: 42px;
    padding: 0 9px;
    gap: 7px;
    font-size: 12px;
    white-space: nowrap;
  }

  .support-group img {
    width: 20px;
    height: 20px;
  }

  .support-group > svg {
    display: none;
  }

  .support-return {
    width: 100%;
    margin-top: 14px;
  }

  .affiliate-promotion-title {
    display: grid;
    gap: 2px;
  }

  .direct-list {
    padding: 0 12px 12px;
  }

  .account-content .direct-row.head {
    display: none;
  }

  .account-content .direct-row:not(.head) {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 3px 10px;
    margin-bottom: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .account-content .direct-row > *:nth-child(2) {
    display: block;
  }

  .account-content .direct-sequence {
    grid-row: 1 / 3;
    align-self: center;
    font-weight: 700;
    text-align: center;
  }

  .account-content .direct-created {
    grid-column: 2 / 4;
    font-size: 11px;
    color: var(--muted);
  }

  .account-content .direct-row strong {
    display: flex;
    align-items: baseline;
    gap: 5px;
    text-align: right;
    white-space: nowrap;
  }

  .direct-created small,
  .direct-row strong small {
    display: inline;
    margin-right: 0;
    color: var(--muted);
    font-weight: 400;
  }

  .affiliate-dialog .direct-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .affiliate-dialog .direct-row > *:nth-child(2) {
    display: block;
  }
}
