#headerNotifyDropdown,
#headerNotifySheetBackdrop,
#toastContainer,
.toast-container,
#depositCreditedPopup,
.deposit-credited-popup-overlay {
  display: none !important;
}
#notificationToast.nt-arrivals {
  pointer-events: none;
}
#notificationToast.nt-arrivals .nt-arrival,
#notificationToast.nt-arrivals .nt-arrival-overflow {
  pointer-events: auto;
}
.fw-profile-modal.profile-modal[data-profile-view="notifications"],
.fw-profile-modal.profile-modal[data-profile-view="notification"] {
  width: min(560px, 100%);
  max-width: 560px;
  background: #fff;
}
.fw-profile-root .profile-modal[data-profile-view^="notification"] .pf-heading {
  padding: 24px 62px 17px 24px;
}
.fw-profile-root .profile-modal[data-profile-view^="notification"] .pf-content {
  padding: 0 24px 24px;
}
.fw-profile-root .nt-menu-count {
  margin-left: auto;
}
.nt-positive-amount {
  color: #147a49 !important;
  font-weight: 700;
}

/* Макет v116: вкладки — только текст, без иконок и без серых квадратов скина. */
html body.fw36 .fw-profile-root .nt-toolbar,
html body.fw36.forma-ui .fw-profile-root .nt-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 0 14px;
  border-bottom: 1px solid #ece8f0;
  background: transparent;
}
html body.fw36 .fw-profile-root .nt-filters,
html body.fw36.forma-ui .fw-profile-root .nt-filters {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
html body.fw36 .fw-profile-root .nt-toolbar button,
html body.fw36.forma-ui .fw-profile-root .nt-filters button,
html body.fw36.forma-ui .fw-profile-root .nt-read-all {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 7px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #81778c !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap;
  position: relative;
}
html body.fw36 .fw-profile-root .nt-filters button[aria-pressed="true"] {
  color: #332b40 !important;
  font-weight: 700 !important;
}
html body.fw36 .fw-profile-root .nt-read-all {
  min-height: 44px !important;
  padding: 6px 0 !important;
  color: #7951b9 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
html body.fw36 .fw-profile-root .nt-read-all:disabled {
  opacity: .45;
  cursor: default;
}
html body.fw36 .fw-profile-root .nt-toolbar button::before,
html body.fw36.forma-ui .fw-profile-root .nt-filters button::before,
html body.fw36.forma-ui .fw-profile-root .nt-read-all::before,
html body.fw36 .fw-profile-root .nt-toolbar button::after,
html body.fw36.forma-ui .fw-profile-root .nt-read-all::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.fw36 .fw-profile-root .nt-filters button[aria-pressed="true"]::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  width: auto !important;
  height: 2px !important;
  background: #7652c8 !important;
  border-radius: 4px;
}
html body.fw36 .fw-profile-root .nt-toolbar button > .pf-icon-mask,
html body.fw36 .fw-profile-root .nt-toolbar button > .svg-icon,
html body.fw36 .fw-profile-root .nt-toolbar button > svg,
html body.fw36 .fw-profile-root .nt-toolbar button > img,
html body.fw36 .fw-profile-root .nt-toolbar button > span:empty {
  display: none !important;
}

/* Строка ленты: только иконка + текст. Точка «непрочитано» вне сетки. */
html body.fw36 .fw-profile-root .nt-item {
  position: relative;
}
html body.fw36 .fw-profile-root .nt-item > button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 19px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
}
html body.fw36 .fw-profile-root .nt-item-copy {
  min-width: 0;
}
html body.fw36 .fw-profile-root .nt-item p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden !important;
  max-height: calc(1.7em * 2);
  margin: 6px 0 0;
}
html body.fw36 .fw-profile-root .nt-unread {
  position: absolute !important;
  left: 19px !important;
  top: 67px !important;
  width: 6px !important;
  height: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  background: #7955ca;
  pointer-events: none;
}

@media (max-width: 599px) {
  .fw-profile-root .profile-modal[data-profile-view^="notification"] .pf-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .fw-profile-root .profile-modal[data-profile-view^="notification"] .pf-heading {
    padding-left: 20px;
  }
  html body.fw36 .fw-profile-root .nt-toolbar {
    gap: 5px;
  }
  html body.fw36 .fw-profile-root .nt-filters {
    gap: 12px;
  }
  html body.fw36 .fw-profile-root .nt-filters button {
    font-size: 11px !important;
  }
  html body.fw36 .fw-profile-root .nt-read-all {
    font-size: 10px !important;
  }
}
