/**
 * Shared header notification popover — canonical chrome component.
 * Requires css/uppay-design-tokens.css. Self-contained: pages without
 * css/uppay-notice-modal.css (payment, order, home) must render the same panel.
 */

#uppay-header-notif-popover {
  position: fixed;
  z-index: 250;
  width: min(calc(100vw - 1rem), 24rem);
  pointer-events: none;
}

#uppay-header-notif-popover:not(.hidden) {
  pointer-events: auto;
}

#uppay-header-notif-popover .uppay-header-notif-popover__panel {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  padding: 1.25rem 1.25rem 1.35rem;
  gap: 0.75rem;
  font-family: var(--uppay-font, system-ui, "Segoe UI", sans-serif);
  pointer-events: auto;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(18, 24, 38, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
}

#uppay-header-notif-popover .uppay-header-notif-popover__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

#uppay-header-notif-popover .uppay-notice-modal__title {
  margin: 0;
  padding-right: 2.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: var(--uppay-weight-semibold, 600);
  line-height: 1.3;
  letter-spacing: normal;
  color: var(--uppay-text, #e6ebf2);
}

#uppay-header-notif-popover .uppay-notice-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  line-height: 1;
  cursor: pointer;
  transform: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

#uppay-header-notif-popover .uppay-notice-modal__close:hover,
#uppay-header-notif-popover .uppay-notice-modal__close:focus-visible {
  border-color: rgba(120, 170, 255, 0.42);
  background: rgba(120, 170, 255, 0.12);
  color: #fff;
  box-shadow: none;
  transform: none;
  outline: none;
}

#uppay-header-notif-popover .uppay-notice-modal__action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--uppay-text, #e6ebf2);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: var(--uppay-weight-medium, 500);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transform: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

#uppay-header-notif-popover .uppay-notice-modal__action:hover,
#uppay-header-notif-popover .uppay-notice-modal__action:focus-visible {
  border-color: rgba(120, 170, 255, 0.55);
  background: rgba(120, 170, 255, 0.1);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(120, 170, 255, 0.18), 0 0 14px rgba(0, 172, 255, 0.14);
  transform: none;
  outline: none;
}

/* Desktop close glyph matches the shared notice modal (1rem).
   Page rules such as .uppay-page--payment-return .uppay-modal-close-icon
   must not enlarge this icon. Mobile overrides this below. */
#uppay-header-notif-popover .uppay-notice-modal__close svg {
  width: 1rem;
  height: 1rem;
}

#uppay-header-notif-popover .uppay-header-notif-popover__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(52vh, 21rem);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item {
  margin: 0;
  min-width: 0;
  flex-shrink: 0;
  height: auto;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  overflow-wrap: anywhere;
  transform: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item.is-unread {
  position: relative;
  overflow: hidden;
  min-height: min-content;
  isolation: isolate;
  border-color: var(--uppay-modal-accent-border-on, rgba(120, 170, 255, 0.42));
  background: var(--uppay-modal-accent-bg-on, rgba(255, 255, 255, 0.07));
  box-shadow:
    inset 3px 0 0 rgba(120, 170, 255, 0.46),
    0 0 0 1px var(--uppay-modal-accent-halo, rgba(124, 92, 255, 0.1)),
    0 0 12px var(--uppay-modal-accent-glow, rgba(0, 172, 255, 0.1));
}

#uppay-header-notif-popover .uppay-header-notif-popover__item.is-unread > * {
  position: relative;
  z-index: 1;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item.is-unread::after {
  content: "";
  position: absolute;
  top: -25%;
  left: 0;
  z-index: 0;
  width: 42%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 28%,
    rgba(214, 224, 236, 0.16) 50%,
    rgba(196, 210, 228, 0.11) 72%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-165%) skewX(-24deg);
}

#uppay-header-notif-popover.is-sweeping .uppay-header-notif-popover__item.is-unread::after {
  animation: uppay-header-notif-unread-diagonal-sweep 1.25s ease-out 1 forwards;
}

