.vrool-earn-badge {
  --earn-ink: #594367;
  --earn-surface: #faf6fc;
  --earn-edge: #d6c4df;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .38em;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 4px 0;
  padding: 3px 8px;
  border: 1px solid var(--earn-edge);
  border-radius: 6px;
  background: var(--earn-surface);
  color: var(--earn-ink);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}

:is(.vrool-ll-rail-image, .vrool-ll-dt-imgwrap, .vrool-ll-mob-img,
    .simple-prod .img-wrap, .vrool-result .vrool-thumbgrid .main) > .vrool-earn-badge {
  position: absolute;
  inset: auto auto 8px 8px;
  z-index: 6;
  margin: 0;
  pointer-events: none;
}

:is(html[data-vrool-theme="dark"], html:not([data-vrool-theme="light"]) body[data-theme="dark"]) .vrool-earn-badge {
  --earn-ink: #e2d2eb;
  --earn-surface: #302a35;
  --earn-edge: #6c5a75;
}

:is(.simple-prod, .vrool-result, .vrool-ll-rail-card, .vrool-ll-dt-card, .vrool-ll-mob-card, #referral-market .rm-card):has(.vrool-earn-badge) {
  --earn-ring: #d6c4df;
  outline: 1px solid var(--earn-ring);
  outline-offset: -1px;
}

:is(html[data-vrool-theme="dark"], html:not([data-vrool-theme="light"]) body[data-theme="dark"])
  :is(.simple-prod, .vrool-result, .vrool-ll-rail-card, .vrool-ll-dt-card, .vrool-ll-mob-card, #referral-market .rm-card):has(.vrool-earn-badge) {
  --earn-ring: #6c5a75;
}

:is(.simple-prod, .vrool-result, .vrool-ll-rail-card, .vrool-ll-dt-card, .vrool-ll-mob-card, #referral-market .rm-card):has(.vrool-earn-badge):is(:hover, :focus-within) {
  --earn-ring: #9d7aaf;
}

#referral-market .rm-reward-value .vrool-earn-badge {
  align-self: center;
  margin: 0;
}

.vrool-commission-filter select {
  width: 100%;
}

.vrool-earn-browse {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-bottom: 10px;
  color: #633d79;
  font-size: .875rem;
  font-weight: 600;
}

:is(html[data-vrool-theme="dark"], html:not([data-vrool-theme="light"]) body[data-theme="dark"]) .vrool-earn-browse {
  color: #dec4ee;
}
