/* Profile-style notice scoped entirely to Rewards & Affiliate Login Guard. */
.rlg-toast-region {
  position: fixed;
  z-index: 2147483640;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: min(380px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  font-family: "Funnel Display", sans-serif;
  color: #fff;
}
.rlg-toast-region, .rlg-toast-region * { box-sizing: border-box; }
.rlg-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 14px 14px 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 114, 137, .28);
  border-radius: 14px;
  background: #231f2c;
  box-shadow: 0 13px 42px rgba(0,0,0,.46);
  pointer-events: auto;
  animation: rlg-toast-in .22s ease-out both;
}
.rlg-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255,43,138,.14);
  color: #ff5c9e;
}
.rlg-toast-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rlg-toast-text {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.rlg-toast-dismiss {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 5px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  cursor: pointer;
}
.rlg-toast-dismiss:hover { background: rgba(255,255,255,.16); color: #fff; }
.rlg-toast-dismiss:focus-visible { outline: 2px solid #ff2b8a; outline-offset: 2px; }
.rlg-toast-dismiss svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rlg-toast-track { position: absolute; inset: auto 0 0; height: 3px; background: rgba(255,255,255,.08); }
.rlg-toast-track::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #ff2b8a;
  transform-origin: left;
  animation: rlg-toast-timer 3.5s linear both;
}
.rlg-toast.is-hiding { animation: rlg-toast-out .17s ease-in both; }
@keyframes rlg-toast-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rlg-toast-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes rlg-toast-timer { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .rlg-toast, .rlg-toast.is-hiding, .rlg-toast-track::after { animation: none; }
}
