/* V52 — Reward Review Flow: explicit choice, inline review, honest dummy outcome. */
.v52-reward-detail-hero {
  position: relative;
  min-height: 272px;
  margin: 4px 16px 14px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 235, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 83% 13%, rgba(197, 255, 89, 0.18), transparent 28%),
    linear-gradient(145deg, #17120f 0%, #2b1d16 56%, #56331f 100%);
  color: #fffaf1;
  box-shadow: 0 18px 34px rgba(45, 27, 18, 0.16);
  isolation: isolate;
}

.v52-reward-detail-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image: repeating-linear-gradient(118deg, transparent 0 16px, rgba(255,255,255,.12) 17px, transparent 18px 34px);
  content: "";
}

.v52-reward-detail-hero .eyebrow {
  max-width: 190px;
  color: #d7eea2;
  letter-spacing: 0.09em;
}

.v52-reward-detail-hero h1 {
  max-width: 260px;
  margin: 78px 0 16px;
  font-size: clamp(1.85rem, 8.6vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #fffaf1;
  text-wrap: balance;
}

.v52-reward-orbit {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 50%;
}

.v52-reward-orbit > span {
  position: absolute;
  inset: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c5ff59;
  color: #17120f;
  transform: rotate(-8deg);
}

.v52-reward-orbit > i {
  position: absolute;
  right: -5px;
  bottom: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e56d32;
}

.v52-reward-orbit > b {
  position: absolute;
  top: 0;
  left: -7px;
  color: #fffaf1;
  font-size: 1.25rem;
}

.v52-reward-state {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255,250,241,.34);
  border-radius: 999px;
  color: #fffaf1;
  font-size: 0.75rem;
  font-weight: 700;
}

.v52-reward-balance {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 10px;
  margin: 0 16px 14px;
  padding: 18px;
  border: 1px solid rgba(70, 49, 37, 0.12);
  border-radius: 22px;
  background: #fffaf1;
}

.v52-reward-balance h2 {
  margin: 4px 0 0;
  color: #2a1c15;
  font-size: clamp(1.65rem, 7vw, 2rem);
  letter-spacing: -0.05em;
}

.v52-reward-balance h2 span {
  display: block;
  color: #796d65;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
}

.v52-reward-balance dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.v52-reward-balance dl > div {
  padding-left: 12px;
  border-left: 1px solid rgba(70,49,37,.16);
}

.v52-reward-balance dt {
  color: #796d65;
  font-size: 0.68rem;
}

.v52-reward-balance dd {
  margin: 2px 0 0;
  color: #2a1c15;
  font-size: 0.96rem;
  font-weight: 800;
}

.v52-reward-eligibility {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.v52-reward-eligibility > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #e6f5c5;
  color: #1d4b37;
}

.v52-reward-eligibility h2,
.v52-reward-terms h2,
.v52-reward-review h2 {
  margin: 3px 0 7px;
  color: #231812;
  font-size: clamp(1.25rem, 5.8vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.v52-reward-eligibility p:last-child,
.v52-reward-terms > p {
  margin: 0;
  color: #756a62;
  font-size: 0.86rem;
  line-height: 1.55;
}

.v52-reward-terms ol {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.v52-reward-terms li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid rgba(70,49,37,.1);
}

.v52-reward-terms li > span {
  color: #9c5b34;
  font-size: 0.7rem;
  font-weight: 800;
}

.v52-reward-terms li p {
  margin: 0;
  color: #41342d;
  font-size: 0.8rem;
}

.v52-reward-actions,
.v52-reward-review {
  margin: 14px 16px;
  padding: 16px;
  border-radius: 22px;
}

.v52-reward-actions {
  border: 1px solid rgba(70,49,37,.12);
  background: rgba(255,250,241,.92);
  box-shadow: 0 12px 28px rgba(47,31,22,.08);
}

.v52-reward-actions > .button,
.v52-reward-review-actions .button {
  min-height: 48px;
}

.v52-reward-actions > p {
  min-height: 1.25em;
  margin: 10px 2px 0;
  color: #665a52;
  font-size: 0.75rem;
  line-height: 1.4;
}

.v52-reward-target-active {
  display: block;
  margin-bottom: 10px;
  color: #1d4b37;
  font-size: 0.78rem;
  font-weight: 750;
  text-align: center;
}

.v52-reward-review {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197,255,89,.32);
  background: #17120f;
  color: #fffaf1;
}

.v52-reward-review::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(197,255,89,.24);
  border-radius: 50%;
  content: "";
}

.v52-reward-review-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 13px;
  background: #c5ff59;
  color: #17120f;
  font-size: 1.15rem;
}

.v52-reward-review .eyebrow { color: #d7eea2; }
.v52-reward-review h2 { color: #fffaf1; }

.v52-reward-review dl {
  display: grid;
  gap: 0;
  margin: 18px 0;
}

.v52-reward-review dl > div {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,250,241,.14);
}

.v52-reward-review dt { color: #bdb2a9; font-size: .75rem; }
.v52-reward-review dd { margin: 0; font-size: .8rem; font-weight: 750; text-align: right; }
.v52-reward-review > p:not(.eyebrow) { color: #cfc5bd; font-size: .78rem; line-height: 1.5; }
.v52-reward-review > p strong { color: #fffaf1; }
.v52-reward-review-actions { display: grid; gap: 8px; margin-top: 16px; }
.v52-reward-review-actions .button:first-child { border-color: #c5ff59; background: #c5ff59; color: #17120f; }
.v52-reward-review-actions .button.secondary { border-color: rgba(255,250,241,.34); background: transparent; color: #fffaf1; }
.v52-reward-review .inline-status { color: #fffaf1; }

.v52-reward-detail-empty {
  margin: 24px 16px;
  padding: 24px;
  border-radius: 24px;
  background: #fffaf1;
}

.reward-action {
  flex-wrap: wrap;
}

@media (max-width: 350px) {
  .v52-reward-detail-hero { min-height: 250px; padding: 20px; }
  .v52-reward-detail-hero h1 { margin-top: 70px; }
  .v52-reward-orbit { width: 78px; height: 78px; }
  .v52-reward-balance { grid-template-columns: 1fr; }
  .v52-reward-balance dl { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .v52-reward-detail-hero,
  .v52-reward-review { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .v52-reward-detail-hero,
  .v52-reward-balance,
  .v52-reward-eligibility,
  .v52-reward-terms,
  .v52-reward-actions,
  .v52-reward-review { border: 1px solid CanvasText; box-shadow: none; forced-color-adjust: auto; }
  .v52-reward-orbit > span,
  .v52-reward-eligibility > span,
  .v52-reward-review-mark { border: 1px solid CanvasText; background: Canvas; color: CanvasText; }
  .v52-reward-actions .button,
  .v52-reward-review-actions .button { border-color: ButtonText; background: ButtonFace; color: ButtonText; }
}
