:root {
  --rsd-surface: #0d1424;
  --rsd-surface-soft: #121d33;
  --rsd-surface-deep: #08111f;
  --rsd-card-top: #15233d;
  --rsd-card-bottom: #0d172b;
  --rsd-card-border: rgba(115, 150, 255, 0.18);
  --rsd-card-border-strong: rgba(126, 165, 255, 0.34);
  --rsd-hover-glow: rgba(77, 122, 255, 0.22);
  --rsd-text: #f5f8ff;
  --rsd-muted: #97a6c4;
  --rsd-line: rgba(117, 150, 241, 0.24);
  --rsd-pill-bg: rgba(13, 24, 45, 0.94);
  --rsd-pill-border: rgba(121, 151, 232, 0.18);
  --rsd-button-a: #3565da;
  --rsd-button-b: #5a8dff;
  --rsd-bonus-a: #5a57c6;
  --rsd-bonus-b: #4956bc;
  --rsd-offerwall-gap: 12px;
  --rsd-offerwall-item-size: 50px;
}

.esd-directory {
  color: var(--rsd-text);
  --rsd-accent: var(--esd-accent, #2f5fb8);
}

.esd-shell {
  position: relative;
  width: 100%;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(74, 118, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(14, 22, 39, 0.98), rgba(8, 13, 24, 0.98));
  border: 1px solid rgba(110, 145, 236, 0.12);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
  box-sizing: border-box;
}

.esd-header {
  margin-bottom: 18px;
}

.esd-header-copy {
  max-width: 760px;
}

.esd-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.esd-intro {
  margin: 10px 0 0;
  color: var(--rsd-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.esd-section {
  position: relative;
}

.esd-grid {
  display: grid;
  grid-template-columns: repeat(var(--esd-grid-desktop, 3), minmax(0, 1fr));
  gap: 18px;
}

.esd-card,
.esd2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 384px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(83, 124, 255, 0.16), transparent 31%),
    linear-gradient(180deg, rgba(18, 32, 58, 0.99), rgba(7, 18, 37, 0.99));
  border: 1px solid var(--rsd-card-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.esd2-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at top right, rgba(91, 136, 255, 0.2), transparent 42%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.esd2-card:hover,
.esd2-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--rsd-card-border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(110, 150, 255, 0.08),
    0 0 24px var(--rsd-hover-glow);
}

.esd2-card:hover::before,
.esd2-card:focus-within::before {
  opacity: 1;
}

.esd2-head,
.esd2-divider,
.esd2-bonus-line,
.esd2-offerwall-strip,
.esd2-footer {
  position: relative;
  z-index: 1;
}

.esd2-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 18px 0;
}

.esd2-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-sizing: border-box;
}

.esd2-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.esd2-logo span {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.esd2-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1px;
  min-width: 0;
  padding-top: 0;
}

.esd2-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.esd2-title-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding-top: 0;
}

.esd2-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.14rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.esd-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 16px;
  margin: 0;
}

.esd-star {
  position: relative;
  font-size: 14px;
  line-height: 1;
}

.esd-star-full {
  color: #f4c542;
}

.esd-star-empty,
.esd-star-half {
  color: rgba(244, 197, 66, 0.22);
}

.esd-star-half-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  color: #f4c542;
}

.esd2-head-payouts {
  justify-self: end;
  align-self: start;
  min-width: 0;
}

.esd-payout-row {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 3px 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(12, 22, 40, 0.98), rgba(8, 16, 31, 0.98));
  border: 1px solid rgba(118, 149, 224, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  max-width: 100%;
  box-sizing: border-box;
}

.esd-payout-row.is-empty {
  display: none;
}

.esd-payout-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  transition: transform 0.18s ease;
}

.esd-payout-icon:hover {
  transform: translateY(-2px) scale(1.04);
}

.esd-payout-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1px;
  display: block;
  box-sizing: border-box;
}

.esd-payout-icon span {
  color: #edf4ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.esd-payout-icon-more span {
  font-size: 0.96rem;
}

.esd2-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1px;
}

.esd2-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.esd2-badge-featured,
.esd2-badge-pick {
  background: rgba(255, 204, 102, 0.14);
  border-color: rgba(255, 204, 102, 0.26);
  color: #ffd878;
}

.esd2-badge-verified {
  background: rgba(93, 203, 141, 0.14);
  border-color: rgba(93, 203, 141, 0.26);
  color: #95f1bc;
}

.esd2-badge-new {
  background: rgba(109, 152, 255, 0.14);
  border-color: rgba(109, 152, 255, 0.26);
  color: #bfd5ff;
}

