/* ==========================================================================
   Picks Tracker Page — Feb 22 2026
   ========================================================================== */

/* ===== PAGE LAYOUT ===== */
.tracker-page {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--layout-gutter) 60px;
}

.tracker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(0, 214, 137, 0.15);
  margin-bottom: 20px;
}

.tracker-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tracker-table th.text-right,
.tracker-table td.text-right {
  text-align: right;
}

.tracker-header h1 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 1.4rem;
  color: rgba(0, 214, 137, 0.95);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.tracker-header .date-label {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: rgba(200, 210, 220, 0.8);
  letter-spacing: 0.04em;
}

#refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(0, 214, 137, 0.08);
  border: 1px solid rgba(0, 214, 137, 0.15);
  color: #00d689;
  width: auto;
  height: 26px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

#refresh-btn:hover {
  color: #00d689;
  background: rgba(0, 214, 137, 0.15);
  border-color: rgba(0, 214, 137, 0.3);
  box-shadow: 0 0 8px rgba(0, 214, 137, 0.1);
}

#refresh-btn:active {
  transform: translateY(1px);
}

#refresh-btn .refresh-icon {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

#refresh-btn .refresh-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

/* ===== FETCH SECTION ===== */
.mp-fetch-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0, 214, 137, 0.08);
}

.update-time {
  font-size: var(--text-xs);
  color: rgba(160, 175, 190, 0.7);
}

.tracker-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0 14px;
}

.tracker-source-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid rgba(0, 214, 137, 0.18);
  border-radius: 8px;
  background: rgba(5, 14, 26, 0.78);
}

