/* Netball Association Manager — front-end styles (Divi friendly) */
.nba-wrap { --nba-accent: #0d3b66; --nba-accent-soft: #eef3f8; --nba-line: #e2e8f0; width: 100%; }
.nba-wrap * { box-sizing: border-box; }
.nba-title { font-weight: 700; margin: 0 0 .6em; }
.nba-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95em; background: #fff; }
.nba-table th, .nba-table td { padding: .6em .7em; border-bottom: 1px solid var(--nba-line); text-align: left; vertical-align: middle; }
.nba-table thead th { background: var(--nba-accent); color: #fff; font-weight: 600; white-space: nowrap; }
.nba-table tbody tr:nth-child(even) { background: var(--nba-accent-soft); }
.nba-table td.nba-num, .nba-table th.nba-num { text-align: center; width: 3.4em; }
.nba-table td.nba-pts { font-weight: 700; }
.nba-pos { width: 2.6em; text-align: center; color: #64748b; }
.nba-team { display: flex; align-items: center; gap: .6em; }
.nba-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; flex: 0 0 28px; }
.nba-form { display: inline-flex; gap: 3px; }
.nba-form span { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; background: #94a3b8; }
.nba-form .nba-w { background: #15803d; }
.nba-form .nba-d { background: #b45309; }
.nba-form .nba-l { background: #b91c1c; }
.nba-badge { display: inline-block; padding: .15em .55em; border-radius: 999px; font-size: .75em; font-weight: 600; background: #e2e8f0; color: #334155; }
.nba-badge.nba-awarded { background: #fee2e2; color: #991b1b; }
.nba-badge.nba-replay { background: #fef3c7; color: #92400e; }
.nba-badge.nba-played { background: #dcfce7; color: #166534; }
.nba-note { font-size: .85em; color: #64748b; margin-top: -.8em; margin-bottom: 1.4em; }
.nba-empty { padding: 1em; background: var(--nba-accent-soft); border-radius: 6px; color: #475569; }
.nba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1em; }
.nba-card { border: 1px solid var(--nba-line); border-radius: 8px; padding: 1em; text-align: center; background: #fff; }
.nba-card img { max-width: 90px; height: auto; margin: 0 auto .6em; display: block; }
.nba-card strong { display: block; }
.nba-card small { color: #64748b; }
.nba-rules ul { margin: 0 0 1em 1.2em; }
@media (max-width: 640px) {
  .nba-table { font-size: .85em; }
  .nba-table th, .nba-table td { padding: .45em .4em; }
  .nba-hide-sm { display: none; }
}
