.fragment-motion { min-width: 0; background: #fff; }
.notification-video, .notification-poster { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
.notification-poster { display: none; }
.fragment .notification-caption { margin: 0; text-align: center; font-size: 11px; color: #777; }
.notification-stack { display: none; }
/* Text remains native and readable where a scaled video would make it too small. */
@media (max-width: 1000px) {
  .notification-video, .notification-poster { display: none; }
  .notification-stack { display: block; position: relative; height: 470px; margin: 0 -8px; padding: 16px 8px; list-style: none; overflow: hidden; isolation: isolate; }
  .notification-stack::after { content: ''; position: absolute; z-index: 20; inset: auto 0 0; height: 90px; pointer-events: none; background: linear-gradient(transparent, #fff 90%); }
  .notification-card { position: absolute; top: 16px; left: 8px; right: 8px; min-height: 126px; padding: 14px 16px 16px; border: 1px solid #e8e9eb; border-radius: 20px; background: #fcfcfd; box-shadow: 0 7px 18px #0a0f1910; transform-origin: top center; opacity: 0; }
  .notification-card:nth-child(1) { opacity: 1; }
  .notification-card:nth-child(2) { opacity: 1; transform: translateY(134px); }
  .notification-card:nth-child(3) { opacity: 1; transform: translateY(268px); }
  .notification-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #707074; font-size: 9px; letter-spacing: .02em; }
  .notification-meta time { margin-left: auto; color: #8b8b90; }
  .notification-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #28bd66; color: #fff; }
  .notification-icon svg { width: 17px; height: 17px; }
  .icon-mail { background: #408ee4; }
  .icon-dropbox { background: #2878e3; }
  .icon-calendário { background: #d85555; }
  .notification-card strong { display: block; margin-bottom: 4px; font-size: 14px; line-height: 1.3; font-weight: 600; color: #171719; }
  .notification-body { display: block; font-size: 14px; line-height: 1.4; color: #454549; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .notification-video { display: none; }
  .notification-poster { display: block; }
  .notification-stack { display: none; }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  .notification-poster { display: none; }
  .notification-stack { display: block; }
}
