:root {
  --shell-header-height: 82px;
  --shell-header-height-mobile: 70px;
  --shell-header-inline: 24px;
  --shell-header-inline-mobile: 16px;
  --shell-icon-size: 52px;
  --shell-icon-size-mobile: 44px;
  --shell-badge-size: 22px;
  --shell-badge-size-mobile: 18px;
  --shell-brand-size: 30px;
  --shell-brand-size-mobile: 1.16rem;
  --shell-shadow-soft: 0 8px 22px rgba(255, 73, 138, 0.05);
  --shell-shadow-icon: 0 8px 18px rgba(46, 27, 39, 0.06);
  --shell-shadow-active: 0 10px 22px rgba(255, 47, 122, 0.12);
  --shell-pink: #ff2f7a;
  --shell-pink-strong: #f01460;
  --shell-text-muted: #6e6777;
  --shell-surface: rgba(255, 255, 255, 0.94);
  --shell-footer-safe: calc(12px + env(safe-area-inset-bottom, 0px));
}

/* =========================
   UNIFIED HEADER PANEL
========================= */
body.explore-page .header-actions .header-avatar-btn,
body.unified-page .header-actions .header-avatar-btn {
  position: relative;
  width: var(--shell-icon-size);
  height: var(--shell-icon-size);
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5f96, #ff2f7a);
  box-shadow: var(--shell-shadow-icon);
  display: grid;
  place-items: center;
  padding: 3px;
  flex-shrink: 0;
}

body.explore-page .header-actions .header-avatar-face,
body.unified-page .header-actions .header-avatar-face {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #121018;
  color: #fff;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.explore-page .header-notifications-wrap .notifications-dropdown,
body.unified-page .header-notifications-wrap .notifications-dropdown {
  right: 0 !important;
  width: min(420px, calc(100vw - 32px)) !important;
}

body.explore-page .header-notifications-wrap .notifications-panel,
body.unified-page .header-notifications-wrap .notifications-panel {
  padding: 16px !important;
  background:
    radial-gradient(circle at top right, rgba(255, 84, 145, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,251,0.96)) !important;
}

body.explore-page .header-notifications-wrap .notifications-head,
body.unified-page .header-notifications-wrap .notifications-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 14px !important;
}

body.explore-page .header-notifications-wrap .notifications-kicker,
body.unified-page .header-notifications-wrap .notifications-kicker {
  display: inline-block !important;
  margin-bottom: 4px !important;
  color: #ff4a8d !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body.explore-page .header-notifications-wrap .notifications-head h3,
body.unified-page .header-notifications-wrap .notifications-head h3 {
  margin: 0 !important;
  color: #1f1620 !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

body.explore-page .header-notifications-wrap .notifications-list,
body.unified-page .header-notifications-wrap .notifications-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(62vh, 520px);
  overflow-y: auto;
  padding-right: 4px;
}

@media (max-width: 720px) {
  body.explore-page .header-actions .header-avatar-btn,
  body.unified-page .header-actions .header-avatar-btn {
    width: var(--shell-icon-size-mobile);
    height: var(--shell-icon-size-mobile);
  }

  body.explore-page .header-notifications-wrap .notifications-dropdown,
  body.unified-page .header-notifications-wrap .notifications-dropdown {
    width: min(92vw, 360px);
  }

  body.explore-page .header-notifications-wrap .notifications-head h3,
  body.unified-page .header-notifications-wrap .notifications-head h3 {
    font-size: 24px;
  }
}

body.explore-page,
body.unified-page {
  min-height: 100vh;
}

body.explore-page .header,
body.unified-page .header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--shell-header-height);
  display: grid;
  grid-template-columns: minmax(64px, 1fr) auto minmax(64px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 0 var(--shell-header-inline);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 107, 159, 0.08);
  box-shadow: var(--shell-shadow-soft);
}

body.explore-page .header > .header-icon-btn:first-child,
body.explore-page .header > .header-menu-wrap:first-child,
body.unified-page .header > .header-menu-wrap:first-child,
body.unified-page .header > .header-icon-btn:first-child {
  justify-self: start;
}

body.explore-page .brand-title,
body.unified-page .brand-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--shell-brand-size);
  line-height: 1;
