/* Box score editor (public/js/box-score.js) — CRM Game Stats + Manage Teams → Stats. 2026-10-04 */
.bx-note { padding: 18px; text-align: center; color: #777; font-size: 14px; background: #fff; border-radius: 10px; }
.bx-note.bx-err { color: #c0392b; }
.bx-teams { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.bx-team { border: 1.5px solid #ddd; background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: #333; }
.bx-team.on { border-color: #00c853; background: rgba(0,200,83,.1); color: #111; }
.bx-pos { margin-bottom: 16px; }
.bx-pos-name { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #555; margin: 0 0 6px 2px; }
.bx-wrap { overflow-x: auto; background: #fff; border: 1px solid #eee; border-radius: 10px; -webkit-overflow-scrolling: touch; }
.bx-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
.bx-table th { background: #fafafa; font-size: 11px; font-weight: 800; color: #555; text-align: center; padding: 8px 6px; white-space: nowrap; border-bottom: 1px solid #eee; }
.bx-table td { padding: 5px 4px; border-bottom: 1px solid #f3f3f3; text-align: center; }
.bx-table tr:last-child td { border-bottom: 0; }
.bx-table .bx-player { position: sticky; left: 0; background: #fff; text-align: left; min-width: 130px; max-width: 190px; padding-left: 10px; font-weight: 700; color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; z-index: 1; }
.bx-table th.bx-player { background: #fafafa; }
.bx-jersey { color: #999; font-weight: 600; }
.bx-in { width: 58px; min-width: 52px; border: 1px solid #ddd; border-radius: 6px; padding: 6px 4px; font: inherit; font-size: 14px; text-align: center; background: #fff; }
.bx-in:focus { outline: none; border-color: #00c853; box-shadow: 0 0 0 2px rgba(0,200,83,.15); }
.bx-x { width: 34px; }
.bx-del { background: none; border: 0; color: #bbb; font-size: 15px; cursor: pointer; padding: 4px 8px; }
.bx-del:hover { color: #c0392b; }
.bx-add { background: #fff; border: 1px dashed #d6d6d6; border-radius: 10px; padding: 12px; margin-top: 4px; }
.bx-add-title { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #666; margin-bottom: 8px; }
.bx-add-row { display: flex; gap: 8px; flex-wrap: wrap; }
.bx-sel { flex: 1 1 160px; min-width: 0; border: 1px solid #ddd; border-radius: 8px; padding: 8px; font: inherit; font-size: 13px; background: #fff; }
.bx-btn { border: 0; border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; background: #1a1a2e; color: #fff; cursor: pointer; }
.bx-btn.bx-primary { background: #00c853; color: #002b13; }
.bx-btn:disabled { opacity: .55; cursor: default; }
.bx-link { background: none; border: 0; color: #00a040; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; padding: 10px 0 0; text-align: left; }
.bx-hint { font-size: 12px; color: #888; margin-top: 8px; }
.bx-save { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 0 4px; background: linear-gradient(rgba(244,244,244,0), #f4f4f4 40%); z-index: 2; }
.bx-dirty { font-size: 12px; color: #e67e22; font-weight: 700; }