.esd2-badge-hot {
  background: rgba(255, 109, 109, 0.14);
  border-color: rgba(255, 109, 109, 0.26);
  color: #ffb2b2;
}

.esd2-divider {
  height: 1px;
  margin: -20px 18px 5px;
  background: linear-gradient(90deg, rgba(108, 143, 255, 0.26), rgba(108, 143, 255, 0.04));
}

.esd2-bonus-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin: -2px 18px 10px;
  padding: 0 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(97, 92, 218, 0.96), rgba(73, 86, 188, 0.96));
  border: 1px solid rgba(146, 149, 255, 0.18);
  color: #ffffff;
  font-size: 0.81rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(15, 21, 55, 0.18);
  box-sizing: border-box;
}

.esd2-bonus-line.is-empty {
  opacity: 0.78;
}

.esd2-bonus-line .esd2-gift {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill='%230b1020' d='M20 7h-2.18A2.99 2.99 0 0 0 18 6c0-1.66-1.34-3-3-3-1.54 0-2.74 1.16-3 2.65C11.74 4.16 10.54 3 9 3 7.34 3 6 4.34 6 6c0 .35.06.69.18 1H4a1 1 0 0 0-1 1v3h8V8h2v3h8V8a1 1 0 0 0-1-1Zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1h-2c0-1.1.9-2 2-2ZM8 6c0-.55.45-1 1-1 1.1 0 2 .9 2 2H9c-.55 0-1-.45-1-1Zm-5 7h8v8H5a2 2 0 0 1-2-2v-6Zm10 8v-8h8v6a2 2 0 0 1-2 2h-6Z'/%3E%3C/svg%3E");
}

[data-bonus-tooltip] {
  cursor: pointer;
}

[data-bonus-tooltip]::after {
  content: attr(data-bonus-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: min(250px, calc(100vw - 48px));
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(8, 13, 24, 0.98);
  border: 1px solid rgba(115, 150, 255, 0.18);
  color: #eaf1ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  transform: translate(-50%, 8px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 12;
}

[data-bonus-tooltip].is-open::after,
[data-bonus-tooltip]:hover::after,
[data-bonus-tooltip]:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.esd2-offerwall-strip {
  display: flex;
  align-items: center;
  min-height: 58px;
  margin: 0 18px 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 26, 49, 0.98), rgba(9, 18, 34, 0.98));
  border: 1px solid var(--rsd-pill-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(4, 9, 20, 0.16);
  box-sizing: border-box;
}

.esd2-offerwall-strip.is-empty {
  display: none;
}

.esd2-offerwall-viewport {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.esd2-offerwall-track {
  display: flex;
  align-items: center;
  gap: var(--rsd-offerwall-gap);
  min-width: 0;
  will-change: transform;
}

.esd2-offerwall-item {
  width: var(--rsd-offerwall-item-size);
  height: 34px;
  flex: 0 0 var(--rsd-offerwall-item-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-sizing: border-box;
}

.esd2-offerwall-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  box-sizing: border-box;
}

.esd2-offerwall-item > span {
  color: #ebf2ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.esd2-footer {
  margin-top: auto;
  padding: 0 18px 16px;
}

.esd-button,
.esd2-button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 16px;
  border: 0;
  text-decoration: none;
  background: linear-gradient(90deg, var(--rsd-button-a) 0%, var(--rsd-button-b) 100%);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 14px 28px rgba(17, 47, 118, 0.26);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
  box-sizing: border-box;
}

.esd-button:hover,
.esd-button:focus,
.esd2-button:hover,
.esd2-button:focus {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 30px rgba(17, 47, 118, 0.3);
}

.esd2-button.is-outline {
  background: transparent;
  border: 1px solid rgba(109, 152, 255, 0.42);
  box-shadow: none;
}

.esd-hidden {
  display: none !important;
}

.esd-empty {
  padding: 36px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--rsd-muted);
  text-align: center;
}

.esd-hot-popup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 320px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 13, 24, 0.96);
  border: 1px solid rgba(99, 138, 245, 0.18);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.esd-directory[data-popup-position="left"] .esd-hot-popup {
  left: 18px;
  right: auto;
}

.esd-hot-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
}