font-family:"Sora",sans-serif;
font-weight:800;
font-size:34px;
letter-spacing:-0.035em;
  color: #ff2d7a;
  justify-self: center;
  text-align: center;
  white-space: nowrap;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.explore-page .brand-mark,
body.unified-page .brand-mark {
  font-size: 0.78em;
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(255, 47, 122, 0.16));
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

body.explore-page .header-actions,
body.unified-page .header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}

body.explore-page .header-menu-wrap,
body.explore-page .header-notifications-wrap,
body.unified-page .header-menu-wrap,
body.unified-page .header-notifications-wrap {
  position: relative;
}

body.explore-page .header-icon-btn,
body.explore-page .header-avatar-btn,
body.unified-page .header-icon-btn,
body.unified-page .header-avatar-btn {
  position: relative;
  width: var(--shell-icon-size);
  height: var(--shell-icon-size);
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shell-shadow-icon);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  flex-shrink: 0;
}

body.explore-page .header-icon-btn:hover,
body.explore-page .header-avatar-btn:hover,
body.unified-page .header-icon-btn:hover,
body.unified-page .header-avatar-btn:hover,
body.explore-page .bottom-nav-btn:hover,
body.unified-page .bottom-nav-btn:hover {
  transform: scale(1.03);
}

body.explore-page .header-icon-btn:hover,
body.explore-page .header-avatar-btn:hover,
body.unified-page .header-icon-btn:hover,
body.unified-page .header-avatar-btn:hover {
  box-shadow: 0 14px 28px rgba(255, 95, 150, 0.16);
}

body.explore-page .header-menu-btn,
body.unified-page .header-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.explore-page .header-menu-btn span,
body.unified-page .header-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 999px;
  background: #35313b;
}

body.explore-page .header-icon,
body.explore-page .header-avatar-face,
body.unified-page .header-icon,
body.unified-page .header-avatar-face {
  display: inline-grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
}

body.explore-page .header-avatar-btn,
body.unified-page .header-avatar-btn {
  background: linear-gradient(135deg, #ff5f96, #ff2f7a);
  padding: 3px;
}

body.explore-page .header-avatar-face,
body.unified-page .header-avatar-face {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #121018;
  color: #fff;
  position: relative;
  overflow: hidden;
}

body.explore-page .header-avatar-img,
body.unified-page .header-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

body.explore-page .header-avatar-img.is-placeholder,
body.unified-page .header-avatar-img.is-placeholder {
  object-fit: contain;
  object-position: center;
  padding: 4px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(180deg, #111421 0%, #0d1019 100%);
}

body.explore-page .header-avatar-face.is-placeholder,
body.unified-page .header-avatar-face.is-placeholder {
  background: linear-gradient(180deg, #111421 0%, #0d1019 100%);
}

.ec-avatar-fallback,
.avatar-fallback.ec-avatar-fallback {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, #111421 0%, #0d1019 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  font-size: 0;
  color: transparent;
}

.ec-avatar-fallback--header,
.ec-avatar-fallback--hero {
  position: absolute;
  inset: 0;
}

.ec-avatar-fallback::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 0%, rgba(8, 10, 14, 0.26) 28%, rgba(7, 8, 12, 0.94) 100%);
}

.ec-avatar-fallback .no-photo-orb {
  position: absolute;
  inset: 15% auto auto 50%;
  width: 66%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(255,255,255,0.28), rgba(255,255,255,0.06) 62%, rgba(255,255,255,0.02) 100%);
  filter: blur(0.4px);
  opacity: 0.9;
}

.ec-avatar-fallback .no-photo-ring {
  position: absolute;
  inset: 15% auto auto 50%;
  width: 66%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.42);
}

.ec-avatar-fallback .no-photo-silhouette-img {
  position: absolute;
  left: 50%;
  top: -17%;
  width: 76%;
  height: 76%;
  transform: translateX(-50%);
  z-index: 1;
  object-fit: contain;
  object-position: center top;
  opacity: 0.98;
  filter: drop-shadow(0 8px 18px rgba(255,255,255,0.05));
  pointer-events: none;
}

