/* Notificações de venda estilo iPhone sobre a foto do mentor. Isolado: não toca no celular nem no painel de comissões. */
#mentor-notice-rail {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 8px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-inline: 14px;
}
@media (min-width: 640px) { #mentor-notice-rail { top: 16px; } }

.mentor-notice {
  --notice-bg: rgba(28, 28, 30, 0.72);
  --notice-fg: #f5f5f7;
  --notice-muted: rgba(245, 245, 247, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(340px, 100%);
  padding: 10px 14px;
  border-radius: 20px;
  background: var(--notice-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: var(--notice-fg);
  font-family: 'Inter Tight', -apple-system, system-ui, sans-serif;
  text-align: left;
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.mentor-notice.is-arriving { opacity: 1; transform: translateY(0) scale(1); }

.mentor-notice-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #010101;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mentor-notice-icon svg { width: 22px; height: 22px; fill: #fff; }

.mentor-notice-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mentor-notice-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mentor-notice-head b { font-size: 12px; font-weight: 600; }
.mentor-notice-head small { font-size: 10px; color: var(--notice-muted); white-space: nowrap; }
.mentor-notice-copy > strong { font-size: 13px; font-weight: 600; line-height: 1.3; }
.mentor-notice-amount { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--flame, #ff7a1a); }
.mentor-notice-sender { font-size: 10px; line-height: 1.3; color: var(--notice-muted); }

@media (prefers-reduced-motion: reduce) {
  .mentor-notice { transition: opacity 0.15s; transform: none; }
}
