#leaderboard .listing {
  border: 0;
  border-bottom: 1px solid var(--line);
  transform: none;
}

body.dark {
  --lime: #a94732;
}

body.dark .bid-panel {
  border: 1px solid #3c3934;
  background: #24221f;
  color: #f6f1e7;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

body.dark .bid-panel .panel-heading {
  border-color: #46423c;
}

body.dark .bid-panel .eyebrow,
body.dark .bid-panel .panel-heading p {
  color: #aaa39a;
}

body.dark .bid-panel .panel-heading h2 strong {
  color: #ff8068;
}

body.dark .bid-panel .stepper {
  border: 1px solid #46423c;
  background: #302d29;
  color: #f6f1e7;
}

body.dark .bid-panel .stepper:hover {
  border-color: #ff8068;
  color: #ff8068;
}

body.dark .bid-panel .amount-wrap {
  border-top: 1px solid #46423c;
  border-bottom: 1px solid #46423c;
  background: #171614;
  color: #f6f1e7;
}

body.dark .bid-panel .amount-wrap input {
  color: #f6f1e7;
}

body.dark .bid-panel .rank-scale {
  color: #8f887f;
}

body.dark .bid-panel .rank-scale div {
  background: #4b4640;
}

body.dark .bid-panel .rank-scale i {
  background: #e3a36f;
}

body.dark .bid-panel .rank-scale div:nth-of-type(2) i {
  background: #ff6b4d;
}

body.dark .bid-panel .url-field > span {
  color: #c4bdb2;
}

body.dark .bid-panel .url-field input {
  border-color: #4b4640;
  background: #1b1a18;
  color: #f6f1e7;
}

body.dark .bid-panel .url-field input::placeholder {
  color: #777168;
}

body.dark .bid-panel .url-field input:focus {
  border-color: #ff8068;
}

body.dark .bid-panel .destination-logo-fallback {
  background: #302d29;
  color: #aaa39a;
}

body.dark .bid-panel .outbid-hint {
  color: #918a81;
}

body.dark .bid-panel .outbid-hint strong {
  color: #ff8068;
}

body.dark .bid-panel .bid-submit {
  background: #a94732;
  color: #fffdf8;
}

body.dark .bid-panel .bid-submit:disabled {
  background: #35322e;
  color: #817a70;
}

body.dark .bid-panel .fine-print {
  color: #817a70;
}

.live-dot {
  animation: live-pulse 1.8s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 76, 47, .45);
  }

  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(240, 76, 47, 0);
  }
}

:is(#leaderboard .reach, #trendingItems .pulse-row > small, #myClicks)::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  background: var(--accent);
  border-radius: 50%;
  content: '';
  vertical-align: 1px;
  animation: live-pulse 1.8s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
    box-shadow: 0 0 0 4px rgba(240, 76, 47, .15);
  }

  :is(#leaderboard .reach, #trendingItems .pulse-row > small, #myClicks)::before {
    animation: none;
    box-shadow: 0 0 0 4px rgba(240, 76, 47, .15);
  }
}

#leaderboard .listing:hover {
  transform: none;
}

#leaderboard .listing-featured {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

#leaderboard .listing-leader {
  border-color: var(--accent);
  background: #fff7f2;
}

#leaderboard .listing-featured .listing-link {
  padding: 22px 20px;
}

#leaderboard .listing-featured .rank {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font: 700 10px var(--sans);
}

#leaderboard .listing-featured .listing-copy strong {
  font-size: 22px;
}

#leaderboard .listing-featured .listing-copy small {
  max-width: 650px;
}

#leaderboard .listing:not(.listing-featured) .listing-link {
  padding-top: 18px;
  padding-bottom: 18px;
}

#leaderboard .listing:not(.listing-featured) .avatar {
  width: 40px;
  height: 40px;
}

#leaderboard .avatar {
  position: relative;
  overflow: hidden;
}

#leaderboard .listing-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--paper);
}

#leaderboard .listing:not(.listing-featured) .listing-copy strong {
  font-size: 17px;
}

#leaderboard .listing-meta {
  position: relative;
  min-width: 205px;
  color: var(--muted);
  font: 500 10px var(--mono);
  white-space: nowrap;
}

#leaderboard .current-meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 9px;
}

#leaderboard .claim-bid {
  position: absolute;
  right: 0;
  top: 50%;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 700 12px/1 var(--sans);
  opacity: 0;
  transform: translateY(-40%);
}

#leaderboard .claim-bid:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  opacity: 1;
  transform: translateY(-50%);
}

#leaderboard .claim-bid strong {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

#leaderboard .listing:hover .current-meta {
  opacity: 0;
  transform: translateY(4px);
}

#leaderboard .listing:hover .claim-bid {
  opacity: 1;
  transform: translateY(-50%);
}

#leaderboard .bid-value {
  color: var(--ink);
  font-size: 11px;
}

#leaderboard .bid-value small {
  display: inline;
  margin: 0;
  color: var(--muted);
  font: inherit;
  letter-spacing: 0;
  text-transform: lowercase;
}

#leaderboard .reach::before {
  content: '';
}

.leaderboard-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 27px 10px 12px;
  color: var(--accent);
  font: 500 9px var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.leaderboard-divider::before,
.leaderboard-divider::after {
  content: '';
  height: 1px;
  background: var(--line);
}

.leaderboard-divider span {
  padding: 5px 9px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}

.board-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.board-pagination button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
}

.board-pagination button:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
}

.board-pagination button:disabled {
  opacity: .3;
  cursor: default;
}

.board-pagination span {
  min-width: 90px;
  text-align: center;
  color: var(--muted);
  font: 500 10px var(--mono);
}

.destination-error {
  min-height: 17px;
  margin: -7px 0 0;
  color: #ff9b86;
  font-size: 11px;
}

.destination-error[data-state="checking"] {
  color: #cbc5bb;
}

.destination-input {
  position: relative;
}

.destination-input input {
  padding-left: 52px;
}

.destination-logo-fallback,
.destination-logo {
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
}

.destination-logo-fallback {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  color: #cbc5bb;
  font: 700 12px var(--sans);
}

.destination-logo {
  object-fit: cover;
  background: var(--paper);
}

#urlInput[aria-invalid="true"] {
  border-color: #ff9b86;
}

body.dark #leaderboard .listing-leader {
  background: var(--paper);
}

@media (max-width: 700px) {
  #leaderboard .listing-meta {
    min-width: 0;
  }

  #leaderboard .listing-featured {
    margin-bottom: 8px;
  }

  #leaderboard .listing-featured .listing-link {
    padding: 18px 13px;
  }

  #leaderboard .listing-featured .rank {
    width: 24px;
    height: 24px;
    font-size: 9px;
  }

  #leaderboard .listing-featured .listing-copy strong {
    font-size: 18px;
  }

  #leaderboard .listing:not(.listing-featured) .listing-link {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .leaderboard-divider {
    margin: 22px 4px 8px;
  }
}