.compact-team-display { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; width: 100%; max-width: 900px; margin: 0 auto; padding-top: 12px; color: #111827; }
.compact-team { position: relative; order: var(--team-index); min-width: 0; padding: 18px 18px 16px; border: 1px solid #d8d6e7; border-radius: 8px; background: #fdfcff; }
.compact-team.is-active { border: 2px solid #6354c4; padding: 17px 17px 15px; background: color-mix(in srgb, var(--team-color) 16%, white); box-shadow: 0 4px 14px #5142941a; }
.compact-team header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.compact-team h3 { margin: 0; min-width: 0; font-size: 20px; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.compact-team-status { position: absolute; top: 0; left: 16px; transform: translateY(-50%); max-width: calc(100% - 32px); padding: 4px 12px; border-radius: 999px; background: #6354c4; color: #fff; font-size: 13px; line-height: 1.4; font-weight: 750; }
.compact-team .compact-team-scoreline { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; margin: 0; color: #111827; }
.compact-team-scoreline > span { font-size: 12px; font-weight: 650; }
.compact-team-score { font-size: 32px; line-height: 1; font-weight: 850; font-variant-numeric: tabular-nums; }
.compact-team-roles { display: grid; gap: 6px; margin: 12px 0 0; }
.compact-team-roles > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; }
.compact-team-roles dt { grid-area: 1 / 2; font-size: 14px; color: #313951; }
.compact-team-roles dd { grid-area: 1 / 1; min-width: 0; margin: 0; color: #111827; font-size: 16px; line-height: 1.3; font-weight: 750; overflow-wrap: anywhere; }
.compact-team-offline { display: block; font-size: 12px; color: #8d2d16; }
.compact-team .compact-team-members { margin: 12px 0 0; font-size: 14px; line-height: 1.4; color: #313951; overflow-wrap: anywhere; }
.team-player-issue { margin-top: 12px; padding-top: 12px; border-top: 1px solid #d8d6e7; }
.team-player-issue > p { margin: 0 0 8px; color: #8d2d16; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.team-sub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.team-sub-actions .button { min-height: 44px; max-width: 100%; white-space: normal; }
.team-sub-actions .button:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
.team-player-issue form, .team-player-issue .field { min-width: 0; margin: 0; }
.team-player-issue select { width: 100%; min-height: 44px; max-width: 100%; }
.private-host-team-grid:has(> .compact-team-display) { display: block; }
.private-host-participants:has(.compact-team-display) { max-width: 900px; margin-inline: auto; gap: 12px; }
.private-host-participants:has(.compact-team-display) .private-host-participants-head { flex-direction: row; align-items: center; }
.private-host-participants:has(.compact-team-display) .classic-host-matchup { margin-bottom: 0; }
@media (max-width: 600px) {
  .compact-team-display { grid-template-columns: minmax(0, 1fr); }
  .compact-team.is-active { order: -1; }
  .compact-team { padding: 16px 14px 14px; }
  .compact-team.is-active { padding: 15px 13px 13px; }
}
