/* 5.17.304 — Phone directory cards only. Keep the original profile/action
   nodes, avatar frames, labels, colors and friendship/account behavior. */
@media(max-width:650px) {
  html body.tessirve-theme .tc-hinchada .tc-hinchada-list > .tc-hinchada-card {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:auto auto!important;
    grid-template-areas:"user actions" "team follow"!important;
    align-items:start!important;
    column-gap:10px!important;
    row-gap:8px!important;
    padding:10px!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card > .tc-hinchada-user {
    grid-area:user!important;
    align-self:start!important;
    gap:8px!important;
    min-width:0!important;
    margin:0!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card .tc-hinchada-avatar {
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card > .tc-hinchada-team {
    grid-area:team!important;
    align-self:start!important;
    gap:4px!important;
    min-width:0!important;
    margin:0!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card > .tc-hinchada-follow {
    grid-area:follow!important;
    align-self:start!important;
    gap:4px!important;
    min-width:0!important;
    margin:0!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card .tc-hinchada-club {
    gap:6px!important;
    min-width:0!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card .tc-hinchada-crest {
    flex-basis:28px!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card .tc-hinchada-crest :is(img,svg) {
    width:28px!important;
    height:28px!important;
    max-width:28px!important;
    max-height:28px!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card > .tc-hinchada-card-actions {
    grid-area:actions!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    align-self:start!important;
    justify-content:flex-start!important;
    gap:5px!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card-actions > :is(a,span),
  html body.tessirve-theme .tc-hinchada .tc-hinchada-card-actions button {
    max-width:100%!important;
    min-width:0!important;
    padding:6px 7px!important;
    line-height:1.2!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }

  html body.tessirve-theme .tc-hinchada .tc-hinchada-card-actions > form,
  html body.tessirve-theme .tc-hinchada .tc-hinchada-card-actions button {
    display:block!important;
    width:100%!important;
  }
}
