/* RedteaGO payment-change notice: a compact alert under the cover with
   message-sized screenshot thumbnails that open in a native popover. */

.perk-body .rtg-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  margin: 0;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(184, 90, 62, 0.26);
  border-left: 3px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
  background: rgba(184, 90, 62, 0.06);
}

.perk-body .rtg-notice + * {
  margin-top: 1.4em;
}

.perk-body .rtg-notice-text {
  min-width: 0;
}

.perk-body .rtg-notice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0;
  line-height: 1.5;
}

.perk-body .rtg-notice-head strong {
  color: var(--accent);
  font-weight: 700;
}

.perk-body .rtg-notice-head time {
  color: var(--text-3);
  font-size: 0.8rem;
}

.perk-body .rtg-notice-body {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.75;
}

.perk-body .rtg-notice-shots {
  display: flex;
  gap: 8px;
  margin: 0;
}

.perk-body .rtg-thumb {
  display: block;
  width: 58px;
  height: 84px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 14px -10px rgba(31, 28, 22, 0.45);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.perk-body .rtg-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -12px rgba(31, 28, 22, 0.55);
}

.perk-body .rtg-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.perk-body .rtg-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
}

/* Enlarged view */
.perk-body .rtg-zoom {
  width: auto;
  max-width: min(92vw, 420px);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: #fff;
}

.perk-body .rtg-zoom::backdrop {
  background: rgba(20, 16, 12, 0.78);
}

.perk-body .rtg-zoom-close {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-out;
}

.perk-body .rtg-zoom img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(92vh - 40px);
  margin: 0 auto;
  border: 0;
  border-radius: 14px;
}

.perk-body .rtg-zoom-cap {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 560px) {
  .perk-body .rtg-notice {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .perk-body .rtg-thumb {
    transition: none;
  }
}