.tracker-control-btn {
  min-height: 30px;
  padding: 5px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(190, 210, 218, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.tracker-control-btn:hover,
.tracker-control-btn:focus-visible {
  color: #fff;
  background: rgba(0, 214, 137, 0.1);
  outline: none;
}

.tracker-control-btn.is-active {
  color: #061a13;
  background: #00d689;
}

.tracker-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(160, 175, 190, 0.75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tracker-select {
  min-height: 32px;
  padding: 5px 28px 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 214, 137, 0.2);
  background: rgba(5, 14, 26, 0.92);
  color: rgba(230, 240, 244, 0.92);
  font-size: 12px;
  font-weight: 650;
}

.tracker-select:focus-visible {
  border-color: rgba(0, 214, 137, 0.55);
  outline: none;
}

/* ===== KPI STRIP ===== */
.tracker-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.kpi-card {
  background: linear-gradient(
    180deg,
    rgba(8, 18, 32, 0.95),
    rgba(4, 12, 24, 0.98)
  );
  border: 1px solid rgba(0, 214, 137, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
}

.kpi-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: rgba(0, 214, 137, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: var(--weight-bold);
  color: #fff;
  letter-spacing: 0.02em;
}

.kpi-value.positive {
  color: var(--status-hit-color);
}
.kpi-value.negative {
  color: var(--status-miss-color);
}

/* ===== SECTION HEADERS ===== */
.section-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 1.05rem;
  color: rgba(0, 214, 137, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 28px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 214, 137, 0.12);
}

/* ===== GAME CARDS GRID ===== */
#game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 10px;
}

.game-card {
  background: linear-gradient(
    180deg,
    rgba(8, 18, 32, 0.96),
    rgba(4, 12, 24, 0.98)
  );
  border: 1px solid rgba(0, 214, 137, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.game-card.live {
  border-color: rgba(74, 182, 255, 0.45);
  box-shadow: 0 0 12px rgba(74, 182, 255, 0.08);
}

.game-card.final {
  border-color: rgba(100, 110, 130, 0.3);
}

.game-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(0, 214, 137, 0.06), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sport-tag {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: var(--weight-bold);
  color: rgba(0, 214, 137, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border: 1px solid rgba(0, 214, 137, 0.2);
  border-radius: 4px;
  background: rgba(0, 214, 137, 0.06);
}

.game-status-chip {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.game-status-chip.pre {
  color: rgba(160, 175, 190, 0.8);
  background: rgba(160, 175, 190, 0.1);
  border: 1px solid rgba(160, 175, 190, 0.2);
}

.game-status-chip.live {
  color: var(--status-live-color);
  background: var(--status-live-bg);
  border: 1px solid var(--status-live-border);
}

.game-status-chip.final {
  color: rgba(160, 175, 190, 0.7);
  background: rgba(100, 110, 130, 0.12);
  border: 1px solid rgba(100, 110, 130, 0.2);
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff4444;
  animation: pulsatingGlow 1s ease-in-out infinite;
}

/* ===== MINI SCOREBOARD INSIDE CARD ===== */
.scoreboard-mini {
  padding: 6px 12px 8px;
  font-family: var(--font-body);
}

.sb-header,
.sb-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) repeat(var(--periods, 2), 32px) 38px;
  align-items: center;
  gap: 0;
}

/* Default: halves (NCAAM) */
.sb-header,
.sb-row {
  --periods: 2;
}

/* NBA cards use 4 quarters */
.game-card[data-sport="nba"] .sb-header,
.game-card[data-sport="nba"] .sb-row {
  --periods: 4;
}

.sb-header {
  margin-bottom: 2px;
}

.period-hdr {
  font-size: 9px;
  font-weight: var(--weight-semibold);
  color: rgba(0, 214, 137, 0.7);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.04em;
}

.total-hdr {
  color: rgba(0, 214, 137, 0.95);
  font-weight: var(--weight-bold);
}

.sb-row {
  padding: 3px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.team-col {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.team-logo-sm {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-abbr {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(230, 235, 240, 0.95);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.period-score {
  font-size: var(--text-sm);
  color: rgba(200, 210, 220, 0.8);
  text-align: center;
  font-weight: var(--weight-medium);
}

.total-score {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: #fff;
}

/* ===== LEGS INSIDE GAME CARD ===== */
.game-legs {
  padding: 6px 12px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.leg-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.leg-row:last-child {
  border-bottom: none;
}

.leg-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(220, 225, 235, 0.9);
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leg-detail {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(160, 175, 190, 0.7);
  margin-left: auto;
  white-space: nowrap;
}

/* ===== BET TABLES ===== */
.tracker-table-wrap {
  overflow-x: auto;
  margin-bottom: 8px;
}

.tracker-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: var(--text-base);
}

.tracker-table thead th {
  background: linear-gradient(
    180deg,
    rgba(0, 214, 137, 0.08),
    rgba(0, 214, 137, 0.03)
  );
  color: rgba(0, 214, 137, 0.85);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 214, 137, 0.15);
  white-space: nowrap;
}

.tracker-table thead th.center {
  text-align: center;
}

.tracker-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}

.tracker-table tbody tr:hover {
  background: rgba(0, 214, 137, 0.04);
}

.tracker-table tbody td {
  padding: 8px 10px;
  vertical-align: middle;
  color: rgba(220, 225, 235, 0.9);
}

.tracker-table td.center {
  text-align: center;
}

.label-cell {
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.score-cell {
  font-weight: var(--weight-bold);
  color: #fff;
  text-align: center;
}

.detail-cell {
  font-size: var(--text-sm);
  color: rgba(160, 175, 190, 0.8);
}

.money-cell {
  text-align: right;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.money-cell.risk {
  color: rgba(200, 210, 220, 0.8);
}
.money-cell.win {
  color: rgba(0, 214, 137, 0.85);
}
.money-cell.pnl.positive {
  color: var(--status-hit-color);
}
.money-cell.pnl.negative {
  color: var(--status-miss-color);
}

/* ===== ROUND ROBIN TABLE ===== */
.rr-type-cell {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(160, 175, 190, 0.9);
  white-space: nowrap;
}

.rr-legs-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.rr-leg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: rgba(200, 210, 220, 0.85);
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pf-source {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  border: 1px solid rgba(120, 185, 255, 0.22);
  color: rgba(152, 203, 255, 0.9);
  background: rgba(80, 160, 255, 0.09);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pf-source[data-source="actual"] {
  border-color: rgba(0, 214, 137, 0.24);
  color: rgba(0, 214, 137, 0.9);
  background: rgba(0, 214, 137, 0.08);
}

/* ==========================================================================
   MODEL PICKS — iPhone-first card output
   ========================================================================== */

/* Section wrapper */
.mp-section {
  margin: 4px 0 24px;
}

/* Legacy toolbar (kept for compat) */
.mp-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 20px 0 10px;
}

/* Section header row: title + fetch buttons on same line */
.mp-section-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.mp-title {
  margin: 0;
  white-space: nowrap;
}

/* Fetch bar */
.mp-fetch-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mp-dropdown {
  position: relative;
}

.mp-fetch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  min-height: 38px;
  border-radius: 20px;
  border: 1px solid rgba(0, 214, 137, 0.25);
  background: rgba(0, 214, 137, 0.06);
  color: rgba(200, 220, 210, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    opacity 0.1s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.mp-fetch-btn:hover:not(:disabled),
.mp-fetch-btn:active:not(:disabled) {
  background: rgba(0, 214, 137, 0.14);
  border-color: rgba(0, 214, 137, 0.45);
  color: #fff;
}

.mp-fetch-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mp-fetch-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mp-btn-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Loading animation */
.mp-fetch-btn.mp-loading svg,
.mp-fetch-btn.mp-loading .mp-btn-icon {
  animation: mp-spin 0.8s linear infinite;
}

@keyframes mp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Clear button */
.mp-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 13px;
  min-height: 38px;
  border-radius: 20px;
  border: 1px solid rgba(255, 80, 80, 0.25);
  background: rgba(255, 80, 80, 0.06);
  color: rgba(255, 120, 120, 0.8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.mp-clear-btn:hover {
  background: rgba(255, 80, 80, 0.14);
  border-color: rgba(255, 80, 80, 0.45);
  color: rgba(255, 120, 120, 1);
}

/* State colors */
.mp-fetch-btn.mp-ok {
  border-color: rgba(0, 214, 137, 0.6);
  background: rgba(0, 214, 137, 0.12);
  color: #00d689;
}

.mp-fetch-btn.mp-err {
  border-color: rgba(255, 80, 80, 0.4);
  background: rgba(255, 80, 80, 0.07);
  color: rgba(255, 120, 120, 0.9);
}

.mp-fetch-all {
  border-color: rgba(0, 214, 137, 0.35);
  background: rgba(0, 214, 137, 0.09);
}

.mp-dropdown-menu[hidden] {
  display: none !important;
}

.mp-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(0, 214, 137, 0.2);
  background: rgba(7, 18, 30, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 25;
}

.mp-fetch-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(220, 232, 238, 0.92);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mp-fetch-item:hover,
.mp-fetch-item:focus-visible {
  background: rgba(0, 214, 137, 0.14);
  color: #fff;
  outline: none;
}

/* Last-refreshed timestamp */
.mp-last-sync {
  font-size: 11px;
  color: rgba(160, 175, 190, 0.55);
  white-space: nowrap;
}

/* Cards container: vertical stack, full width */
.mp-cards-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Empty / error state */
.mp-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  color: rgba(160, 175, 190, 0.55);
  font-size: 13px;
  text-align: center;
}

.mp-empty-icon {
  font-size: 26px;
  line-height: 1;
}

.mp-err-state {
  color: rgba(255, 120, 120, 0.75);
}

/* ── Individual pick card ─────────────────────────────────────────────── */

.mp-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 214, 137, 0.1);
  background: linear-gradient(
    160deg,
    rgba(8, 20, 36, 0.96) 0%,
    rgba(4, 12, 24, 0.99) 100%
  );
  overflow: hidden;
  transition: border-color 0.15s;
}

.mp-card:hover {
  border-color: rgba(0, 214, 137, 0.22);
}

/* Card header: league icon + matchup + date */
.mp-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mp-league-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
}

.mp-league-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(60, 255, 181, 0.1);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(0, 214, 137, 0.85);
  flex-shrink: 0;
}

.mp-matchup {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #e8f0f4;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-at {
  color: rgba(160, 175, 190, 0.5);
  font-weight: 400;
  font-size: 12px;
}

.mp-date {
  font-size: 11px;
  color: rgba(160, 175, 190, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Card body: pick label + odds */
.mp-card-body {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px 8px;
}

.mp-pick-label {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.mp-odds-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(180, 195, 210, 0.65);
  white-space: nowrap;
}

/* Card footer: edge + fire + segment pill + pick type */
.mp-card-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mp-edge-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

.mp-edge-high {
  background: rgba(0, 214, 137, 0.15);
  color: #00d689;
  border: 1px solid rgba(0, 214, 137, 0.3);
}

.mp-edge-mid {
  background: rgba(255, 185, 50, 0.12);
  color: rgba(255, 200, 80, 0.9);
  border: 1px solid rgba(255, 185, 50, 0.25);
}

.mp-edge-low {
  background: rgba(160, 175, 190, 0.08);
  color: rgba(160, 175, 190, 0.6);
  border: 1px solid rgba(160, 175, 190, 0.15);
}

.mp-fire {
  font-size: 14px;
  line-height: 1;
  margin-right: 2px;
}

.mp-segment-pill {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(180, 195, 210, 0.7);
}

/* Segment colour variants (mirrors existing segment-colors.css tokens) */
.mp-segment-pill[data-segment*="fg"],
.mp-segment-pill[data-segment*="full"] {
  background: rgba(80, 160, 255, 0.1);
  color: rgba(120, 185, 255, 0.85);
}

.mp-segment-pill[data-segment*="1h"] {
  background: rgba(255, 185, 50, 0.1);
  color: rgba(255, 200, 80, 0.85);
}

.mp-segment-pill[data-segment*="2h"] {
  background: rgba(180, 100, 255, 0.1);
  color: rgba(200, 140, 255, 0.85);
}

.mp-pick-type-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(160, 175, 190, 0.5);
  margin-left: auto;
}

/* ── Skeleton loading cards ──────────────────────────────────────────── */

.mp-card-skeleton {
  padding: 12px 14px;
  gap: 10px;
  pointer-events: none;
}

.mp-skel-row {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: mp-shimmer 1.4s ease-in-out infinite;
  width: 80%;
}

.mp-skel-body {
  height: 22px;
  width: 60%;
  animation-delay: 0.1s;
}

.mp-skel-footer {
  height: 12px;
  width: 45%;
  animation-delay: 0.2s;
}

@keyframes mp-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.status-dot[data-status="pending"] {
  background: rgba(136, 140, 149, 0.6);
}
.status-dot[data-status="on-track"] {
  background: var(--status-on-track-color);
}
.status-dot[data-status="at-risk"] {
  background: var(--status-at-risk-color);
}
.status-dot[data-status="win"] {
  background: var(--status-hit-color);
}
.status-dot[data-status="loss"] {
  background: var(--status-miss-color);
}
.status-dot[data-status="push"] {
  background: rgba(184, 197, 208, 0.6);
}

/* Win/Loss row highlighting */
.tracker-table tbody tr[data-status="win"] {
  background: rgba(0, 255, 170, 0.03);
}
.tracker-table tbody tr[data-status="loss"] {
  background: rgba(229, 57, 53, 0.03);
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .tracker-page {
    padding: 0 16px 40px;
  }

  #game-cards {
    grid-template-columns: 1fr;
  }

  .tracker-kpis {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .kpi-card {
    padding: 10px 8px;
  }
  .kpi-value {
    font-size: 1.1rem;
  }

  .tracker-header h1 {
    font-size: 1.1rem;
  }

  .tracker-table {
    font-size: var(--text-sm);
  }
  .tracker-table thead th,
  .tracker-table tbody td {
    padding: 6px 6px;
  }

  .rr-legs-cell {
    gap: 4px 6px;
  }
}

/* ===== UTILITY CLASSES ===== */
.mp-hidden {
  display: none !important;
}

.rr-section-hidden {
  display: none !important;
}

/* ===== KPI INLINE BAR ===== */
.kpi-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 16px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 32, 0.95),
    rgba(4, 12, 24, 0.98)
  );
  border: 1px solid rgba(0, 214, 137, 0.1);
  overflow-x: auto;
  scrollbar-width: none;
}

.kpi-bar::-webkit-scrollbar {
  display: none;
}

.kpi-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  padding: 0 12px;
}

.kpi-k {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0, 214, 137, 0.7);
}

