.page-main { padding: calc(var(--navbar-h) + 20px) 16px 40px; }
.page-shell { max-width: 980px; margin: 0 auto; display: grid; gap: 14px; }
.page-msg { color: var(--text-muted); }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); padding: 14px; }
.team-profile { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.team-profile img { width: 78px; height: 78px; object-fit: contain; }
.team-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.team-meta { color: var(--text-muted); font-size: .92rem; }
.last-matches { display: grid; gap: 8px; }
.match-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 10px; background: rgba(255,255,255,.03); }
.match-badge { padding: 3px 8px; border-radius: 999px; font-weight: 700; font-size: .75rem; }
.badge-W { background: rgba(39,174,96,.2); color: #2ecc71; }
.badge-D { background: rgba(241,196,15,.2); color: #f1c40f; }
.badge-L { background: rgba(231,76,60,.2); color: #ff7b72; }
@media (max-width: 640px) {
  .team-profile { grid-template-columns: 1fr; text-align: center; }
  .team-profile img { margin: 0 auto; }
}
