html:has(#home-notifications:popover-open) { overflow-y: hidden; }
.home-account .home-notification-trigger { color: #f3eaf6; }
.home-notification-dot {
  position: absolute;
  inset: 9px 8px auto auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #efc4fb;
  box-shadow: 0 0 0 2px #241b2b, 0 0 11px #d6a5ef7a;
}
.home-notifications {
  --notification-row-height: 78px;
  position: fixed;
  inset: var(--notifications-top, 58px) auto auto var(--notifications-left, auto);
  margin: 0;
  width: min(420px, calc(100% - 24px));
  max-height: min(630px, calc(100dvh - var(--notifications-top, 58px) - 12px));
  padding: 15px;
  border: 1px solid #e0c9ea23;
  border-radius: 20px;
  background: var(--playview-dialog-glass);
  backdrop-filter: blur(24px) saturate(.45);
  box-shadow: 0 20px 65px #07050985;
  color: #f5edf6;
  overflow: hidden;
}
.home-notifications:popover-open { display: flex; flex-direction: column; }
.home-notification-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.home-notification-heading h2 { margin: 0; padding-inline-start: 3px; font-size: 22px; letter-spacing: -.025em; }
.home-notification-demo { margin: 2px 3px 9px; color: #c2b2c7; font-size: 11px; }
.home-notifications .home-choice-tabs { margin: 4px 3px 7px; }
.home-notification-items {
  min-height: 0;
  max-height: calc(var(--notification-row-height) * 4);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.home-notification-items li { position: relative; }
.home-notification-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  width: 100%;
  height: var(--notification-row-height);
  padding: 8px 24px 8px 5px;
  border: 0;
  border-bottom: 1px solid #e9d9ef18;
  background: transparent;
  color: inherit;
  text-align: start;
  font: inherit;
  isolation: isolate;
}
.home-notification-row:is(:hover:where(html:not([data-touch-input]) *), :focus-visible:where(html:not([data-touch-input]) *))::before {
  content: '';
  position: absolute;
  inset: 4px 2px;
  z-index: -1;
  border-radius: 10px;
  background: #e9d9ef16;
}
.home-notification-row:focus-visible { outline-offset: -3px; }
.home-notification-empty { padding: 14px 5px; color: #c0b3c8; }
.home-notification-items li[data-unread]::after {
  content: '';
  position: absolute;
  inset: 15px 7px auto auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #efc4fb;
  pointer-events: none;
}
.home-notification-items img { display: block; width: 48px; height: 61px; object-fit: cover; border-radius: 7px; }
.home-notification-copy { display: grid; gap: 2px; overflow-wrap: anywhere; }
.home-notification-copy strong { font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-notification-event { color: #bde1d0; font-size: 11px; }
.home-notification-announcement { color: #e6c7ff; }
.home-notification-date { color: #c0b3c8; font-size: 11px; }
.home-notification-activity { display: flex; font-size: 13px; line-height: 1.35; }
.home-notification-activity .home-notification-copy { gap: 4px; }
@media (max-width: 760px) {
  .home-notifications {
    inset: var(--notifications-top, 60px) 8px auto;
    box-sizing: border-box;
    width: auto;
    max-width: none;
    max-height: calc(100svh - var(--notifications-top, 60px) - 8px - env(safe-area-inset-bottom, 0px));
    border-radius: 18px;
  }
  .home-notifications:popover-open {
    animation: notification-slide-down 240ms cubic-bezier(.2, .7, .25, 1);
  }
}
@keyframes notification-slide-down {
  from { clip-path: inset(0 0 100%); opacity: .6; }
  to { clip-path: inset(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .home-notifications:popover-open {
    animation: none;
  }
}