.esd-hot-label {
  color: #a9c5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.esd-hot-title {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.esd-hot-copy {
  margin-top: 6px;
  color: var(--rsd-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .esd-grid {
    grid-template-columns: repeat(var(--esd-grid-tablet, 2), minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .esd-shell {
    padding: 16px;
    border-radius: 22px;
  }

  .esd-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .esd-card,
  .esd2-card {
    min-height: 356px;
  }

  .esd2-head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 15px 0;
    align-items: start;
  }

  .esd2-logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    padding: 6px;
  }

  .esd2-copy {
    gap: 4px;
    padding-top: 0;
  }

  .esd2-title-row {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }

  .esd2-head-payouts {
    justify-self: start;
    width: 100%;
  }

  .esd-payout-row {
    gap: 1px;
    padding: 3px 5px;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .esd-payout-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    border-radius: 0;
  }

  .esd2-badges {
    gap: 5px;
  }

  .esd2-badge {
    min-height: 20px;
    padding: 2px 8px;
  }

  .esd2-divider,
  .esd2-bonus-line,
  .esd2-offerwall-strip,
  .esd2-footer {
    margin-left: 15px;
    margin-right: 15px;
  }

  .esd2-divider {
    margin-top: -15px;
    margin-bottom: 5px;
  }

  .esd2-bonus-line {
    min-height: 38px;
    margin-top: -2px;
    margin-bottom: 9px;
    padding: 0 13px;
    font-size: 0.77rem;
    border-radius: 15px;
  }

  .esd2-offerwall-strip {
    --rsd-offerwall-gap: 8px;
    --rsd-offerwall-item-size: 42px;
    min-height: 50px;
    margin-bottom: 10px;
    padding: 5px 12px;
  }

  .esd2-offerwall-item {
    height: 28px;
  }

  .esd2-footer {
    padding-bottom: 14px;
  }

  .esd-button,
  .esd2-button {
    min-height: 48px;
  }

  .esd-hot-popup,
  .esd-directory[data-popup-position="left"] .esd-hot-popup {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}


/* Reward Sites Deck 3.7.12 tightened header + withdraw logos */
.esd2-title-stack { gap: 1px; }
.esd2-head-payouts { margin-top: 1px; }
.esd-payout-icon img { filter: none; }
@media (max-width: 767px) {
  .esd2-title-row { gap: 5px; }
  .esd-payout-icon img { padding: 1px; }
}

/* Reward Sites Deck 3.7.15 proper card layout fix */
.esd-card,
.esd2-card {
  min-height: 0;
  background: linear-gradient(180deg, rgba(17, 31, 57, 0.99), rgba(8, 18, 38, 0.99));
}

.esd2-card::before {
  background: radial-gradient(circle at 50% 0%, rgba(88, 131, 255, 0.24), rgba(88, 131, 255, 0.1) 24%, transparent 60%);
}

.esd2-card:hover,
.esd2-card:focus-within {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(110, 150, 255, 0.08),
    0 0 26px rgba(78, 120, 255, 0.2);
}

.esd2-head {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px 6px;
}

.esd2-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.esd2-copy {
  gap: 4px;
  padding-top: 0;
  align-self: center;
}

.esd2-badges {
  margin-bottom: 0;
}

.esd2-title-stack {
  gap: 1px;
  padding-top: 0;
}

.esd2-title {
  font-size: 1.12rem;
}

.esd2-head-payouts {
  align-self: center;
  justify-self: end;
  margin-top: 0;
}

.esd-payout-row {
  gap: 2px;
  padding: 4px 6px;
  border-radius: 14px;
}

.esd-payout-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 8px;
  background: transparent;
  border: 0;
}

.esd-payout-icon img {
  padding: 1px;
}

.esd2-divider {
  margin: 0 16px 7px;
}

.esd2-bonus-line {
  min-height: 40px;
  margin: 0 16px 10px;
  border-radius: 15px;
}

.esd2-offerwall-strip {
  margin: 0 16px 12px;
}

.esd2-footer {
  margin-top: 0;
  padding: 0 16px 16px;
}

@media (max-width: 767px) {
  .esd-card,
  .esd2-card {
    min-height: 0;
  }

  .esd2-head {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 14px 6px;
  }

  .esd2-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .esd2-head-payouts {
    display: none;
  }

  .esd2-divider,
  .esd2-bonus-line,
  .esd2-offerwall-strip,
  .esd2-footer {
    margin-left: 14px;
    margin-right: 14px;
  }

  .esd2-divider {
    margin-bottom: 6px;
  }

  .esd2-bonus-line {
    min-height: 38px;
    margin-bottom: 9px;
  }

  .esd2-offerwall-strip {
    margin-bottom: 10px;
  }

  .esd2-footer {
    padding-bottom: 14px;
  }
}


/* Reward Sites Deck 3.7.20 final header/divider/bonus alignment */
.esd2-head {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 10px 16px 0;
}

.esd2-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.esd2-copy {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding-top: 0;
}

.esd2-badges {
  margin: 0 0 1px;
}

.esd2-title-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  margin: 0;
  padding-top: 0;
}

