.game-bet-history-summaries{display:grid;gap:12px;margin:0 0 16px}.game-bet-history-currency-summary h2{margin:0 0 8px;color:var(--muted,#788599);font-size:12px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}.game-bet-history-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.game-bet-history-summary-card{box-sizing:border-box;min-height:86px;padding:14px 16px;background:linear-gradient(145deg,#fff,#f7f9fc);border:1px solid var(--border,#e4e9f1);border-radius:10px;box-shadow:0 4px 14px rgba(35,52,77,.05)}.game-bet-history-summary-card span{display:block;margin-bottom:8px;color:var(--muted,#8291a8);font-size:12px}.game-bet-history-summary-card strong{color:var(--text,#25354d);font-size:18px;font-weight:750;font-variant-numeric:tabular-nums}.game-bet-history-summary-card.is-win strong{color:#218454}.game-bet-history-summary-card.is-loss strong,.game-bet-history-net[data-state=negative]{color:#c53d4a}.game-bet-history-net[data-state=positive]{color:#218454}.game-bet-history-summary-empty{margin:0;padding:14px 16px;color:var(--muted,#788599);background:var(--surface,#fff);border:1px solid var(--border,#e4e9f1);border-radius:9px}.game-bet-history-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.game-bet-history-tag{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:#eef1f6;color:#5e6a7c;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}.game-bet-history-tag[data-state=negative]{background:#fff0f1;color:#b83242}.game-bet-history-tag[data-state=positive]{background:#eaf7ef;color:#23754a}.game-bet-history-tag[data-state=neutral]{background:#f0f2f5;color:#626e80}.dark .game-bet-history-summary-card{background:linear-gradient(145deg,#202724,#19211e);border-color:#35413b;box-shadow:0 5px 16px rgba(0,0,0,.14)}.dark .game-bet-history-summary-card span{color:#aab2b7}.dark .game-bet-history-summary-card strong{color:#f2f4f3}.dark .game-bet-history-summary-card.is-win strong{color:#62c8a4}.dark .game-bet-history-summary-card.is-loss strong,.dark .game-bet-history-net[data-state=negative]{color:#e48686}.dark .game-bet-history-net[data-state=positive]{color:#62c8a4}.dark .game-bet-history-summary-empty{background:#202724;border-color:#35413b;color:#aab2b7}.dark .game-bet-history-tag[data-state=negative]{background:#44262c;color:#ff929b}.dark .game-bet-history-tag[data-state=positive]{background:#17342b;color:#62c8a4}.dark .game-bet-history-tag[data-state=neutral]{background:#30343c;color:#c2c7d0}@media(max-width:760px){.game-bet-history-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-bet-history-summary-card{min-height:72px;padding:12px 14px}.game-bet-history-summary-card strong{font-size:16px}}


/* Keep the wide report table inside its own viewport, without shifting the admin shell. */
#game-bet-history-report-page.turnover-report-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  min-width: 0;
  overflow-x: clip;
}
#game-bet-history-report-page .turnover-report-panel,
#game-bet-history-report-page .turnover-report-table-scroll {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
#game-bet-history-search {
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) repeat(3, minmax(120px, 1fr)) repeat(2, minmax(120px, 1fr)) auto;
  align-items: end;
}
#game-bet-history-search > label {
  box-sizing: border-box;
  min-width: 0;
  width: auto;
  flex: none;
}
#game-bet-history-search .turnover-report-filter-actions {
  min-width: max-content;
  gap: 8px;
}
#game-bet-history-search .turnover-report-filter-actions button {
  min-width: 68px;
}
@media (max-width: 1120px) {
  #game-bet-history-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #game-bet-history-search > label:first-child {
    grid-column: span 2;
  }
  #game-bet-history-search .turnover-report-filter-actions {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  #game-bet-history-report-page.turnover-report-page {
    padding: 16px 12px;
  }
  #game-bet-history-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #game-bet-history-search > label:first-child,
  #game-bet-history-search .turnover-report-filter-actions {
    grid-column: 1 / -1;
  }
  #game-bet-history-search .turnover-report-filter-actions button {
    flex: 1;
  }
}