/* Keep profile hover states visible above the shared theme's card fills. */
.swimmer-page .meet-history-item,
.swimmer-page .profile-meet-picker .dtsc-select__trigger,
.swimmer-page #current_nominations .meet-event-planner-jump {
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
html[data-theme] body .swimmer-page .meet-history-item:is(:hover, :focus-visible),
html[data-theme] body .swimmer-page #profile_meets .profile-meet-picker .dtsc-select__trigger:is(:hover, :focus-visible) {
  background: #edf5ff !important;
  border-color: #87a9d6 !important;
  box-shadow: 0 3px 10px rgba(11, 42, 91, .09) !important;
}
html[data-theme='dark'] body .swimmer-page .meet-history-item:is(:hover, :focus-visible),
html[data-theme='dark'] body .swimmer-page #profile_meets .profile-meet-picker .dtsc-select__trigger:is(:hover, :focus-visible) {
  background: #304b69 !important;
  border-color: #8ab8e9 !important;
}
html[data-theme='dark'] body .swimmer-page .meet-history-item:is(.active, .is-active):is(:hover, :focus-visible) {
  background: #3a6893 !important;
  border-color: #aad0ff !important;
}
html[data-theme] body .swimmer-page #current_nominations .meet-event-planner--closed .meet-event-planner-jump:is(:hover, :focus-visible) {
  background: #e8f1ff !important;
  border-color: #6b9ad0 !important;
  box-shadow: 0 2px 8px rgba(11, 42, 91, .1) !important;
}
html[data-theme='dark'] body .swimmer-page #current_nominations .meet-event-planner--closed .meet-event-planner-jump:is(:hover, :focus-visible) {
  background: #365979 !important;
  border-color: #93b5d9 !important;
}
html[data-theme] body .swimmer-page .recommendation-benchmark-times > .is-achieved > :is(a, span, strong) {
  color: #197247 !important;
}
html[data-theme='dark'] body .swimmer-page .recommendation-benchmark-times > .is-achieved > :is(a, span, strong) {
  color: #82d5a8 !important;
}
/* The same button occupies the same space for both View Graph and Hide Graph. */
html body .swimmer-page .stroke-scoreboard__panel-foot .stroke-score-history__toggle {
  width: 108px;
  flex: 0 0 108px;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
}
@media (prefers-reduced-motion: reduce) {
  .swimmer-page .meet-history-item,
  .swimmer-page .profile-meet-picker .dtsc-select__trigger,
  .swimmer-page #current_nominations .meet-event-planner-jump { transition: none; }
}