.esd2-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.02;
}

.esd-rating {
  margin: 0;
  min-height: 14px;
}

.esd2-head-payouts {
  align-self: start;
  justify-self: end;
  margin: 2px 0 0;
}

.esd-payout-row {
  gap: 2px;
  padding: 4px 6px;
  border-radius: 14px;
}

.esd2-divider {
  height: 2px;
  margin: -18px 16px 7px;
  background: linear-gradient(90deg, rgba(120, 156, 255, 0.55), rgba(120, 156, 255, 0.14));
}

.esd2-bonus-line {
  min-height: 39px;
  margin: 0 16px 9px;
  border-radius: 15px;
}

.esd2-offerwall-strip {
  margin: 0 16px 11px;
}

.esd2-footer {
  margin-top: 0;
  padding: 0 16px 15px;
}

@media (max-width: 767px) {
  .esd2-head {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 9px 14px 0;
  }

  .esd2-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .esd2-copy {
    gap: 2px;
    margin: 0;
    padding-top: 0;
  }

  .esd2-head-payouts {
    display: none;
  }

  .esd2-divider,
  .esd2-bonus-line,
  .esd2-offerwall-strip,
  .esd2-footer {
    margin-left: 14px;
    margin-right: 14px;
  }

  .esd2-divider {
    height: 2px;
    margin-top: -14px;
    margin-bottom: 7px;
  }

  .esd2-bonus-line {
    min-height: 37px;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .esd2-offerwall-strip {
    margin-bottom: 10px;
  }

  .esd2-footer {
    padding: 0 14px 14px;
  }
}


/* Reward Sites Deck 3.7.22 decisive header/divider/bonus positioning */
.esd2-card {
  background:
    linear-gradient(180deg, rgba(15, 20, 30, 0.99), rgba(8, 12, 20, 0.99));
  border-color: rgba(138, 154, 196, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 22px rgba(0, 0, 0, 0.24);
}

.esd2-card::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 110, 175, 0.14), rgba(86, 110, 175, 0.04) 22%, transparent 54%);
}

.esd2-card:hover,
.esd2-card:focus-within {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(125, 148, 214, 0.08),
    0 0 16px rgba(84, 112, 192, 0.12);
}

.esd2-head {
  align-items: start;
  padding: 8px 16px 0;
}

.esd2-copy {
  position: static;
  align-self: start;
  gap: 0;
  margin: 0;
  padding-top: 0;
}

.esd2-badges {
  margin: 0;
}

.esd2-title-stack {
  gap: 0;
  margin: 0;
  padding-top: 0;
}

.esd2-title {
  margin: 0;
  line-height: 1;
}

.esd-rating {
  margin: -1px 0 0;
  min-height: 14px;
}

.esd2-head-payouts {
  align-self: start;
  margin: 0;
}

.esd2-divider {
  top: -28px;
  height: 2px;
  margin: 0 16px -20px;
  background:
    linear-gradient(90deg, rgba(173, 188, 224, 0.56), rgba(173, 188, 224, 0.12));
}

.esd2-bonus-line {
  top: -24px;
  min-height: 40px;
  margin: 0 16px -14px;
}

.esd2-offerwall-strip {
  margin: 0 16px 10px;
}

.esd2-footer {
  padding: 0 16px 14px;
}

@media (max-width: 767px) {
  .esd2-head {
    align-items: start;
    padding: 8px 14px 0;
  }

  .esd2-copy {
    gap: 0;
    margin: 0;
    padding-top: 0;
  }

  .esd2-title-stack,
  .esd2-badges {
    margin: 0;
  }

  .esd2-rating {
    margin-top: -1px;
  }

  .esd2-divider,
  .esd2-bonus-line,
  .esd2-offerwall-strip,
  .esd2-footer {
    margin-left: 14px;
    margin-right: 14px;
  }

  .esd2-divider {
    top: -24px;
    height: 2px;
    margin-bottom: -18px;
  }

  .esd2-bonus-line {
    top: -21px;
    min-height: 38px;
    margin-bottom: -13px;
  }

  .esd2-offerwall-strip {
    margin-bottom: 10px;
  }

  .esd2-footer {
    padding: 0 14px 14px;
  }
}


/* Reward Sites Deck 3.7.26 divider redo */
.esd2-divider {
  position: relative;
  display: block;
  top: -26px;
  z-index: 3;
  height: 2px;
  margin: 0 16px -10px;
  background: linear-gradient(90deg, rgba(205, 214, 236, 0.76), rgba(205, 214, 236, 0.2));
}

.esd2-bonus-line {
  position: relative;
  z-index: 1;
  top: -12px;
  margin: 0 16px -2px;
}