.ec-avatar-fallback.accent-female {
  --accent-soft: rgba(255, 110, 165, 0.34);
  --accent-line: rgba(255, 177, 213, 0.72);
}

.ec-avatar-fallback.accent-male {
  --accent-soft: rgba(99, 159, 255, 0.32);
  --accent-line: rgba(177, 209, 255, 0.72);
}

.ec-avatar-fallback.accent-neutral {
  --accent-soft: rgba(172, 110, 255, 0.3);
  --accent-line: rgba(215, 190, 255, 0.7);
}

.ec-avatar-fallback .no-photo-orb {
  box-shadow: 0 0 60px var(--accent-soft, rgba(255,255,255,0.12));
}

.ec-avatar-fallback .no-photo-ring {
  border-color: var(--accent-line, rgba(255,255,255,0.42));
}

body.explore-page .header-avatar-ring,
body.unified-page .header-avatar-ring {
  display: none;
}

body.explore-page .header-badge,
body.unified-page .header-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  min-width: var(--shell-badge-size);
  height: var(--shell-badge-size);
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shell-pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(255, 47, 122, 0.22);
}

body.explore-page .header-badge.hidden,
body.unified-page .header-badge.hidden {
  display: none;
}

body.explore-page .header-dropdown,
body.unified-page .header-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 47, 122, 0.08);
  box-shadow: 0 28px 50px rgba(44, 19, 34, 0.16);
  backdrop-filter: blur(22px);
  overflow: hidden;
  z-index: 80;
}

body.explore-page .header-dropdown.hidden,
body.unified-page .header-dropdown.hidden {
  display: none;
}

body.explore-page .header-menu-dropdown,
body.unified-page .header-menu-dropdown {
  left: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 10px;
}

body.explore-page .header-dropdown-item,
body.unified-page .header-dropdown-item {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: #2c2430;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

body.explore-page .header-dropdown-item:hover,
body.unified-page .header-dropdown-item:hover {
  background: rgba(255, 47, 122, 0.08);
  transform: translateX(2px);
}

body.explore-page .header-dropdown-item.danger,
body.unified-page .header-dropdown-item.danger {
  color: #f01460;
}

body.explore-page .header-dropdown-icon,
body.unified-page .header-dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 95, 150, 0.14), rgba(255, 47, 122, 0.08));
  font-size: 17px;
  flex-shrink: 0;
}

body.explore-page .notifications-dropdown,
body.unified-page .notifications-dropdown {
  right: 0;
  width: min(420px, calc(100vw - 32px));
}

body.explore-page .notifications-panel,
body.unified-page .notifications-panel {
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(255, 84, 145, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,251,0.96));
}

body.explore-page .notifications-head,
body.unified-page .notifications-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
}

body.explore-page .notifications-kicker,
body.unified-page .notifications-kicker {
  display: inline-block;
  margin-bottom: 4px;
  color: #ff4a8d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.explore-page .notifications-head h3,
body.unified-page .notifications-head h3 {
  margin: 0;
  color: #1f1620;
  font-size: 28px;
  line-height: 1;
}

body.explore-page .notifications-link,
body.unified-page .notifications-link {
  border: none;
  background: transparent;
  color: #2f7bff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

body.explore-page .notifications-list,
body.unified-page .notifications-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(62vh, 520px);
  overflow-y: auto;
  padding-right: 4px;
}

body.explore-page .notifications-empty,
body.unified-page .notifications-empty {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 22px;
  background: rgba(17, 12, 18, 0.04);
  color: #6d6070;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

body.explore-page .notification-item,
body.unified-page .notification-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: none;
  border-radius: 22px;
  background: rgba(17, 12, 18, 0.04);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.explore-page .notification-item:hover,
body.unified-page .notification-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 47, 122, 0.08);
  box-shadow: 0 12px 24px rgba(255, 47, 122, 0.08);
}

body.explore-page .notification-item.is-unread,
body.unified-page .notification-item.is-unread {
  background: rgba(255, 47, 122, 0.09);
}

body.explore-page .notification-avatar,
body.unified-page .notification-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}

body.explore-page .notification-avatar-img,
body.unified-page .notification-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(17, 12, 18, 0.12);
}

