.affiliate-cashback-page {
  box-sizing: border-box;
  margin-top: 60px;
  padding: 18px 24px 34px;
  color: var(--semi-color-text-0, #26324a);
}

.affiliate-cashback-page *,
.affiliate-cashback-page *::before,
.affiliate-cashback-page *::after {
  box-sizing: border-box;
}

.affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > :not([hidden]) ~ :not([hidden]),
.affiliate-cashback-page .mt-3.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0;
  margin-bottom: 0;
}

.affiliate-cashback-page h1,
.affiliate-cashback-page h2,
.affiliate-cashback-page p {
  margin: 0;
  letter-spacing: 0;
}

.affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl {
  border: 1px solid rgba(255, 126, 182, .13);
  border-radius: 18px;
  background: var(--neco-card, rgba(255, 255, 255, .86));
  box-shadow: var(--neco-shadow-soft, 0 6px 18px rgba(93, 73, 118, .07));
}

.affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl:first-child {
  padding: 22px;
  background: linear-gradient(135deg, rgba(255, 247, 251, .94), rgba(255, 255, 255, .9) 46%, rgba(247, 251, 255, .92));
  overflow: hidden;
}

.affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl:first-child > .text-sm:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--semi-color-primary, #ff6fae);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.affiliate-cashback-page h1 {
  margin-top: 8px;
  color: var(--semi-color-text-0, #26324a);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.affiliate-cashback-page h1 + p {
  max-width: 640px;
  margin-top: 8px;
  color: var(--semi-color-text-2, #71809a);
  font-size: 14px;
  line-height: 1.65;
}

.affiliate-cashback-page .mt-5.grid.gap-3.md\:grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.affiliate-cashback-page .mt-5.grid.gap-3.md\:grid-cols-3 > .rounded-xl {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 126, 182, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
}

.affiliate-cashback-page .mt-5.grid.gap-3.md\:grid-cols-3 > .rounded-xl > .text-sm {
  color: var(--semi-color-text-2, #71809a);
  font-size: 12px;
  line-height: 1.4;
}

.affiliate-cashback-page .mt-5.grid.gap-3.md\:grid-cols-3 > .rounded-xl > .mt-1 {
  margin-top: 6px;
  color: var(--semi-color-text-0, #26324a);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.15;
}

.affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .grid.gap-5.lg\:grid-cols-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 16px;
}

.affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .grid.gap-5.lg\:grid-cols-2 > .rounded-2xl,
.affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl:not(:first-child) {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 126, 182, .13);
  border-radius: 18px;
  background: var(--neco-card, rgba(255, 255, 255, .86));
  box-shadow: var(--neco-shadow-soft, 0 6px 18px rgba(93, 73, 118, .07));
}

.affiliate-cashback-page h2 {
  color: var(--semi-color-text-0, #26324a);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.affiliate-cashback-page h2 + p,
.affiliate-cashback-page .rounded-2xl > p {
  margin-top: 8px;
  color: var(--semi-color-text-2, #71809a);
  font-size: 13px;
  line-height: 1.65;
}

.affiliate-cashback-page .text-sm.font-medium {
  margin-top: 16px;
  color: var(--semi-color-text-1, #4d5b73);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.affiliate-cashback-page .mt-2.flex.gap-2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.affiliate-cashback-page input {
  min-width: 0;
  flex: 1 1 auto;
  height: 38px;
  border: 1px solid rgba(255, 126, 182, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .76);
  color: var(--semi-color-text-0, #26324a);
  padding: 0 12px;
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  outline: none;
}

.affiliate-cashback-page input:focus {
  border-color: rgba(255, 111, 174, .54);
  box-shadow: 0 0 0 4px rgba(255, 126, 182, .12);
}

.affiliate-cashback-page button {
  flex: 0 0 auto;
  min-width: 72px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neco-pink, #ff7eb6), #ff91c5 48%, var(--neco-blue, #82c7ff));
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(255, 111, 174, .22);
  cursor: pointer;
}

.affiliate-cashback-page button:hover {
  filter: brightness(1.01);
}

.affiliate-cashback-page button:active {
  transform: translateY(1px);
}

.affiliate-cashback-page .mt-3.text-sm.text-green-600 {
  margin-top: 10px;
  color: #16a34a;
  font-size: 13px;
  line-height: 1.5;
}

.affiliate-cashback-page .grid.gap-5.lg\:grid-cols-2 .rounded-2xl:nth-child(2) p {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(248, 250, 252, .72);
  color: var(--semi-color-text-1, #4d5b73);
}

.affiliate-cashback-page .grid.gap-5.lg\:grid-cols-2 .rounded-2xl:nth-child(2) p:last-child {
  background: rgba(255, 126, 182, .10);
  color: #d63b86;
  font-weight: 700;
}

.affiliate-cashback-page ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.affiliate-cashback-page li {
  position: relative;
  padding-left: 18px;
  color: var(--semi-color-text-1, #4d5b73);
  font-size: 13px;
  line-height: 1.6;
}

.affiliate-cashback-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neco-pink, #ff7eb6), var(--neco-blue, #82c7ff));
}

.affiliate-cashback-page .mt-3.text-slate-500 {
  margin-top: 12px;
  color: var(--semi-color-text-2, #71809a);
  font-size: 13px;
  line-height: 1.6;
}

.affiliate-cashback-page .mt-3.space-y-2 {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.affiliate-cashback-page .mt-3.space-y-2 > .flex.items-center.justify-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  border: 1px solid rgba(226, 232, 240, .82);
  border-radius: 12px;
  background: rgba(248, 250, 252, .76);
  padding: 9px 12px;
  color: var(--semi-color-text-1, #4d5b73);
  font-size: 13px;
  line-height: 1.45;
}

.affiliate-cashback-page .mt-3.space-y-2 > .flex.items-center.justify-between .font-semibold {
  color: var(--semi-color-text-0, #26324a);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .affiliate-cashback-page {
    padding: 14px 14px 28px;
  }

  .affiliate-cashback-page .mt-5.grid.gap-3.md\:grid-cols-3,
  .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .grid.gap-5.lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .affiliate-cashback-page {
    padding: 12px 10px 24px;
  }

  .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 {
    gap: 12px;
  }

  .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl:first-child,
  .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .grid.gap-5.lg\:grid-cols-2 > .rounded-2xl,
  .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl:not(:first-child) {
    padding: 16px;
    border-radius: 16px;
  }

  .affiliate-cashback-page h1 {
    font-size: 21px;
  }

  .affiliate-cashback-page .mt-2.flex.gap-2 {
    align-items: stretch;
    flex-direction: column;
  }

  .affiliate-cashback-page input,
  .affiliate-cashback-page button {
    width: 100%;
  }
}

body[theme-mode="dark"] .affiliate-cashback-page,
.dark .affiliate-cashback-page {
  color: var(--semi-color-text-0, #f6f2fb);
}

body[theme-mode="dark"] .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl,
.dark .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl,
body[theme-mode="dark"] .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .grid.gap-5.lg\:grid-cols-2 > .rounded-2xl,
.dark .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .grid.gap-5.lg\:grid-cols-2 > .rounded-2xl {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(24, 29, 44, .86);
}

body[theme-mode="dark"] .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl:first-child,
.dark .affiliate-cashback-page > .mx-auto.max-w-\[1180px\].space-y-5 > .rounded-2xl:first-child {
  background: linear-gradient(135deg, rgba(39, 31, 48, .94), rgba(24, 29, 44, .9) 52%, rgba(24, 35, 52, .92));
}

body[theme-mode="dark"] .affiliate-cashback-page .mt-5.grid.gap-3.md\:grid-cols-3 > .rounded-xl,
.dark .affiliate-cashback-page .mt-5.grid.gap-3.md\:grid-cols-3 > .rounded-xl,
body[theme-mode="dark"] .affiliate-cashback-page input,
.dark .affiliate-cashback-page input,
body[theme-mode="dark"] .affiliate-cashback-page .grid.gap-5.lg\:grid-cols-2 .rounded-2xl:nth-child(2) p,
.dark .affiliate-cashback-page .grid.gap-5.lg\:grid-cols-2 .rounded-2xl:nth-child(2) p,
body[theme-mode="dark"] .affiliate-cashback-page .mt-3.space-y-2 > .flex.items-center.justify-between,
.dark .affiliate-cashback-page .mt-3.space-y-2 > .flex.items-center.justify-between {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .06);
}