@media (max-width: 767px) {
  .esd2-divider {
    top: -22px;
    margin: 0 14px -9px;
  }

  .esd2-bonus-line {
    top: -10px;
    margin: 0 14px -2px;
  }
}


/* Reward Sites Deck 3.7.27 divider tone/position refinement */
.esd2-divider {
  position: relative;
  display: block;
  top: -32px;
  z-index: 3;
  height: 2px;
  margin: 0 16px -6px;
  background: linear-gradient(90deg, rgba(106, 136, 214, 0.72), rgba(106, 136, 214, 0.18));
}

.esd2-bonus-line {
  position: relative;
  z-index: 1;
  top: -8px;
  margin: 0 16px 0;
}

@media (max-width: 767px) {
  .esd2-divider {
    top: -28px;
    margin: 0 14px -5px;
    background: linear-gradient(90deg, rgba(106, 136, 214, 0.7), rgba(106, 136, 214, 0.16));
  }

  .esd2-bonus-line {
    top: -7px;
    margin: 0 14px 0;
  }
}


/* Reward Sites Deck 3.7.28 softer divider */
.esd2-divider,
.esd2-preview-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(106, 136, 214, 0.42), rgba(106, 136, 214, 0.08));
}

@media (max-width: 767px) {
  .esd2-divider,
  .esd2-preview-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(106, 136, 214, 0.38), rgba(106, 136, 214, 0.06));
  }
}


/* Reward Sites Deck 3.7.30 remove offerwall outer bubble */
.esd2-offerwall-strip {
  min-height: 40px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (max-width: 767px) {
  .esd2-offerwall-strip {
    min-height: 34px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}


/* Reward Sites Deck 3.7.31 density balance pass */
@media (min-width: 768px) {
  .esd-shell {
    padding: 24px;
    background:
      radial-gradient(circle at top center, rgba(60, 92, 170, 0.1), transparent 32%),
      linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(7, 11, 19, 0.99));
  }

  .esd-grid {
    column-gap: 20px;
    row-gap: 24px;
  }

  .esd2-card {
    border-color: rgba(122, 145, 194, 0.2);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 14px 24px rgba(0, 0, 0, 0.26);
  }

  .esd2-head {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 14px 0;
  }

  .esd2-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .esd2-copy {
    margin-top: 2px;
  }

  .esd2-title {
    font-size: 1.06rem;
  }

  .esd-payout-row {
    gap: 2px;
    padding: 3px 5px;
    border-radius: 13px;
  }

  .esd-payout-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .esd2-divider {
    margin-left: 14px;
    margin-right: 14px;
  }

  .esd2-bonus-line {
    min-height: 38px;
    margin-left: 14px;
    margin-right: 14px;
    padding: 0 12px;
    font-size: 0.79rem;
  }

  .esd2-bonus-line .esd2-gift {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .esd2-offerwall-strip {
    margin-left: 14px;
    margin-right: 14px;
    margin-bottom: 12px;
    min-height: 36px;
  }

  .esd2-offerwall-track {
    gap: 10px;
  }

  .esd2-offerwall-item {
    height: 30px;
  }

  .esd2-offerwall-item img {
    opacity: 0.96;
  }

  .esd2-footer {
    padding: 0 14px 14px;
  }

  .esd-button,
  .esd2-button {
    min-height: 48px;
    border-radius: 15px;
    font-size: 0.98rem;
  }
}


/* Reward Sites Deck 3.7.32 stronger card separation pass */
@media (min-width: 768px) {
  .esd-shell {
    padding: 28px;
    background:
      radial-gradient(circle at 50% 0%, rgba(72, 104, 174, 0.08), transparent 28%),
      linear-gradient(180deg, rgba(8, 12, 19, 0.99), rgba(5, 8, 14, 0.995));
    border-color: rgba(88, 108, 148, 0.16);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.02),
      0 28px 52px rgba(0, 0, 0, 0.28);
  }

  .esd-grid {
    column-gap: 28px;
    row-gap: 32px;
  }

  .esd2-card {
    background:
      linear-gradient(180deg, rgba(13, 18, 29, 0.995), rgba(6, 10, 17, 0.995));
    border-color: rgba(140, 160, 206, 0.24);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.035),
      0 14px 22px rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(20, 29, 46, 0.42);
  }

  .esd2-card::before {
    background:
      radial-gradient(circle at 50% 0%, rgba(83, 142, 230, 0.12), rgba(83, 142, 230, 0.035) 20%, transparent 56%);
  }

  .esd2-card:hover,
  .esd2-card:focus-within {
    border-color: rgba(154, 176, 225, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 18px 30px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(142, 164, 214, 0.18),
      0 0 18px rgba(94, 170, 255, 0.1);
  }

  .esd2-head {
    padding-left: 15px;
    padding-right: 15px;
  }

  .esd2-divider,
  .esd2-bonus-line,
  .esd2-offerwall-strip,
  .esd2-footer {
    margin-left: 15px;
    margin-right: 15px;
  }

  .esd2-bonus-line {
    min-height: 37px;
    background:
      linear-gradient(180deg, rgba(90, 82, 196, 0.9), rgba(68, 76, 170, 0.9));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 6px 12px rgba(16, 21, 40, 0.18);
  }

  .esd2-offerwall-item img {
    opacity: 0.92;
  }

  .esd-button,
  .esd2-button {
    min-height: 46px;
    box-shadow: 0 10px 18px rgba(17, 47, 118, 0.2);
  }
}


/* Reward Sites Deck 3.7.44 orange theme restore + improved left badges */
.esd-shell {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 126, 24, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(16, 18, 24, 0.995), rgba(8, 10, 14, 0.998));
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 26px 50px rgba(0, 0, 0, 0.34);
}