.kpi-v {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.kpi-v.positive {
  color: var(--status-hit-color, #00d689);
}

.kpi-v.negative {
  color: var(--status-miss-color, #e53935);
}

.kpi-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 214, 137, 0.8);
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(0, 214, 137, 0.08);
  margin-bottom: 10px;
}

.section-label span {
  font-weight: 400;
  color: rgba(160, 175, 190, 0.5);
  margin-left: 6px;
}

/* ===== PICK FEED — unified card stream ===== */
.pick-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pick-feed-empty {
  text-align: center;
  padding: 40px 16px;
  color: rgba(160, 175, 190, 0.45);
  font-size: 14px;
  font-weight: 500;
}

/* ── Pick Feed Card ── */
.pf-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid rgba(0, 214, 137, 0.1);
  background: linear-gradient(
    165deg,
    rgba(8, 20, 36, 0.96),
    rgba(4, 12, 24, 0.99)
  );
  overflow: hidden;
  transition: border-color 0.15s;
}

.pf-card:hover {
  border-color: rgba(0, 214, 137, 0.2);
}

/* Status-colored left border */
.pf-card[data-status="win"] {
  border-left: 3px solid rgba(0, 214, 137, 0.6);
}

.pf-card[data-status="loss"] {
  border-left: 3px solid rgba(229, 57, 53, 0.6);
}

