/* WTWR PICK 1 / PICK 2 PERFORMANCE PAGE — V2 (2026-09-20) */
.wtwr-perf-intro { margin: 0 0 16px; }
.wtwr-perf-intro p { margin: 0 0 10px; line-height: 1.5; }
.wtwr-perf-defs { margin: 0 0 10px; padding-left: 20px; }
.wtwr-perf-defs li { margin: 4px 0; line-height: 1.4; }
.wtwr-perf-meta { font-size: 12px; opacity: .65; }

.wtwr-perf-table-wrap {
  overflow-x: auto;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
}
.wtwr-perf-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1100px;
  font-size: 13px;
}
.wtwr-perf-table th, .wtwr-perf-table td {
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-right: 1px solid rgba(255,255,255,.05);
}
.wtwr-perf-table td:first-child, .wtwr-perf-table th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: inherit;
  z-index: 1;
}

/* Freeze the full header row permanently while scrolling through dates
   (direct user instruction) -- both header rows stick, stacked, via
   their own top offsets so the two-row grouped header never scrolls
   away regardless of how many date rows exist below it. */
.wtwr-perf-table thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #12202f;
  color: #fff;
  font-weight: 800;
}
.wtwr-perf-table thead tr:nth-child(2) th {
  position: sticky;
  top: 33px;
  z-index: 3;
  background: #0b1826;
  color: #cfe3f7;
  font-size: 11px;
  font-weight: 700;
}
.wtwr-perf-table thead tr:first-child th:first-child,
.wtwr-perf-table thead tr:nth-child(2) th:first-child {
  z-index: 4;
}

.wtwr-perf-num { font-variant-numeric: tabular-nums; }
/* WTWR_REGION_COMPLETED_COUNT_V1 (2026-09-22): the "/ 27" denominator inside a
   Win or Top-3 cell. Dimmed and slightly smaller so the figure that matters --
   the count itself -- still reads first, with the denominator qualifying it. */
.wtwr-perf-den { opacity: .55; font-size: .85em; white-space: nowrap; }
.wtwr-perf-totals { font-weight: 800; background: rgba(255,255,255,.05); }
.wtwr-perf-totals td:first-child { background: rgba(255,255,255,.05); }
.wtwr-perf-empty { text-align: center !important; opacity: .6; padding: 24px !important; }
.wtwr-perf-loading, .wtwr-perf-error { padding: 20px; opacity: .75; }
.wtwr-perf-error { color: #e08a8a; }