@keyframes uppay-header-notif-unread-diagonal-sweep {
  0% {
    transform: translateX(-165%) skewX(-24deg);
    opacity: 0;
  }

  12% {
    opacity: 0.14;
  }

  50% {
    opacity: 0.17;
  }

  88% {
    opacity: 0.11;
  }

  100% {
    transform: translateX(235%) skewX(-24deg);
    opacity: 0;
  }
}

#uppay-header-notif-popover .uppay-header-notif-popover__item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transform: none;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item.is-unread:hover {
  border-color: rgba(120, 170, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 3px 0 0 rgba(120, 170, 255, 0.52),
    0 0 0 1px var(--uppay-modal-accent-halo, rgba(124, 92, 255, 0.12)),
    0 0 14px var(--uppay-modal-accent-glow, rgba(0, 172, 255, 0.12));
}

#uppay-header-notif-popover .uppay-header-notif-popover__tag {
  display: inline-flex;
  margin-bottom: 0.28rem;
  padding: 0.12rem 0.42rem;
  border: 1px solid rgba(120, 170, 255, 0.28);
  border-radius: 999px;
  background: rgba(120, 170, 255, 0.1);
  color: #e6ebf2;
  font-family: var(--uppay-font);
  font-size: 0.625rem;
  font-weight: var(--uppay-weight-medium);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item-title {
  margin: 0;
  color: #eef5fb;
  font-family: var(--uppay-font);
  font-size: 0.8125rem;
  font-weight: var(--uppay-weight-semibold);
  line-height: 1.3;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item-body {
  margin: 0.28rem 0 0;
  color: var(--uppay-modal-body-color, #cfd6e0);
  font-family: var(--uppay-font);
  font-size: 0.75rem;
  font-weight: var(--uppay-weight-regular);
  line-height: 1.4;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item-time {
  margin: 0.38rem 0 0;
  color: var(--uppay-modal-secondary-color, #9aabb8);
  font-family: var(--uppay-font);
  font-size: 0.6875rem;
  font-weight: var(--uppay-weight-regular);
  line-height: 1.2;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item-cta {
  display: inline-block;
  margin-top: 0.45rem;
  color: #b8c2ce;
  font-family: var(--uppay-font);
  font-size: 0.75rem;
  font-weight: var(--uppay-weight-medium);
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(184, 194, 206, 0.42);
  text-underline-offset: 0.18em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

#uppay-header-notif-popover .uppay-header-notif-popover__item-cta:hover,
#uppay-header-notif-popover .uppay-header-notif-popover__item-cta:focus-visible {
  color: #e6ebf2;
  text-decoration-color: rgba(214, 222, 232, 0.62);
  outline: none;
}

#uppay-header-notif-popover .uppay-header-notif-popover__empty {
  margin: 0;
  padding: 1.35rem 0.5rem;
  text-align: center;
  color: var(--uppay-modal-secondary-color, #9aabb8);
  font-family: var(--uppay-font);
  font-size: 0.875rem;
  font-weight: var(--uppay-weight-regular);
  line-height: 1.4;
}

/* Live notifications from js/uppay-notifications.js (legacy class names). */
#uppay-header-notif-popover .uppay-notif-item {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  overflow-wrap: anywhere;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

#uppay-header-notif-popover .uppay-header-notif-popover__content:has(> .uppay-notif-item) {
  gap: 0;
  max-height: min(52vh, 21rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

#uppay-header-notif-popover .uppay-notif-item + .uppay-notif-item {
  margin-top: 0.5rem;
}

#uppay-header-notif-popover .uppay-notif-item.is-unread {
  border-color: var(--uppay-modal-accent-border-on, rgba(120, 170, 255, 0.42));
  background: var(--uppay-modal-accent-bg-on, rgba(255, 255, 255, 0.07));
  box-shadow: inset 3px 0 0 rgba(120, 170, 255, 0.46);
}

#uppay-header-notif-popover .uppay-notif-item__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

#uppay-header-notif-popover .uppay-notif-item__content {
  flex: 1 1 auto;
  min-width: 0;
}

#uppay-header-notif-popover .uppay-notif-item__title {
  margin: 0;
  color: #eef5fb;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: var(--uppay-weight-semibold, 600);
  line-height: 1.3;
}

#uppay-header-notif-popover .uppay-notif-item__text {
  margin: 0.28rem 0 0;
  color: var(--uppay-modal-body-color, #cfd6e0);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: var(--uppay-weight-regular, 400);
  line-height: 1.4;
}

#uppay-header-notif-popover .uppay-notif-amount {
  margin: 0.3rem 0 0;
  color: var(--uppay-text, #e6ebf2);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: var(--uppay-weight-semibold, 600);
  line-height: 1.3;
}

#uppay-header-notif-popover .uppay-notif-item-x {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: -0.2rem -0.3rem 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

#uppay-header-notif-popover .uppay-notif-item-x:hover,
#uppay-header-notif-popover .uppay-notif-item-x:focus-visible {
  border-color: rgba(120, 170, 255, 0.42);
  background: rgba(120, 170, 255, 0.1);
  color: #fff;
  outline: none;
}

#uppay-header-notif-popover .uppay-notif-cta {
  display: inline-block;
  margin-top: 0.5rem;
  color: #b8c2ce;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: var(--uppay-weight-medium, 500);
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(184, 194, 206, 0.42);
  text-underline-offset: 0.18em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

#uppay-header-notif-popover .uppay-notif-cta:hover,
#uppay-header-notif-popover .uppay-notif-cta:focus-visible {
  color: #e6ebf2;
  text-decoration-color: rgba(214, 222, 232, 0.62);
  outline: none;
}