.esd2-card {
  overflow: visible;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 126, 24, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(24, 27, 35, 0.998), rgba(11, 14, 20, 0.998));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.esd2-card::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 136, 38, 0.12), rgba(255, 136, 38, 0.03) 18%, transparent 54%);
}

.esd2-card:hover,
.esd2-card:focus-within {
  border-color: rgba(255, 144, 46, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 34px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 145, 52, 0.10),
    0 0 18px rgba(255, 126, 24, 0.10);
}

.esd2-logo {
  background: linear-gradient(180deg, rgba(34, 37, 45, 0.98), rgba(20, 23, 30, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.20);
}

.esd2-title,
.esd-title {
  color: #f6f2ec;
}

.esd-intro {
  color: #a9a3a0;
}

.esd2-divider {
  background: linear-gradient(90deg, rgba(255, 132, 28, 0.30), rgba(255, 132, 28, 0.04));
}

.esd2-bonus-line {
  background:
    linear-gradient(180deg, rgba(58, 44, 34, 0.98), rgba(37, 29, 24, 0.98));
  border: 1px solid rgba(255, 165, 92, 0.22);
  color: #fff3e7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 16px rgba(20, 11, 6, 0.18);
}

.esd2-bonus-line .esd2-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill='%23fff7ef' d='M20 7h-2.18A2.99 2.99 0 0 0 18 6c0-1.66-1.34-3-3-3-1.54 0-2.74 1.16-3 2.65C11.74 4.16 10.54 3 9 3 7.34 3 6 4.34 6 6c0 .35.06.69.18 1H4a1 1 0 0 0-1 1v3h8V8h2v3h8V8a1 1 0 0 0-1-1Zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1h-2c0-1.1.9-2 2-2ZM8 6c0-.55.45-1 1-1 1.1 0 2 .9 2 2H9c-.55 0-1-.45-1-1Zm-5 7h8v8H5a2 2 0 0 1-2-2v-6Zm10 8v-8h8v6a2 2 0 0 1-2 2h-6Z'/%3E%3C/svg%3E"), rgba(255, 136, 38, 0.18) !important;
}

.esd-payout-row {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 10px rgba(0, 0, 0, 0.10);
}

.esd2-offerwall-item img {
  opacity: 0.96;
}

.esd-button,
.esd2-button {
  background:
    linear-gradient(180deg, rgba(255, 136, 38, 1), rgba(244, 112, 18, 1));
  border-color: rgba(255, 176, 112, 0.20);
  color: #fff9f3;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 20px rgba(85, 36, 4, 0.22);
}

.esd-button:hover,
.esd-button:focus,
.esd2-button:hover,
.esd2-button:focus,
.esd-button:focus-visible,
.esd2-button:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 22px rgba(85, 36, 4, 0.24),
    0 0 14px rgba(255, 136, 38, 0.14);
}

.esd2-head,
.esd2-copy {
  overflow: visible;
}

.esd2-badges {
  position: absolute;
  top: 18px;
  left: -16px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  pointer-events: none;
}

.esd2-badge {
  position: relative;
  min-width: 72px;
  min-height: 28px;
  padding: 5px 12px 5px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left-width: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(0, 0, 0, 0.22);
  transform: translateX(-12px);
  opacity: 0;
  animation: rsdBadgeDockIn 0.45s cubic-bezier(.22,1,.36,1) forwards, rsdBadgeJump 2.5s ease-in-out 0.6s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.esd2-badge::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -7px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
  background: inherit;
  opacity: 0.92;
}