body.explore-page .notification-avatar.accent-pink,
body.unified-page .notification-avatar.accent-pink { background: linear-gradient(135deg, #ff7aaa, #ff2f7a); }
body.explore-page .notification-avatar.accent-violet,
body.unified-page .notification-avatar.accent-violet { background: linear-gradient(135deg, #8a7dff, #6658ff); }
body.explore-page .notification-avatar.accent-gold,
body.unified-page .notification-avatar.accent-gold { background: linear-gradient(135deg, #ffcf65, #ff9b3d); }
body.explore-page .notification-avatar.accent-blue,
body.unified-page .notification-avatar.accent-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }

body.explore-page .notification-copy,
body.unified-page .notification-copy {
  color: #362b36;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.explore-page .notification-time,
body.unified-page .notification-time {
  color: #8b7e8d;
  font-size: 13px;
  font-weight: 700;
}

body.explore-page .bottom-nav,
body.unified-page .bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  padding: 10px 22px var(--shell-footer-safe);
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0) 0%, rgba(255, 250, 252, 0.9) 24%, rgba(255, 255, 255, 0.98) 100%);
  backdrop-filter: blur(22px);
  border-top: 1px solid rgba(255, 107, 159, 0.06);
  box-shadow: 0 -10px 30px rgba(255, 73, 138, 0.04);
}

body.explore-page .bottom-nav:has(#adminNavBtn:not([style*="display:none"])),
body.unified-page .bottom-nav:has(#adminNavBtn:not([style*="display:none"])) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.explore-page .bottom-nav-btn,
body.unified-page .bottom-nav-btn {
  min-height: 72px;
  border: 1px solid rgba(255, 162, 196, 0.16);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 10px 12px;
  color: var(--shell-text-muted);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  font: inherit;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(48, 25, 38, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.explore-page .bottom-nav-btn.active,
body.unified-page .bottom-nav-btn.active {
  color: var(--shell-pink);
  border-color: rgba(255, 123, 175, 0.28);
  background: linear-gradient(180deg, rgba(255, 241, 246, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shell-shadow-active);
}

body.explore-page .bottom-nav-btn:hover,
body.unified-page .bottom-nav-btn:hover {
  box-shadow: 0 14px 28px rgba(255, 95, 150, 0.12);
}

body.explore-page .bottom-nav-icon,
body.unified-page .bottom-nav-icon {
  display: inline-grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  min-height: 24px;
}

body.explore-page .bottom-nav-label,
body.unified-page .bottom-nav-label {
  display: block;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.1;
  font-weight: 800;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;
  letter-spacing: -0.01em;
}

@media (max-width: 720px) {
  body.explore-page .header,
  body.unified-page .header {
    height: var(--shell-header-height-mobile);
    gap: 8px;
    padding: 0 var(--shell-header-inline-mobile);
    grid-template-columns: minmax(48px, 1fr) auto minmax(48px, 1fr);
  }

  body.explore-page .header-icon-btn,
  body.explore-page .header-avatar-btn,
  body.unified-page .header-icon-btn,
  body.unified-page .header-avatar-btn {
    width: var(--shell-icon-size-mobile);
    height: var(--shell-icon-size-mobile);
  }

  body.explore-page .brand-title,
  body.unified-page .brand-title {
    font-size: var(--shell-brand-size-mobile);
    gap: 6px;
  }

  body.explore-page .notifications-dropdown,
  body.explore-page .header-menu-dropdown,
  body.unified-page .notifications-dropdown,
  body.unified-page .header-menu-dropdown {
    width: min(92vw, 360px);
  }

  body.explore-page .notifications-head h3,
  body.unified-page .notifications-head h3 {
    font-size: 24px;
  }

  body.explore-page .notification-copy,
  body.unified-page .notification-copy {
    font-size: 15px;
  }

  body.explore-page .header-actions,
  body.unified-page .header-actions {
    gap: 6px;
  }

  body.explore-page .header-icon,
  body.explore-page .header-avatar-face,
  body.unified-page .header-icon,
  body.unified-page .header-avatar-face {
    font-size: 1.15rem;
  }

  body.explore-page .header-badge,
  body.unified-page .header-badge {
    min-width: var(--shell-badge-size-mobile);
    height: var(--shell-badge-size-mobile);
    font-size: 0.62rem;
    top: -1px;
    right: -1px;
  }

  body.explore-page .bottom-nav,
  body.unified-page .bottom-nav {
    gap: 8px;
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  body.explore-page .bottom-nav-btn,
  body.unified-page .bottom-nav-btn {
    min-height: 64px;
    border-radius: 20px;
    padding: 8px 8px;
  }

  body.explore-page .bottom-nav-icon,
  body.unified-page .bottom-nav-icon {
    font-size: 1.4rem;
    min-height: 22px;
  }

  body.explore-page .bottom-nav-label,
  body.unified-page .bottom-nav-label {
    font-size: 0.82rem;
  }
}

/* =========================
   FINAL UNIFIED OVERRIDES
========================= */
body.explore-page .header-notifications-wrap .notifications-dropdown,
body.unified-page .header-notifications-wrap .notifications-dropdown {
  right: 0;
  width: min(420px, calc(100vw - 32px));
}

body.explore-page .header-notifications-wrap .notifications-panel,
body.unified-page .header-notifications-wrap .notifications-panel {
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(255, 84, 145, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,251,0.96));
}

body.explore-page .header-notifications-wrap .notifications-head,
body.unified-page .header-notifications-wrap .notifications-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
}

body.explore-page .header-notifications-wrap .notifications-kicker,
body.unified-page .header-notifications-wrap .notifications-kicker {
  display: inline-block;
  margin-bottom: 4px;
  color: #ff4a8d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.explore-page .header-notifications-wrap .notifications-head h3,
body.unified-page .header-notifications-wrap .notifications-head h3 {
  margin: 0;
  color: #1f1620;
  font-size: 28px;
  line-height: 1;
}

body.explore-page .header-notifications-wrap .notifications-link,
body.unified-page .header-notifications-wrap .notifications-link {
  border: none !important;
  background: transparent !important;
  color: #2f7bff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

body.explore-page .header-notifications-wrap .notifications-list,
body.unified-page .header-notifications-wrap .notifications-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-height: min(62vh, 520px) !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
}

body.explore-page .header-actions .header-avatar-btn,
body.unified-page .header-actions .header-avatar-btn {
  width: 58px !important;
  height: 58px !important;
  border: none !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ff5f96, #ff2f7d) !important;
  box-shadow: 0 18px 34px rgba(255, 86, 149, 0.2) !important;
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
  padding: 3px !important;
}

body.explore-page .header-actions .header-avatar-face,
body.unified-page .header-actions .header-avatar-face {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  background-color: #121018 !important;
  color: #fff !important;
  font-size: 1.6rem !important;
  line-height: 1 !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (max-width: 720px) {
  body.explore-page .header-notifications-wrap .notifications-dropdown,
  body.unified-page .header-notifications-wrap .notifications-dropdown {
    width: min(92vw, 360px) !important;
  }

  body.explore-page .header-notifications-wrap .notifications-head h3,
  body.unified-page .header-notifications-wrap .notifications-head h3 {
    font-size: 24px !important;
  }

  body.explore-page .header-actions .header-avatar-btn,
  body.unified-page .header-actions .header-avatar-btn {
    width: 48px !important;
    height: 48px !important;
  }

  body.explore-page .header-actions .header-avatar-face,
  body.unified-page .header-actions .header-avatar-face {
    font-size: 1.3rem !important;
  }
}

@keyframes eliteDropdownIn {
  from {
    opacity: 0;
    transform: translate3d(0, -12px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 720px) {
  :root {
    --shell-header-height-mobile: 60px;
    --shell-header-inline-mobile: 14px;
    --shell-icon-size-mobile: 42px;
    --shell-brand-size-mobile: 1rem;
    --shell-footer-safe: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  body.explore-page,
  body.unified-page {
    overscroll-behavior-y: contain;
  }

  body.explore-page .header,
  body.unified-page .header {
    gap: 6px;
    border-bottom-color: rgba(255, 107, 159, 0.12);
    box-shadow: 0 8px 22px rgba(46, 27, 39, 0.08);
  }

  body.explore-page .brand-title,
  body.unified-page .brand-title {
    letter-spacing: -0.045em;
  }

  body.explore-page .header-menu-wrap,
  body.unified-page .header-menu-wrap {
    justify-self: start;
  }

  body.explore-page .header-actions,
  body.unified-page .header-actions {
    gap: 8px;
  }

  body.explore-page .header-icon-btn,
  body.explore-page .header-avatar-btn,
  body.unified-page .header-icon-btn,
  body.unified-page .header-avatar-btn {
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
    will-change: transform;
  }

  body.explore-page .header-icon-btn:active,
  body.explore-page .header-avatar-btn:active,
  body.unified-page .header-icon-btn:active,
  body.unified-page .header-avatar-btn:active,
  body.explore-page .bottom-nav-btn:active,
  body.unified-page .bottom-nav-btn:active {
    transform: scale(0.96);
  }

  body.explore-page .header-menu-dropdown,
  body.unified-page .header-menu-dropdown {
    position: fixed;
    top: 76px;
    left: 0;
    right: auto;
    width: min(86vw, 380px) !important;
    min-height: auto;
    max-height: min(60vh, 440px);
    padding: 10px 10px 12px;
    border-radius: 0 24px 24px 0;
    box-shadow: 0 24px 48px rgba(31, 18, 27, 0.18);
    animation: eliteDropdownIn 220ms ease;
    overflow-y: auto;
  }

  body.explore-page .header-dropdown-item,
  body.unified-page .header-dropdown-item {
    min-height: 50px;
    padding: 0 12px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 750;
  }

  body.explore-page .header-dropdown-icon,
  body.unified-page .header-dropdown-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  body.explore-page .notifications-dropdown,
  body.unified-page .notifications-dropdown,
  body.explore-page .header-notifications-wrap .notifications-dropdown,
  body.unified-page .header-notifications-wrap .notifications-dropdown {
    position: fixed;
    top: 88px;
    left: 50%;
    right: auto !important;
    transform: translateX(-50%);
    width: 92vw !important;
    max-width: 460px !important;
    border-radius: 24px;
    box-shadow: 0 24px 54px rgba(32, 18, 28, 0.16);
    z-index: 120;
    animation: eliteDropdownIn 220ms ease;
  }

  body.explore-page .header-notifications-wrap .notifications-panel,
  body.unified-page .header-notifications-wrap .notifications-panel {
    padding: 16px;
    border-radius: 24px;
  }

  body.explore-page .header-notifications-wrap .notifications-head,
  body.unified-page .header-notifications-wrap .notifications-head {
    padding-bottom: 12px;
  }

  body.explore-page .header-notifications-wrap .notifications-kicker,
  body.unified-page .header-notifications-wrap .notifications-kicker {
    margin-bottom: 6px;
  }

  body.explore-page .header-notifications-wrap .notifications-head h3,
  body.unified-page .header-notifications-wrap .notifications-head h3 {
    font-size: 22px !important;
  }

  body.explore-page .header-notifications-wrap .notifications-list,
  body.unified-page .header-notifications-wrap .notifications-list {
    max-height: 70vh !important;
    padding-right: 2px !important;
  }

  body.explore-page .notification-item,
  body.unified-page .notification-item {
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
  }

  body.explore-page .notification-copy,
  body.unified-page .notification-copy {
    justify-content: center;
    line-height: 1.35;
  }

  body.explore-page .notification-time,
  body.unified-page .notification-time {
    color: #8f8693;
  }

  body.explore-page .bottom-nav,
  body.unified-page .bottom-nav {
    min-height: 62px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(46, 21, 35, 0.08);
  }

  body.explore-page .bottom-nav-btn,
  body.unified-page .bottom-nav-btn {
    min-height: 48px;
    gap: 2px;
    border-radius: 16px;
    padding: 6px 6px;
  }

  body.explore-page .bottom-nav-btn.active,
  body.unified-page .bottom-nav-btn.active {
    box-shadow: inset 0 0 0 1px rgba(255, 162, 196, 0.32);
  }

  body.explore-page .bottom-nav-icon,
  body.unified-page .bottom-nav-icon {
    font-size: 1.18rem;
    min-height: 18px;
  }

  body.explore-page .bottom-nav-label,
  body.unified-page .bottom-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
  }
}