#uppay-header-notif-popover .uppay-notif-empty {
  margin: 0;
  padding: 1.35rem 0.5rem;
  color: var(--uppay-modal-secondary-color, #9aabb8);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
}

#uppay-header-notif-popover .uppay-header-notif-popover__footer {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

#uppay-header-notif-popover .uppay-header-notif-popover__footer.hidden {
  display: none;
}

#uppay-header-notif-popover .uppay-header-notif-popover__scroll-body {
  --uppay-notif-scroll-compact: 17.5rem;
  --uppay-notif-scroll-expanded: 27.5rem;
  --uppay-notif-show-all-slot: 1.55rem;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: calc(var(--uppay-notif-scroll-compact) + var(--uppay-notif-show-all-slot));
  min-height: calc(var(--uppay-notif-scroll-compact) + var(--uppay-notif-show-all-slot));
  min-width: 0;
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

#uppay-header-notif-popover .uppay-header-notif-popover__scroll-body.is-expanded {
  height: var(--uppay-notif-scroll-expanded);
  min-height: var(--uppay-notif-scroll-expanded);
}

#uppay-header-notif-popover .uppay-header-notif-popover__scroll-body .uppay-header-notif-popover__list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

#uppay-header-notif-popover .uppay-header-notif-popover__list.is-scrollbar-hint {
  scrollbar-color: rgba(88, 108, 132, 0.68) transparent;
}

#uppay-header-notif-popover .uppay-header-notif-popover__list.is-scrollbar-hint::-webkit-scrollbar-thumb {
  background: rgba(88, 108, 132, 0.68);
}

#uppay-header-notif-popover .uppay-header-notif-popover__show-all-wrap {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.35rem 0 0.1rem;
  text-align: center;
  pointer-events: auto;
}

#uppay-header-notif-popover .uppay-header-notif-popover__show-all {
  position: relative;
  z-index: 1;
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--uppay-text-muted, #b8c2ce);
  font-family: var(--uppay-font);
  font-size: 0.8125rem;
  font-weight: var(--uppay-weight-regular);
  line-height: 1.35;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(184, 194, 206, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
  transform: none;
  box-shadow: none;
  transition:
    color 0.15s ease,
    text-decoration-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

#uppay-header-notif-popover .uppay-header-notif-popover__show-all:hover,
#uppay-header-notif-popover .uppay-header-notif-popover__show-all:focus-visible {
  color: #e6ebf2;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  outline: none;
  transform: none;
  text-decoration-color: rgba(214, 222, 232, 0.62);
}