.pf-card[data-status="on-track"] {
  border-left: 3px solid rgba(0, 191, 255, 0.6);
}

.pf-card[data-status="at-risk"] {
  border-left: 3px solid rgba(251, 140, 0, 0.6);
}

.pf-card[data-status="push"] {
  border-left: 3px solid rgba(184, 197, 208, 0.4);
}

/* Top row: sport tag + status */
.pf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 0;
}

.pf-sport {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 214, 137, 0.7);
}

.pf-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 8px;
}

.pf-status[data-status="pending"] {
  color: rgba(160, 175, 190, 0.7);
  background: rgba(160, 175, 190, 0.1);
}

.pf-status[data-status="on-track"] {
  color: rgba(0, 191, 255, 0.9);
  background: rgba(0, 191, 255, 0.1);
}

.pf-status[data-status="at-risk"] {
  color: rgba(251, 140, 0, 0.9);
  background: rgba(251, 140, 0, 0.1);
}

.pf-status[data-status="win"] {
  color: rgba(0, 214, 137, 0.95);
  background: rgba(0, 214, 137, 0.12);
}

.pf-status[data-status="loss"] {
  color: rgba(229, 57, 53, 0.95);
  background: rgba(229, 57, 53, 0.1);
}

.pf-status[data-status="push"] {
  color: rgba(184, 197, 208, 0.7);
  background: rgba(184, 197, 208, 0.08);
}

