/* VEE Results 1.14.8 — SHF badges, forced after theme.php */
.rider-line,
.mobile-rider-line {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}

.shf-rider-label-badge {
  display:inline-block !important;
  flex:0 0 auto !important;
  width:26px !important;
  height:27px !important;
  max-width:26px !important;
  max-height:27px !important;
  margin:0 0 0 2px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  object-fit:contain !important;
  vertical-align:middle !important;
  box-shadow:none !important;
}

.shf-top100-badge {
  display:inline-flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  gap:5px !important;
  min-height:25px !important;
  margin:0 0 0 2px !important;
  padding:2px 3px 2px 8px !important;
  border:1px solid #e5c76d !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#fffaf0 0%,#fff0b8 100%) !important;
  color:#6d510d !important;
  font-size:10px !important;
  font-weight:900 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  box-shadow:0 2px 7px rgba(95,69,8,.10) !important;
}
.shf-top100-badge::before {
  content:"★" !important;
  display:inline-block !important;
  color:#bd8a12 !important;
  font-size:10px !important;
  line-height:1 !important;
}
.shf-top100-label {
  display:inline-block !important;
  font-size:9px !important;
  font-weight:950 !important;
  letter-spacing:.035em !important;
  text-transform:uppercase !important;
}
.shf-top100-rank {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:28px !important;
  height:19px !important;
  padding:0 6px !important;
  border:1px solid rgba(171,124,13,.20) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#674a08 !important;
  font-size:10px !important;
  font-weight:950 !important;
  line-height:1 !important;
}

.shf-market-link {
  display:inline-flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  gap:6px !important;
  min-height:30px !important;
  max-width:100% !important;
  padding:2px 8px 2px 5px !important;
  border:1px solid #e4c6c9 !important;
  border-radius:999px !important;
  background:#fff7f8 !important;
  color:#7e1424 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
.shf-market-link:hover {
  border-color:#c98f97 !important;
  background:#fff1f3 !important;
  transform:none !important;
}
.shf-market-logo-img {
  display:block !important;
  flex:0 0 auto !important;
  width:22px !important;
  height:26px !important;
  max-width:22px !important;
  max-height:26px !important;
  margin:0 !important;
  object-fit:contain !important;
}
.shf-market-link.compact .shf-market-logo-img {
  width:20px !important;
  height:24px !important;
  max-width:20px !important;
  max-height:24px !important;
}
.shf-market-link-mobile {
  min-height:27px !important;
  padding:1px 4px !important;
}
.shf-market-link-mobile .shf-market-logo-img {
  width:18px !important;
  height:22px !important;
  max-width:18px !important;
  max-height:22px !important;
}
.shf-market-link-label {
  display:inline-block !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:9px !important;
  font-weight:900 !important;
  line-height:1.05 !important;
}
.horse-badges {
  align-items:center !important;
}
.cci-rider-name + .shf-rider-label-badge {
  margin-left:6px !important;
}

@media (max-width:720px) {
  .shf-rider-label-badge {
    width:23px !important;
    height:24px !important;
    max-width:23px !important;
    max-height:24px !important;
  }
  .shf-top100-badge {
    min-height:23px !important;
    padding-left:7px !important;
  }
  .shf-top100-label { font-size:8px !important; }
  .shf-top100-rank {
    min-width:26px !important;
    height:18px !important;
    font-size:9px !important;
  }
}