@media (max-width: 639px) {
  #uppay-header-notif-popover {
    --uppay-header-notif-mobile-header-h: 3.4375rem;
    --uppay-header-notif-mobile-inset-x: 1.0625rem;
    --uppay-header-notif-mobile-header-gap: 0.375rem;
    left: 50% !important;
    right: auto !important;
    width: min(calc(100vw - 32px), 360px);
    max-width: 360px;
    transform: translateX(-50%);
    overflow-x: hidden;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: var(--uppay-header-notif-mobile-header-h) auto auto;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0;
    gap: 0;
    min-width: 0;
    overflow: hidden;
    max-height: min(68dvh, calc(100dvh - var(--uppay-header-notif-top, 4rem) - 24px));
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__panel:has(.uppay-header-notif-popover__scroll-body.is-expanded) {
    max-height: min(77dvh, calc(100dvh - var(--uppay-header-notif-top, 4rem) - 24px));
    grid-template-rows: var(--uppay-header-notif-mobile-header-h) minmax(0, 1fr) auto;
  }

  #uppay-header-notif-popover .uppay-notice-modal__title {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding:
      0
      0.5rem
      0
      var(--uppay-header-notif-mobile-inset-x);
    font-size: 0.9375rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__content {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    margin-top: var(--uppay-header-notif-mobile-header-gap);
    padding: 0 0.75rem;
    overflow: hidden;
    gap: 0;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__footer {
    grid-column: 1 / -1;
    grid-row: 3;
    flex-shrink: 0;
    gap: 0.35rem;
    margin-top: 0.375rem;
    padding: 0.125rem 0.75rem 0.75rem;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__scroll-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0;
    min-width: 0;
    min-height: 0 !important;
    max-height: none;
    height: auto !important;
    overflow: hidden;
    transition: none;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__scroll-body.is-expanded {
    flex: 1 1 auto;
    min-height: 0 !important;
    max-height: 100%;
    height: auto !important;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__scroll-body .uppay-header-notif-popover__list {
    flex: 0 1 auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow-x: hidden;
    overflow-y: visible;
    scrollbar-gutter: stable;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__scroll-body.is-expanded .uppay-header-notif-popover__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__content > .uppay-header-notif-popover__list {
    overflow-x: hidden;
    scrollbar-gutter: stable;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__show-all-wrap {
    flex-shrink: 0;
    padding: 0.2rem 0 0;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__list {
    gap: 0.625rem;
    max-height: none;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__item {
    padding: 0.875rem;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__tag {
    margin-bottom: 0.2rem;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__item-body {
    margin-top: 0.2rem;
  }

  #uppay-header-notif-popover .uppay-header-notif-popover__item-time {
    margin-top: 0.25rem;
    font-size: 0.625rem;
    line-height: 1.15;
  }

  /* Close — 44px touch, ~32px visual circle, right inset (games canonical) */
  #uppay-header-notif-popover .uppay-notice-modal__close {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    margin-right: 0.6875rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  #uppay-header-notif-popover .uppay-notice-modal__close::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 2.0625rem;
    height: 2.0625rem;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    transition:
      background 0.15s ease,
      border-color 0.15s ease;
  }

  #uppay-header-notif-popover .uppay-notice-modal__close svg {
    position: relative;
    z-index: 1;
    width: 0.875rem;
    height: 0.875rem;
  }

  #uppay-header-notif-popover .uppay-notice-modal__close:hover::before,
  #uppay-header-notif-popover .uppay-notice-modal__close:focus-visible::before,
  #uppay-header-notif-popover .uppay-notice-modal__close:active::before {
    border-color: rgba(120, 170, 255, 0.42);
    background: rgba(120, 170, 255, 0.1);
  }

  #uppay-header-notif-popover .uppay-notice-modal__close:hover,
  #uppay-header-notif-popover .uppay-notice-modal__close:focus-visible,
  #uppay-header-notif-popover .uppay-notice-modal__close:active {
    color: #fff;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
    outline: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #uppay-header-notif-popover .uppay-header-notif-popover__scroll-body {
    transition: none;
  }

  #uppay-header-notif-popover.is-sweeping .uppay-header-notif-popover__item.is-unread::after {
    animation: none;
  }
}
