.notifications-page .notifications-page__container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) 0 clamp(40px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.notifications-page .notifications-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 32px);
}

.notifications-page .notifications-page__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--feed-muted-color);
}

.notifications-page .notifications-page__title {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  line-height: 1.2;
  color: var(--text-color);
}

.notifications-page .notifications-page__description {
  margin: 12px 0 0;
  max-width: 540px;
  color: var(--feed-muted-color);
  line-height: 1.6;
}

.notifications-page #notifRoot {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.8vw, 24px);
}

.notifications-page #notifRoot .notif-page-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.notifications-page #notifRoot .notif-page-controls .notif-mark-all {
  padding: 10px 18px;
  border-radius: 999px;
}

.notifications-page #notifRoot .notif-list--page {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
}

.notifications-page #notifRoot .notif-item {
  padding: clamp(18px, 3vw, 24px);
  border-radius: 24px;
  border: 1px solid var(--feed-card-border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)) var(--feed-card-bg);
  box-shadow: var(--feed-card-shadow);
}

body.dark.notifications-page #notifRoot .notif-item {
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.14), rgba(14, 165, 233, 0.08)) var(--feed-card-bg);
}

.notifications-page #notifRoot .notif-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px -28px rgba(15, 23, 42, 0.55);
}

.notifications-page #notifRoot .notif-item.notif-unread {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25), var(--feed-card-shadow);
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.16), rgba(14, 165, 233, 0.12)) var(--feed-card-bg);
}

.notifications-page #notifRoot .notif-avatar {
  width: clamp(48px, 5vw, 60px);
  height: clamp(48px, 5vw, 60px);
  border-radius: 18px;
  border-color: rgba(148, 163, 184, 0.4);
}

.notifications-page #notifRoot .notif-meta {
  font-size: 0.85rem;
}

.notifications-page #notifRoot .notif-context {
  max-width: none;
  white-space: normal;
}

.notifications-page #notifRoot .notif-load-more {
  align-self: center;
  margin-top: clamp(4px, 2vw, 12px);
  padding: 10px 22px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .notifications-page .notifications-page__container {
    max-width: 640px;
    padding: clamp(24px, 5vw, 36px) clamp(8px, 3vw, 18px) clamp(40px, 8vw, 72px);
  }

  .notifications-page .notifications-page__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .notifications-page .notifications-page__container {
    max-width: none;
  }

  .notifications-page #notifRoot .notif-item {
    flex-direction: column;
    align-items: stretch;
  }

  .notifications-page #notifRoot .notif-avatar {
    width: 56px;
    height: 56px;
  }
}