/* Game center and per-game records */
.game-card-clickable{cursor:pointer;transition:.18s ease}
.game-card-clickable:hover,.game-card-clickable:focus{border-color:#9fb6da;box-shadow:0 12px 30px rgba(5,39,95,.10);transform:translateY(-1px);outline:0}
.game-card-link{display:block;margin-top:7px;text-align:center;color:var(--blue);font-weight:900}
.game-center-picker{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 12px;margin-bottom:16px;scrollbar-width:thin}
.game-center-game{min-width:220px;border:1px solid #d9e0eb;background:#fff;border-radius:14px;padding:13px 15px;text-align:left;cursor:pointer;color:#475569;transition:.18s}
.game-center-game span{display:block;font-size:12px;margin-bottom:6px}.game-center-game b{display:block;color:#0f172a;font-size:15px}
.game-center-game.active{background:#071b49;border-color:#071b49;color:#bfdbfe;box-shadow:0 12px 28px rgba(7,27,73,.2)}.game-center-game.active b{color:#fff}
.game-review-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 48px rgba(15,23,42,.08);overflow:hidden}
.game-review-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #d9dee8;text-align:center;color:#334155;font-weight:900}
.game-review-tabs>*{padding:16px 8px}.game-review-tabs b{color:#071b49;border-top:4px solid #071b49;background:#f8fbff}
.game-review-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 12px}
.game-review-head h2{font-size:27px;margin:10px 0 6px;color:#071b49}.game-review-head p{margin:0;color:#64748b;font-weight:700}
.game-review-head .status{display:inline-block;font-size:12px;padding:5px 10px}
.record-table-wrap{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.game-record-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px;background:#fff}
.game-record-table th,.game-record-table td{border:1px solid #e1e5eb;padding:9px 10px;text-align:center}
.game-record-table thead th{background:#f2f4f7;color:#0f172a;font-weight:1000}.game-record-table tbody th{text-align:left;background:#fbfcfe;color:#0f172a}
.game-record-table tfoot th{background:#f2f4f7;color:#071b49}.line-score-wrap{padding:8px 24px 22px}.line-score-table th:first-child{min-width:130px;text-align:left}.line-score-table .team-badge{width:28px;height:28px;font-size:10px;margin-right:5px}.line-total{font-weight:1000;color:#b70619;background:#fff8f8}
.team-game-record{padding:4px 24px 24px}.team-game-record h3,.record-editor-team h3{display:flex;align-items:center;gap:9px;margin:14px 0 10px;color:#071b49;font-size:19px}.team-game-record h3 .team-logo-mark,.record-editor-team h3 .team-logo-mark{width:36px;height:36px;font-size:11px;box-shadow:none}
.batting-record-table td:nth-child(4){min-width:260px;text-align:left}.pa-results{display:flex;gap:5px;flex-wrap:wrap}.pa-result{background:#edf2f8;border-radius:6px;padding:4px 7px;font-weight:800;color:#334155}.record-empty{color:#94a3b8}
.pitching-game-record{padding-top:0}.game-record-notes{margin:0 24px 24px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px}.game-record-notes p{white-space:pre-wrap;margin:7px 0 0;color:#475569;line-height:1.6}
.record-btn{background:#e8f0ff;color:#071b49;border-color:#bfd1ef;font-weight:900}
.game-record-modal{max-width:1180px!important;width:96%!important;max-height:92vh!important;padding:26px!important}
.record-editor-head{padding-right:44px;border-bottom:2px solid #071b49;margin-bottom:16px}.record-editor-head span{font-size:12px;letter-spacing:.14em;color:#0ea5e9;font-weight:1000}.record-editor-head h2{margin:5px 0;color:#071b49}.record-editor-head p{margin:5px 0 14px;color:#64748b}
.record-meta-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:16px}.record-meta-grid label,.record-notes-label{display:grid;gap:5px;color:#475569;font-size:12px;font-weight:900}.record-meta-grid input,.record-meta-grid select,.record-notes-label textarea{width:100%;border:1px solid #d5dbe5;border-radius:8px;padding:9px 10px;background:#fff;font:inherit}
.record-editor-team{border:1px solid #dfe5ee;border-top:5px solid var(--team,#071b49);border-radius:14px;padding:13px;margin:14px 0;background:#fff}
.record-editor-team.line-editor{border-top-color:#071b49}.record-editor-table th:first-child{position:sticky;left:0;z-index:2;background:#fbfcfe;min-width:105px}.record-editor-table thead th:first-child{z-index:3;background:#f2f4f7}
.record-num-input,.record-text-input,.inning-input{border:1px solid #d6dce6;border-radius:6px;padding:6px 7px;background:#fff;font:inherit}.record-num-input{width:58px;text-align:center}.record-text-input.compact{width:72px}.record-text-input.result-input{width:240px}.inning-input{width:46px;text-align:center}
.record-notes-label textarea{min-height:88px;resize:vertical;font-weight:500}.record-save-bar{position:sticky;bottom:-26px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(255,255,255,.96);border-top:1px solid #dce2ea;margin:18px -26px -26px;padding:14px 26px;box-shadow:0 -10px 28px rgba(15,23,42,.09)}.record-save-bar span{color:#475569;font-size:13px;font-weight:800}.record-save-bar button{min-width:180px}
@media(max-width:850px){
  .game-review-head{align-items:flex-start;flex-direction:column}.game-review-head .primary{width:100%}.line-score-wrap,.team-game-record{padding-left:12px;padding-right:12px}.game-review-head{padding-left:16px;padding-right:16px}.game-review-tabs{font-size:13px}.game-center-game{min-width:190px}
  .record-meta-grid{grid-template-columns:1fr 1fr}.game-record-modal{padding:18px!important}.record-save-bar{bottom:-18px;margin:14px -18px -18px;padding:12px 18px;flex-direction:column;align-items:stretch}.record-save-bar button{width:100%}.record-editor-table th:first-child{position:static}.game-record-table th,.game-record-table td{padding:7px 8px}
}