.pf-status[data-status="live"] {
  color: rgba(255, 68, 68, 0.95);
  background: rgba(255, 68, 68, 0.1);
}

/* Pick label — main hero text */
.pf-pick {
  padding: 4px 12px 2px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* Team logos in matchup */
.pf-team-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 3px;
}

/* League icon in sport tag */
.pf-league-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

/* Matchup line */
.pf-matchup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  padding: 0 12px;
  font-size: 12px;
  color: rgba(200, 210, 220, 0.7);
  line-height: 1.4;
}

.pf-at {
  color: rgba(160, 175, 190, 0.4);
  font-size: 11px;
  margin: 0 2px;
}

.pf-score {
  color: rgba(220, 230, 240, 0.9);
  font-weight: 600;
}

/* Evaluation detail */
.pf-detail {
  padding: 2px 12px;
  font-size: 11px;
  color: rgba(160, 175, 190, 0.55);
}

/* Money row */
.pf-money {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 12px 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.pf-m {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(220, 230, 240, 0.9);
  font-variant-numeric: tabular-nums;
}

.pf-ml {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(160, 175, 190, 0.45);
  margin-bottom: 1px;
}

.pf-pnl.positive {
  color: var(--status-hit-color, #00d689);
}

.pf-pnl.negative {
  color: var(--status-miss-color, #e53935);
}

/* ── Round Robin Feed Cards ── */
.pf-rr-legs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 4px 12px 6px;
}

.pf-rr-leg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(200, 210, 220, 0.8);
}

.pf-rr-leg .status-dot {
  width: 6px;
  height: 6px;
}

/* Mobile overrides handled by picks-tracker-mobile.css */
