/* 游戏记录页两处跑版（2026-10-12，运营方截图 10:48）
 *
 * 1) 日期/游戏商下拉：自定义箭头是 position:absolute right:0，而那两列只有
 *    minmax(112px,1.35fr) / minmax(92px,1fr)。13px 下「今日数据 10月12日」本身就要 112px，
 *    正好顶到箭头，看起来像箭头粘在字上。把两列放宽、给箭头留位置。
 * 2) 厂商卡片的「有效下注」：列宽 minmax(66px,.8fr)，11px 的「15,132,062.00」要 ~76px，
 *    被 text-overflow:ellipsis 截成「15,132,06…」。金额不该被截断。
 *    改成按视口缩字号 + 数字等宽，并把两个金额列从名字列借一点宽度。
 *
 * 真机宽度实测（在线上页面里按真实 DOM/CSS 量的，单位 px，「到箭头」是文字右边到箭头左边的空隙）：
 *            日期到箭头   游戏商到箭头   有效下注是否截断
 *   320          17            11            否
 *   360          16             2            否
 *   375          25             8            否
 *   412          30            36            否
 *   768         187           151            否
 *   （改之前：375 是 -14，360 是 -14，金额在 375 下被截断）
 *
 * 只动这两处的排布，不改颜色、圆角、阴影、间距基调。
 */

/* 1) 筛选条：日期列和游戏商列各自放宽，箭头留位 */
.game-records-action-page .game-record-filter-bar {
  grid-template-columns: 18px minmax(126px, 1.75fr) 1px 34px 1px minmax(80px, 1fr) !important;
  gap: 5px !important;
}
.game-records-action-page .game-record-filter-bar label select {
  padding-right: 19px !important;
}
.game-records-action-page .game-record-filter-bar label svg {
  right: 0 !important;
}

/* 2) 金额不截断：按视口缩字号，数字等宽 */
.game-records-action-page .game-record-provider-metric strong {
  white-space: nowrap !important;
  text-overflow: clip !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.2px !important;
  font-size: clamp(8.5px, 2.6vw, 13px) !important;
}

@media (max-width: 390px) {
  /* 名字列让出 12px 给两个金额列 */
  .game-records-action-page .game-record-provider-card {
    grid-template-columns: 32px minmax(72px, 1fr) minmax(72px, .9fr) minmax(72px, .9fr) 14px !important;
  }
  .game-records-action-page .game-record-provider-metric strong {
    font-size: clamp(8.5px, 2.6vw, 11px) !important;
  }
}

@media (max-width: 359px) {
  .game-records-action-page .game-record-provider-card {
    grid-template-columns: 30px minmax(68px, 1fr) minmax(76px, 1fr) 12px !important;
  }
}