.esd2-badge:nth-child(1) { animation-delay: 0.02s, 0.9s; }
.esd2-badge:nth-child(2) { animation-delay: 0.07s, 1.1s; }
.esd2-badge:nth-child(3) { animation-delay: 0.12s, 1.3s; }
.esd2-badge:nth-child(4) { animation-delay: 0.17s, 1.5s; }
.esd2-badge:nth-child(5) { animation-delay: 0.22s, 1.7s; }

.esd2-card:hover .esd2-badge,
.esd2-card:focus-within .esd2-badge {
  transform: translateX(-8px) scale(1.02);
  filter: saturate(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 12px 20px rgba(0, 0, 0, 0.24),
    0 0 12px rgba(255, 136, 38, 0.12);
}

.esd2-badge-featured,
.esd2-badge-pick {
  background: linear-gradient(180deg, rgba(255, 186, 90, 0.96), rgba(241, 129, 24, 0.96));
  color: #201207;
}

.esd2-badge-verified {
  background: linear-gradient(180deg, rgba(90, 205, 146, 0.96), rgba(44, 148, 100, 0.96));
  color: #0a140d;
}

.esd2-badge-new {
  background: linear-gradient(180deg, rgba(255, 205, 110, 0.96), rgba(236, 151, 32, 0.96));
  color: #241407;
}

.esd2-badge-hot {
  background: linear-gradient(180deg, rgba(255, 120, 60, 0.98), rgba(234, 88, 22, 0.98));
  color: #fff8f2;
}

@keyframes rsdBadgeDockIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-12px);
  }
}

