.team-form .team-form-teams { display: flex; gap: 8px; margin: 0 0 16px; }
.team-form .team-form-teams-btn { display: inline-flex; font-family: inherit; flex: 1; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #e6e8f0; border-radius: 20px; background: #ffffff; font-size: 14px; font-weight: 600; line-height: 1.2; color: #181c27; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.team-form .team-form-teams-btn img { width: 20px; height: 20px; object-fit: contain; }
.team-form .team-form-teams-btn.is-on { background: #ededfa; border-color: #5b3fd6; color: #5b3fd6; }
.team-form .team-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.team-form .team-form-team.is-away { display: none; }
.team-form .team-form-grid.show-away .team-form-team.is-away { display: block; }
.team-form .team-form-grid.show-away .team-form-team.is-home { display: none; }
.team-form .team-form-team { min-width: 0; padding: 16px; border: 1px solid #e6e8f0; border-radius: 12px; background: #ffffff; }
.team-form .team-form-team-head { display: flex; align-items: center; gap: 10px; }
.team-form .team-form-crest { line-height: 0; }
.team-form .team-form-crest img { width: 32px; height: 32px; object-fit: contain; }
.team-form .team-form-title, .team-form h3.team-form-title, .team-form div.team-form-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.team-form .team-form-switch { display: inline-flex; gap: 2px; margin: 12px 0 16px; padding: 3px; background: #e6e8f0; border-radius: 20px; }
.team-form .team-form-switch-btn { font-family: inherit; min-height: 40px; padding: 8px 16px; border: none; border-radius: 20px; background: transparent; font-size: 13px; font-weight: 500; line-height: 1.3; color: #667085; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.team-form .team-form-switch-btn.is-on { background: #ffffff; color: #181c27; }
.team-form .team-form-panel { display: none; }
.team-form .team-form-panel.is-on { display: block; }
.team-form .team-form-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.team-form .team-form-dots { display: flex; gap: 6px; }
.team-form .team-form-dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; font-size: 12px; font-weight: 700; line-height: 1; color: #ffffff; }
.team-form .result-w { background: #16a34a; }
.team-form .result-d { background: #667085; }
.team-form .result-l { background: #ef4444; }
.team-form .team-form-wdl { display: flex; gap: 12px; }
.team-form .team-form-wdl-item { min-width: 30px; font-size: 11px; line-height: 1.3; text-align: center; color: #667085; }
.team-form .team-form-wdl-item strong { display: block; font-size: 18px; color: #181c27; }
.team-form .team-form-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.team-form .team-form-stat { padding: 10px 12px; background: #f7f8fc; border-radius: 12px; font-size: 12px; line-height: 1.3; color: #667085; }
.team-form .team-form-stat strong { display: block; font-size: 20px; line-height: 1.2; color: #181c27; }
.team-form .team-form-meter { display: block; height: 4px; margin: 6px 0 0; background: #e6e8f0; border-radius: 2px; overflow: hidden; }
.team-form .team-form-meter-fill { display: block; width: 0; height: 100%; background: #5b3fd6; border-radius: 2px; transition: width 0.6s ease; }
.team-form .team-form-caption { margin: 12px 0 4px; font-size: 12px; line-height: 1.4; color: #667085; }
.team-form .team-form-results { margin: 0; list-style: none; }
.team-form .team-form-result { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto minmax(0, 1fr) 24px; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid #e6e8f0; font-size: 14px; line-height: 1.3; }
.team-form .team-form-result-meta { font-size: 11px; line-height: 1.3; color: #667085; }
.team-form .team-form-result-meta strong { display: block; font-size: 12px; color: #181c27; }
.team-form .team-form-result-home { text-align: right; overflow-wrap: break-word; }
.team-form .team-form-result-away { overflow-wrap: break-word; }
.team-form .is-team { font-weight: 700; }
.team-form .team-form-result-score { padding: 3px 8px; background: #f7f8fc; border-radius: 4px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.team-form .team-form-result.is-extra { display: none; }
.team-form .team-form-panel.is-expanded .team-form-result.is-extra { display: grid; }
.team-form .team-form-result .team-form-dot { width: 24px; height: 24px; border-radius: 4px; font-size: 11px; }
@media (max-width: 479px) {
  .team-form .team-form-result { grid-template-columns: 50px minmax(0, 1fr) auto minmax(0, 1fr) 22px; gap: 6px; font-size: 13px; }
  .team-form .team-form-dot { width: 24px; height: 24px; }
}
@media (min-width: 768px) {
  .team-form .team-form-teams { display: none; }
  .team-form .team-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .team-form .team-form-team.is-away, .team-form .team-form-team.is-home, .team-form .team-form-grid.show-away .team-form-team.is-home { display: block; }
}