@keyframes rsdBadgeJump {
  0%, 100% {
    margin-top: 0;
  }
  12% {
    margin-top: -2px;
  }
  24% {
    margin-top: 0;
  }
  36% {
    margin-top: -4px;
  }
  52% {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .esd-shell {
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 126, 24, 0.07), transparent 24%),
      linear-gradient(180deg, rgba(16, 18, 24, 0.995), rgba(8, 10, 14, 0.998));
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 18px 28px rgba(0, 0, 0, 0.26);
  }

  .esd2-card {
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 126, 24, 0.05), transparent 28%),
      linear-gradient(180deg, rgba(24, 27, 35, 0.998), rgba(11, 14, 20, 0.998));
    border-color: rgba(255, 255, 255, 0.08);
  }

  .esd2-logo {
    background: linear-gradient(180deg, rgba(34, 37, 45, 0.98), rgba(20, 23, 30, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
  }

  .esd2-bonus-line {
    background:
      linear-gradient(180deg, rgba(58, 44, 34, 0.98), rgba(37, 29, 24, 0.98));
    border: 1px solid rgba(255, 165, 92, 0.22);
  }

  .esd2-bonus-line .esd2-gift {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    background: center / 13px 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill='%23fff7ef' d='M20 7h-2.18A2.99 2.99 0 0 0 18 6c0-1.66-1.34-3-3-3-1.54 0-2.74 1.16-3 2.65C11.74 4.16 10.54 3 9 3 7.34 3 6 4.34 6 6c0 .35.06.69.18 1H4a1 1 0 0 0-1 1v3h8V8h2v3h8V8a1 1 0 0 0-1-1Zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1h-2c0-1.1.9-2 2-2ZM8 6c0-.55.45-1 1-1 1.1 0 2 .9 2 2H9c-.55 0-1-.45-1-1Zm-5 7h8v8H5a2 2 0 0 1-2-2v-6Zm10 8v-8h8v6a2 2 0 0 1-2 2h-6Z'/%3E%3C/svg%3E"), rgba(255, 136, 38, 0.18) !important;
  }

  .esd-payout-row {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .esd-button,
  .esd2-button {
    background:
      linear-gradient(180deg, rgba(255, 136, 38, 1), rgba(244, 112, 18, 1));
    border-color: rgba(255, 176, 112, 0.20);
  }

  .esd2-badges {
    top: 14px;
    left: -13px;
    gap: 6px;
  }

  .esd2-badge {
    min-width: 62px;
    min-height: 24px;
    padding: 4px 10px 4px 11px;
    border-radius: 9px;
    font-size: 9px;
    transform: translateX(-9px);
  }

  .esd2-badge::after {
    right: -6px;
    width: 8px;
    height: 8px;
  }

  @keyframes rsdBadgeDockIn {
    0% {
      opacity: 0;
      transform: translateX(-14px);
    }
    100% {
      opacity: 1;
      transform: translateX(-9px);
    }
  }

  .esd2-card:hover .esd2-badge,
  .esd2-card:focus-within .esd2-badge {
    transform: translateX(-6px) scale(1.02);
  }
}


/* Reward Sites Deck 3.7.45 badge cleanup + orange hot popup */
.esd2-badges {
  top: 14px;
  left: -10px;
  gap: 6px;
}

.esd2-badge {
  min-width: 56px;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 0 9px 9px 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 0;
  font-size: 9px;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 16px rgba(0, 0, 0, 0.22);
  transform: translateX(-8px);
  animation: rsdBadgeDockInClean 0.42s cubic-bezier(.22,1,.36,1) forwards, rsdBadgeBounce 2.7s ease-in-out 0.7s infinite;
}

.esd2-badge::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 8px;
  height: 100%;
  border-radius: 9px 0 0 9px;
  background: inherit;
}

.esd2-badge::after {
  display: none;
}

.esd2-card:hover .esd2-badge,
.esd2-card:focus-within .esd2-badge {
  transform: translateX(-5px) scale(1.02);
}

@keyframes rsdBadgeDockInClean {
  0% {
    opacity: 0;
    transform: translateX(-14px);
  }
  100% {
    opacity: 1;
    transform: translateX(-8px);
  }
}

@keyframes rsdBadgeBounce {
  0%, 100% {
    margin-top: 0;
  }
  10% {
    margin-top: -1px;
  }
  22% {
    margin-top: -4px;
  }
  34% {
    margin-top: 0;
  }
  46% {
    margin-top: -2px;
  }
  58% {
    margin-top: 0;
  }
}

.esd-hot-popup {
  background:
    radial-gradient(circle at top right, rgba(255, 141, 44, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(26, 22, 20, 0.98), rgba(14, 11, 10, 0.98));
  border: 1px solid rgba(255, 153, 77, 0.24);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(255, 136, 38, 0.10);
}

.esd-hot-close {
  background: rgba(255, 141, 44, 0.14);
  color: #fff5ec;
}

.esd-hot-label {
  color: #ffb067;
}

.esd-hot-title {
  color: #fff6ef;
}

.esd-hot-copy {
  color: rgba(255, 236, 223, 0.78);
}

@media (max-width: 767px) {
  .esd2-badges {
    top: 12px;
    left: -8px;
    gap: 5px;
  }

  .esd2-badge {
    min-width: 50px;
    min-height: 22px;
    padding: 4px 9px;
    border-radius: 0 8px 8px 0;
    font-size: 8px;
    transform: translateX(-6px);
    animation: rsdBadgeDockInCleanMobile 0.4s cubic-bezier(.22,1,.36,1) forwards, rsdBadgeBounce 2.7s ease-in-out 0.7s infinite;
  }

  .esd2-badge::before {
    left: -6px;
    width: 6px;
    border-radius: 8px 0 0 8px;
  }

  .esd2-card:hover .esd2-badge,
  .esd2-card:focus-within .esd2-badge {
    transform: translateX(-4px) scale(1.02);
  }

  @keyframes rsdBadgeDockInCleanMobile {
    0% {
      opacity: 0;
      transform: translateX(-11px);
    }
    100% {
      opacity: 1;
      transform: translateX(-6px);
    }
  }
}


/* Reward Sites Deck 3.7.47 remove hot badge, keep hot popup, add recommendation popup */
.esd2-badge-hot {
  display: none !important;
}

.esd-hot-popup {
  background:
    radial-gradient(circle at top right, rgba(255, 141, 44, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(26, 22, 20, 0.98), rgba(14, 11, 10, 0.98));
  border: 1px solid rgba(255, 153, 77, 0.24);
  color: #fff8f1;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(255, 136, 38, 0.10);
}

.esd-hot-close {
  background: rgba(255, 141, 44, 0.14);
  color: #fff5ec;
}

.esd-hot-label {
  color: #ffb067;
}

.esd-hot-title {
  color: #fff6ef;
}

.esd-hot-copy {
  color: rgba(255, 236, 223, 0.78);
}

.esd-recommendation-popup {
  border-color: rgba(255, 176, 112, 0.26);
}

.esd-popup-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.esd-popup-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 136, 38, 0.14);
  border: 1px solid rgba(255, 176, 112, 0.20);
  color: #ffd1ad;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}


/* Reward Sites Deck 3.7.48 popup click-through polish */
.esd-hot-popup,
.esd-recommendation-popup {
  cursor: pointer;
}

.esd-hot-popup:focus-visible,
.esd-recommendation-popup:focus-visible {
  outline: 2px solid rgba(255, 176, 112, 0.42);
  outline-offset: 3px;
}

.esd-hot-close {
  cursor: pointer;
}
