@charset "UTF-8";
/* HSR: Beyond the Stars / mdj уведомления v2.8.7-hsr.mdj1
 * Окно, фильтры, настройки, всплывающие карточки и счётчик.
 * HTML-низ: mdj-notifications.hsr.js, CSS перед JS.
 */
html.mdj-notifications-all-off .nav-item-notifications .bubble,
html.mdj-notifications-all-off #pun-ulinks a[href*="p=notifications"] .bubble,
html.mdj-notifications-all-off .mdj-notifications-menu-count {
  display: none !important;
}

#pun-ulinks a[href*="p=notifications"],
#pun-ulinks a.mdj-notifications-link {
  position: relative;
  overflow: visible;
}

#pun-ulinks a[href*="p=notifications"] > .bubble:not(.mdj-notifications-menu-count) {
  display: none !important;
}

#pun-ulinks a[href*="p=notifications"] > .mdj-notifications-menu-count,
#pun-ulinks a.mdj-notifications-link > .mdj-notifications-menu-count {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 14px;
  min-width: 14px;
  max-width: 14px;
  height: 14px;
  min-height: 14px;
  max-height: 14px;
  margin: -1px 0 0 4px;
  padding: 1px 0 0;
  color: var(--mdj-notify-menu-count-color, #fff);
  font: 700 8px/1 Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-indent: 0;
  background: var(--mdj-notify-menu-count-bg, #9e4448);
  border: 1px solid var(--mdj-notify-menu-count-border, rgba(255, 255, 255, .9));
  border-radius: 50% !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
  transform: none;
  vertical-align: middle;
  pointer-events: none;
}

#pun-ulinks a[href*="p=notifications"] .mdj-notifications-menu-count::before,
#pun-ulinks a[href*="p=notifications"] .mdj-notifications-menu-count::after {
  display: none !important;
  content: none !important;
}

html.mdj-notifications-popups-off #jGrowl .notify-message,
html.mdj-notifications-popups-off .jGrowl .notify-message {
  display: none !important;
}

body.mdj-notifications-open {
  overflow: hidden !important;
}

#mdj-notifications-modal[hidden] {
  display: none !important;
}

#mdj-notifications-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
  color: #272727;
  font: 14px/1.45 Arial, sans-serif;
}

#mdj-notifications-modal .mdj-notifications-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(2px);
}

#mdj-notifications-modal .mdj-notifications-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  width: calc(100% - 32px);
  max-width: 720px;
  height: auto;
  max-height: calc(100% - 32px);
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

#mdj-notifications-modal .mdj-notifications-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px 0 18px;
  color: #fff;
  background: #252525;
}

#mdj-notifications-modal .mdj-notifications-title {
  min-width: 0;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

#mdj-notifications-modal .mdj-notifications-count {
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  background: #b74747;
  border-radius: 10px;
}

#mdj-notifications-modal .mdj-notifications-full {
  margin-left: auto;
  color: #ddd;
  font-size: 12px;
  text-decoration: none;
}

#mdj-notifications-modal .mdj-notifications-full:hover {
  color: #fff;
  text-decoration: underline;
}

#mdj-notifications-modal .mdj-notifications-close {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  font: 26px/32px Arial, sans-serif;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

#mdj-notifications-modal .mdj-notifications-close:hover,
#mdj-notifications-modal .mdj-notifications-close:focus {
  background: rgba(255, 255, 255, .14);
  outline: none;
}

#mdj-notifications-modal .mdj-notifications-tabs {
  display: flex;
  min-height: 42px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

#mdj-notifications-modal .mdj-notifications-tab {
  position: relative;
  padding: 0 16px;
  color: #666;
  font: inherit;
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
}

#mdj-notifications-modal .mdj-notifications-tab.mdj-is-active {
  color: #222;
}

#mdj-notifications-modal .mdj-notifications-tab.mdj-is-active::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 3px;
  background: #9d3f3f;
  border-radius: 3px 3px 0 0;
}

#mdj-notifications-modal .mdj-notifications-content {
  position: relative;
  min-height: 0;
  max-height: calc(100vh - 140px);
  overflow: hidden;
  background: #fff;
}

#mdj-notifications-modal .mdj-notifications-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  background: #fff;
}

#mdj-notifications-modal .mdj-notifications-loader[hidden] {
  display: none !important;
}

#mdj-notifications-modal iframe {
  display: block;
  width: 100%;
  height: 180px;
  max-height: calc(100vh - 140px);
  background: #fff;
  border: 0;
}

#mdj-notifications-modal .mdj-notifications-email-frame {
  display: none !important;
}

body.mdj-notifications-embedded {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  color: #292929 !important;
  background: #fff !important;
  font: 14px/1.45 Arial, sans-serif !important;
}

body.mdj-notifications-embedded > div:not(#pun_wrap),
body.mdj-notifications-embedded > iframe,
body.mdj-notifications-embedded .caramel-fadeInBox {
  display: none !important;
}

body.mdj-notifications-embedded #pun_wrap,
body.mdj-notifications-embedded #pun {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

body.mdj-notifications-embedded #pun-title,
body.mdj-notifications-embedded #pun-navlinks,
body.mdj-notifications-embedded #pun-status,
body.mdj-notifications-embedded #pun-ulinks,
body.mdj-notifications-embedded #pun-crumbs1,
body.mdj-notifications-embedded #pun-crumbs2,
body.mdj-notifications-embedded #pun-footer,
body.mdj-notifications-embedded #pun-about,
body.mdj-notifications-embedded #pun-break1,
body.mdj-notifications-embedded #pun-break2,
body.mdj-notifications-embedded #profilenav,
body.mdj-notifications-embedded #pun-main h1,
body.mdj-notifications-embedded #MyBookmarks,
body.mdj-notifications-embedded #html-footer,
body.mdj-notifications-embedded .linkst,
body.mdj-notifications-embedded .crumbs,
body.mdj-notifications-embedded .modmenu {
  display: none !important;
}

body.mdj-notifications-embedded #pun-main,
body.mdj-notifications-embedded #profile {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: #fff !important;
}

body.mdj-notifications-embedded #profile > .container,
body.mdj-notifications-embedded #profile .container {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.mdj-notifications-embedded #profileContainer {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 16px 22px !important;
  background: #fff !important;
}

body.mdj-notifications-embedded #profileContainer fieldset {
  box-sizing: border-box !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
}

body.mdj-notifications-embedded #profileContainer fieldset legend {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 11px 14px !important;
  color: #222 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  background: #f4f4f4 !important;
  border-bottom: 1px solid #ddd !important;
  border-radius: 8px 8px 0 0 !important;
}

body.mdj-notifications-embedded #profileContainer .fs-box {
  box-sizing: border-box !important;
  padding: 12px 14px !important;
}

body.mdj-notifications-embedded #profileContainer .infofield {
  margin: 0 0 12px !important;
  padding: 9px 11px !important;
  color: #666 !important;
  background: #f7f7f7 !important;
  border-radius: 6px !important;
}

body.mdj-notifications-embedded #profileContainer .checkfield {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 10px 2px !important;
  border-bottom: 1px solid #eee !important;
}

body.mdj-notifications-embedded #profileContainer .checkfield:last-of-type {
  border-bottom: 0 !important;
}

body.mdj-notifications-embedded #profileContainer .checkfield .input {
  flex: 0 0 auto !important;
}

body.mdj-notifications-embedded #profileContainer .checkfield label {
  cursor: pointer !important;
}

body.mdj-notifications-embedded #profileContainer .formsubmit {
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

body.mdj-notifications-embedded #profileContainer input.button {
  padding: 7px 13px !important;
  cursor: pointer !important;
}

body.mdj-notifications-embedded #profileContainer a {
  color: #9d3f3f !important;
}

body.mdj-notifications-history .mdj-notify-settings,
body.mdj-notifications-history .mdj-notify-telegram {
  display: none !important;
}

body.mdj-notifications-settings .mdj-notify-history {
  display: none !important;
}

.mdj-custom-notification-settings {
  margin: 0 0 14px;
  border-bottom: 1px solid #ddd;
}

.mdj-custom-notification-settings h3 {
  margin: 0;
  padding: 0 2px 8px;
  color: #222;
  font-size: 14px;
}

.mdj-custom-setting-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 9px 2px;
  border-top: 1px solid #eee;
  cursor: pointer;
}

.mdj-custom-setting-input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.mdj-custom-setting-copy {
  display: block;
  min-width: 0;
}

.mdj-custom-setting-copy strong,
.mdj-custom-setting-copy small {
  display: block;
}

.mdj-custom-setting-copy small {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
  line-height: 1.35;
}

.mdj-custom-notification-settings.mdj-is-disabled .mdj-custom-setting-row:not(:first-of-type) {
  opacity: .55;
}

#profileContainer .mdj-notify-history .fs-box > .mdj-notify-card {
  position: relative !important;
  margin: 0 !important;
  padding: 12px 8px 12px 12px !important;
  border-bottom: 1px solid #ececec !important;
}

#profileContainer .mdj-subscription-notification {
  cursor: pointer !important;
}

#profileContainer .mdj-subscription-notification:hover {
  background: #f6f6f6 !important;
}

.mdj-subscription-notification-icon {
  background: #197c78 !important;
}

.mdj-subscription-notification.mdj-is-read .mdj-subscription-notification-icon {
  background: #b8b8b8;
}

#jGrowl .mdj-subscription-toast .mdj-subscription-popup-content,
.jGrowl .mdj-subscription-toast .mdj-subscription-popup-content {
  display: block;
  color: inherit;
  text-decoration: none;
}

#jGrowl .mdj-subscription-toast .mdj-subscription-popup-content span,
.jGrowl .mdj-subscription-toast .mdj-subscription-popup-content strong {
  display: block;
}

@media (max-width: 640px), (max-device-width: 640px) {
  #mdj-notifications-modal {
    padding: 0;
  }

  #mdj-notifications-modal .mdj-notifications-dialog {
    width: 100%;
    height: auto;
    max-height: 100%;
    border: 0;
    border-radius: 0;
  }

  #mdj-notifications-modal .mdj-notifications-full {
    display: none;
  }

  #mdj-notifications-modal .mdj-notifications-tabs {
    padding: 0 6px;
  }

  #mdj-notifications-modal .mdj-notifications-tab {
    flex: 1 1 50%;
    padding: 0 6px;
  }

  body.mdj-notifications-embedded #profileContainer {
    padding: 10px 8px 18px !important;
  }

  body.mdj-notifications-embedded #profileContainer fieldset {
    border-radius: 6px !important;
  }

  body.mdj-notifications-embedded #profileContainer .fs-box {
    padding: 10px !important;
  }
}

#mdj-notifications-modal .mdj-worker-mark-all {
  margin-left: auto;
  padding: 5px 9px;
  color: inherit;
  font: inherit;
  font-weight: 700;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 7px;
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-content {
  overflow: auto;
  padding: 14px;
  background: var(--mdj-notify-surface, #f5f2ed);
}

#mdj-notifications-modal .mdj-worker-panel[hidden] {
  display: none !important;
}

#mdj-notifications-modal .mdj-worker-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 2px 3px 2px 0;
}

#mdj-notifications-modal .mdj-worker-filter {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 34px;
  padding: 0;
  color: var(--mdj-notify-text, #292929);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  background: var(--mdj-notify-card, #fff);
  border: 1px solid var(--mdj-notify-line, #d7d0c7);
  border-radius: 8px;
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-filter-icon {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  padding-top: 2px;
  font-size: 15px;
  line-height: 1;
}

#mdj-notifications-modal .mdj-worker-filter-label {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

#mdj-notifications-modal .mdj-worker-filter-count {
  position: absolute;
  right: 3px;
  bottom: 2px;
  z-index: 1;
  display: none;
  min-width: 0;
  height: auto;
  padding: 0;
  color: #8b8580;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
}

#mdj-notifications-modal .mdj-worker-filter.mdj-has-count .mdj-worker-filter-count {
  display: block;
}

#mdj-notifications-modal .mdj-worker-filter.mdj-is-active {
  color: var(--mdj-notify-accent-contrast, #fff);
  background: var(--mdj-notify-accent, #8d3f46);
  border-color: var(--mdj-notify-accent, #8d3f46);
}

#mdj-notifications-modal .mdj-worker-filter.mdj-is-active .mdj-worker-filter-count {
  color: rgba(255, 255, 255, .72);
  background: transparent;
}

#mdj-notifications-modal .mdj-worker-filter.mdj-has-unread .mdj-worker-filter-count {
  color: var(--mdj-notify-accent, #8d3f46);
  font-size: 10px;
  font-weight: 900;
  transform: scale(1.08);
  transform-origin: right bottom;
}

#mdj-notifications-modal .mdj-worker-filter.mdj-is-active.mdj-has-unread .mdj-worker-filter-count {
  color: var(--mdj-notify-accent-contrast, #fff);
}

#mdj-notifications-modal .mdj-worker-history {
  display: grid;
  gap: 8px;
}

#mdj-notifications-modal .mdj-worker-connection-error {
  display: grid;
  justify-items: start;
  gap: 8px;
}

#mdj-notifications-modal .mdj-worker-retry {
  padding: 6px 11px;
  color: var(--mdj-notify-accent-contrast, #fff);
  font: inherit;
  font-weight: 700;
  background: var(--mdj-notify-accent, #8d3f46);
  border: 1px solid var(--mdj-notify-accent, #8d3f46);
  border-radius: 4px;
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: start;
  padding: 11px 10px;
  color: var(--mdj-notify-text, #292929);
  background: var(--mdj-notify-card, #fff);
  border: 1px solid var(--mdj-notify-line, #d7d0c7);
  border-left: 4px solid var(--mdj-notify-accent, #8d3f46);
  border-radius: 9px;
}

#mdj-notifications-modal .mdj-worker-item.mdj-is-read {
  opacity: .58;
  filter: saturate(.55);
  border-left-color: #aaa;
}

#mdj-notifications-modal .mdj-worker-item.mdj-is-unread {
  box-shadow: 0 5px 16px rgba(0, 0, 0, .09);
}

#mdj-notifications-modal .mdj-worker-icon,
#mdj-worker-toast-stream .mdj-worker-toast-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--mdj-notify-accent-contrast, #fff);
  font-size: 17px;
  font-weight: 800;
  background: var(--mdj-notify-accent, #8d3f46);
  border-radius: 50%;
}

#mdj-notifications-modal .mdj-worker-item[data-type="important"] .mdj-worker-icon { background: #a96b1f; }
#mdj-notifications-modal .mdj-worker-item[data-type="subscription"] .mdj-worker-icon { background: #477c6b; }
#mdj-notifications-modal .mdj-worker-item[data-type="mention"] .mdj-worker-icon { background: #76518d; }
#mdj-notifications-modal .mdj-worker-item[data-type="quote"] .mdj-worker-icon { background: #6d5d92; }
#mdj-notifications-modal .mdj-worker-item[data-type="reply"] .mdj-worker-icon { background: #4a7086; }
#mdj-notifications-modal .mdj-worker-item[data-type="comment"] .mdj-worker-icon { background: #9a5264; }
#mdj-notifications-modal .mdj-worker-item[data-type="like"] .mdj-worker-icon { background: #a24b58; }
#mdj-notifications-modal .mdj-worker-item[data-type="private_message"] .mdj-worker-icon { background: #58639a; }

#mdj-notifications-modal .mdj-worker-item-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

#mdj-notifications-modal .mdj-worker-item-head time {
  flex: 0 0 auto;
  color: #777;
  font-size: 11px;
}

#mdj-notifications-modal .mdj-worker-item-copy {
  margin: 3px 0 5px;
}

#mdj-notifications-modal .mdj-worker-item-link {
  color: var(--mdj-notify-link, #744047);
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.2;
}

#mdj-notifications-modal .mdj-worker-read {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  padding: 2px 0 0;
  color: var(--mdj-notify-accent, #8d3f46);
  line-height: 1;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-read[hidden] {
  visibility: hidden;
}

#mdj-notifications-modal .mdj-worker-panel[data-panel="settings"] h3 {
  margin: 4px 0 8px;
  font-size: 14px;
}

#mdj-notifications-modal .mdj-worker-settings-general {
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--mdj-notify-line, #ddd);
  border-radius: 9px;
}

#mdj-notifications-modal .mdj-worker-setting-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 10px;
  background: var(--mdj-notify-card, #fff);
  border-bottom: 1px solid var(--mdj-notify-line, #ddd);
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-settings-general .mdj-worker-setting-row:last-child {
  border-bottom: 0;
}

#mdj-notifications-modal .mdj-worker-setting-row small,
#mdj-notifications-modal .mdj-worker-setting-row strong {
  display: block;
}

#mdj-notifications-modal .mdj-worker-setting-row small {
  margin-top: 2px;
  color: #777;
}

#mdj-notifications-modal .mdj-worker-settings-help {
  margin: 10px 0 8px;
  color: #666;
  font-size: 12px;
}

#mdj-notifications-modal .mdj-worker-settings-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--mdj-notify-line, #d7d0c7);
  border-radius: 9px;
}

#mdj-notifications-modal .mdj-worker-settings-matrix {
  min-width: 540px;
  background: var(--mdj-notify-card, #fff);
}

#mdj-notifications-modal .mdj-worker-settings-matrix-head,
#mdj-notifications-modal .mdj-worker-settings-matrix-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) repeat(3, 82px);
  align-items: stretch;
}

#mdj-notifications-modal .mdj-worker-settings-matrix-head {
  color: var(--mdj-notify-accent-contrast, #fff);
  font-size: 11px;
  font-weight: 700;
  background: var(--mdj-notify-accent, #8d3f46);
}

#mdj-notifications-modal .mdj-worker-settings-matrix-row {
  border-bottom: 1px solid var(--mdj-notify-line, #ddd);
}

#mdj-notifications-modal .mdj-worker-settings-matrix-row:last-child {
  border-bottom: 0;
}

#mdj-notifications-modal .mdj-worker-settings-event,
#mdj-notifications-modal .mdj-worker-settings-channel,
#mdj-notifications-modal .mdj-worker-settings-cell {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 8px 10px;
}

#mdj-notifications-modal .mdj-worker-settings-channel,
#mdj-notifications-modal .mdj-worker-settings-cell {
  justify-content: center;
  text-align: center;
  border-left: 1px solid rgba(127, 127, 127, .18);
}

#mdj-notifications-modal .mdj-worker-settings-channel {
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-settings-event strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#mdj-notifications-modal .mdj-worker-settings-event-icon {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--mdj-notify-accent-contrast, #fff);
  font-size: 12px;
  font-weight: 800;
  background: var(--mdj-notify-accent, #8d3f46);
  border-radius: 50%;
}

#mdj-notifications-modal .mdj-worker-settings-cell {
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-history-danger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  color: var(--mdj-notify-text, #292929);
  background: var(--mdj-notify-card, #fff);
  border: 1px solid var(--mdj-notify-line, #d7d0c7);
  border-radius: 9px;
}

#mdj-notifications-modal .mdj-worker-history-danger strong,
#mdj-notifications-modal .mdj-worker-history-danger p {
  display: block;
  margin: 0;
}

#mdj-notifications-modal .mdj-worker-history-danger p {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

#mdj-notifications-modal .mdj-worker-clear-history {
  grid-column: 2;
  grid-row: 1;
  padding: 7px 11px;
  color: var(--mdj-notify-accent, #8d3f46);
  font: inherit;
  font-weight: 700;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 7px;
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-clear-history:hover,
#mdj-notifications-modal .mdj-worker-clear-history:focus-visible {
  color: var(--mdj-notify-accent-contrast, #fff);
  background: var(--mdj-notify-accent, #8d3f46);
}

#mdj-notifications-modal .mdj-worker-clear-history:disabled {
  opacity: .55;
  cursor: wait;
}

#mdj-notifications-modal .mdj-worker-clear-history-status {
  grid-column: 1 / -1;
  color: var(--mdj-notify-accent, #8d3f46);
  font-size: 12px;
}

#mdj-notifications-modal .mdj-worker-clear-history-status:empty {
  display: none;
}

#mdj-notifications-modal .mdj-worker-settings-cell input,
#mdj-notifications-modal .mdj-worker-settings-channel input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--mdj-notify-accent, #8d3f46);
  cursor: pointer;
}

#mdj-notifications-modal .mdj-worker-settings-cell input:disabled {
  cursor: not-allowed;
  opacity: .35;
}

#mdj-worker-toast-stream {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483000;
  display: grid;
  width: min(360px, calc(100vw - 36px));
  gap: 9px;
}

#mdj-worker-toast-stream .mdj-worker-toast {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 38px 12px 12px;
  color: var(--mdj-notify-toast-text, #fff);
  background: var(--mdj-notify-toast, #242424);
  border: 1px solid var(--mdj-notify-accent, #a44e56);
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .32);
}

#mdj-worker-toast-stream .mdj-worker-toast-body strong,
#mdj-worker-toast-stream .mdj-worker-toast-body span,
#mdj-worker-toast-stream .mdj-worker-toast-body a {
  display: block;
}

#mdj-worker-toast-stream .mdj-worker-toast-body a {
  margin-top: 5px;
  color: inherit;
  font-weight: 700;
}

#mdj-worker-toast-stream .mdj-worker-toast-close {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  padding: 1px 0 0;
  color: inherit;
  line-height: 1;
  background: rgba(255, 255, 255, .12);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 640px), (max-device-width: 640px) {
  #mdj-notifications-modal .mdj-worker-content { padding: 9px; }
  #mdj-notifications-modal .mdj-worker-filters { gap: 7px; }
  #mdj-notifications-modal .mdj-worker-filter { flex: 0 0 34px; width: 34px; height: 32px; }
  #mdj-notifications-modal .mdj-worker-item { grid-template-columns: 34px minmax(0, 1fr) 28px; }
  #mdj-notifications-modal .mdj-worker-item-head { display: block; }
  #mdj-notifications-modal .mdj-worker-item-head time { display: block; margin-top: 2px; }
  #mdj-notifications-modal .mdj-worker-history-danger { grid-template-columns: 1fr; }
  #mdj-notifications-modal .mdj-worker-clear-history { grid-column: 1; grid-row: auto; justify-self: start; }
  #mdj-worker-toast-stream { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
}

#mdj-notifications-modal {
  --hsr-night: #021121;
  --hsr-ink: #07081c;
  --hsr-navy: #1c2035;
  --hsr-blue: #272e46;
  --hsr-blue-light: #323b65;
  --hsr-gold: #ffcf70;
  --hsr-gold-dark: #e0b86a;
  --hsr-paper: #d3cabb;
  --hsr-paper-light: #e2ddd4;
  --mdj-notify-surface: var(--hsr-paper);
  --mdj-notify-card: rgba(245, 242, 235, .72);
  --mdj-notify-line: rgba(109, 84, 39, .25);
  --mdj-notify-text: var(--hsr-ink);
  --mdj-notify-link: #252d58;
  --mdj-notify-accent: var(--hsr-blue);
  --mdj-notify-accent-contrast: var(--hsr-gold);
  color: var(--hsr-ink);
  font-family: "DIN Pro", Arial, Helvetica, sans-serif;
}

#mdj-notifications-modal .mdj-notifications-backdrop {
  background:
    radial-gradient(circle at 14% 20%, rgba(200, 200, 255, .15) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 30%, rgba(255, 207, 112, .18) 0 1px, transparent 2px),
    radial-gradient(circle at 66% 78%, rgba(200, 200, 255, .12) 0 1px, transparent 2px),
    rgba(2, 17, 33, .82);
  background-size: 190px 190px, 260px 260px, 230px 230px, auto;
  backdrop-filter: blur(4px);
}

#mdj-notifications-modal .mdj-notifications-dialog {
  display: grid;
  grid-template-rows: 52px 44px minmax(0, 1fr);
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  height: min(680px, calc(100vh - 32px));
  max-height: calc(100vh - 32px);
  background: var(--hsr-paper);
  border: 1px solid var(--hsr-gold);
  border-radius: 20px 0;
  box-shadow:
    0 28px 80px rgba(2, 17, 33, .62),
    inset 0 0 0 1px rgba(255, 207, 112, .14);
}

#mdj-notifications-modal .mdj-notifications-dialog::before,
#mdj-notifications-modal .mdj-notifications-dialog::after {
  position: absolute;
  z-index: 4;
  width: 34px;
  height: 34px;
  pointer-events: none;
  content: "";
}

#mdj-notifications-modal .mdj-notifications-dialog::before {
  top: 7px;
  left: 7px;
  border-top: 1px solid var(--hsr-gold);
  border-left: 1px solid var(--hsr-gold);
  border-radius: 12px 0 0;
}

#mdj-notifications-modal .mdj-notifications-dialog::after {
  right: 7px;
  bottom: 7px;
  border-right: 1px solid var(--hsr-gold);
  border-bottom: 1px solid var(--hsr-gold);
}

#mdj-notifications-modal .mdj-notifications-header {
  min-height: 52px;
  padding: 0 14px 0 22px;
  color: var(--hsr-gold);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, .025), transparent 38%),
    linear-gradient(135deg, var(--hsr-navy), var(--hsr-blue-light));
  border-bottom: 1px solid rgba(255, 207, 112, .72);
}

#mdj-notifications-modal .mdj-notifications-title {
  overflow: hidden;
  color: var(--hsr-gold);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .075em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

#mdj-notifications-modal .mdj-notifications-title::before {
  margin-right: 9px;
  color: #fff;
  content: "\2726";
}

#mdj-notifications-modal .mdj-notifications-count {
  box-sizing: border-box;
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  color: #fff;
  font: 700 9px/18px Arial, sans-serif;
  text-align: center;
  background: #a33333;
  border: 1px solid var(--hsr-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 207, 112, .35);
}

#pun-ulinks a[href*="p=notifications"],
#pun-ulinks a.mdj-notifications-link {
  display: inline-block;
  box-sizing: border-box;
  overflow: visible;
}

#pun-ulinks a[href*="p=notifications"] > .mdj-notifications-menu-count,
#pun-ulinks a.mdj-notifications-link > .mdj-notifications-menu-count {
  color: #fff;
  background: #a33333;
  border-color: #ffcf70;
  box-shadow: 0 0 9px rgba(255, 207, 112, .32);
  transform: none;
}

#mdj-notifications-modal .mdj-worker-mark-all {
  margin-left: auto;
  padding: 5px 9px;
  color: #c9c3aa;
  font-size: 11px;
  letter-spacing: .04em;
  background: rgba(255, 207, 112, .06);
  border-color: rgba(255, 207, 112, .46);
  border-radius: 3px 8px;
}

#mdj-notifications-modal .mdj-worker-mark-all:hover,
#mdj-notifications-modal .mdj-worker-mark-all:focus-visible {
  color: var(--hsr-gold);
  background: rgba(255, 207, 112, .13);
  border-color: var(--hsr-gold);
  outline: none;
}

#mdj-notifications-modal .mdj-notifications-close {
  color: var(--hsr-gold);
}

#mdj-notifications-modal .mdj-notifications-close:hover,
#mdj-notifications-modal .mdj-notifications-close:focus-visible {
  color: #fff;
  background: rgba(255, 207, 112, .12);
}

#mdj-notifications-modal .mdj-notifications-tabs {
  min-height: 44px;
  padding: 0 22px;
  background: var(--hsr-navy);
  border-bottom: 1px solid rgba(255, 207, 112, .42);
}

#mdj-notifications-modal .mdj-notifications-tab {
  color: #c0ba9d;
  font-family: "DIN Pro", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#mdj-notifications-modal .mdj-notifications-tab:hover,
#mdj-notifications-modal .mdj-notifications-tab:focus-visible,
#mdj-notifications-modal .mdj-notifications-tab.mdj-is-active {
  color: var(--hsr-gold);
  outline: none;
}

#mdj-notifications-modal .mdj-notifications-tab.mdj-is-active::after {
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--hsr-gold);
  box-shadow: 0 0 8px rgba(255, 207, 112, .55);
}

#mdj-notifications-modal .mdj-notifications-content.mdj-worker-content {
  box-sizing: border-box;
  min-height: 0;
  height: 100%;
  max-height: none;
  padding: 18px 20px 22px;
  overflow: auto;
  color: var(--hsr-ink);
  background:
    linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, .06)),
    var(--hsr-paper);
  scrollbar-color: var(--hsr-blue-light) rgba(255, 255, 255, .18);
  scrollbar-width: thin;
}

#mdj-notifications-modal .mdj-worker-content::-webkit-scrollbar { width: 8px; }
#mdj-notifications-modal .mdj-worker-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, .18); }
#mdj-notifications-modal .mdj-worker-content::-webkit-scrollbar-thumb { background: var(--hsr-blue-light); }

#mdj-notifications-modal .mdj-worker-filters {
  gap: 7px;
  margin-bottom: 14px;
  padding: 8px 10px;
  background: rgba(245, 242, 235, .45);
  border: 1px solid rgba(109, 84, 39, .22);
  border-radius: 10px 0;
}

#mdj-notifications-modal .mdj-worker-filter {
  width: 38px;
  height: 36px;
  color: var(--hsr-blue);
  background: rgba(255, 255, 255, .58);
  border-color: rgba(109, 84, 39, .28);
  border-radius: 8px 2px;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

#mdj-notifications-modal .mdj-worker-filter:hover,
#mdj-notifications-modal .mdj-worker-filter:focus-visible {
  color: var(--hsr-ink);
  background: rgba(255, 207, 112, .22);
  border-color: var(--hsr-gold-dark);
  outline: none;
  transform: translateY(-1px);
}

#mdj-notifications-modal .mdj-worker-filter.mdj-is-active {
  color: var(--hsr-gold);
  background: linear-gradient(135deg, var(--hsr-blue), var(--hsr-blue-light));
  border-color: var(--hsr-gold);
  box-shadow: 0 4px 12px rgba(28, 32, 53, .22);
}

#mdj-notifications-modal .mdj-worker-filter-count {
  right: 3px;
  bottom: 2px;
  color: #5f5953;
}

#mdj-notifications-modal .mdj-worker-filter.mdj-has-unread .mdj-worker-filter-count {
  color: #9f242d;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .65);
}

#mdj-notifications-modal .mdj-worker-filter.mdj-is-active .mdj-worker-filter-count,
#mdj-notifications-modal .mdj-worker-filter.mdj-is-active.mdj-has-unread .mdj-worker-filter-count {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 207, 112, .55);
}

#mdj-notifications-modal .mdj-worker-item,
#mdj-worker-toast-stream .mdj-worker-toast,
#mdj-notifications-modal .mdj-worker-settings-matrix-row {
  --event-color: #8fa7c2;
  --event-icon: "\f0f3";
}

#mdj-notifications-modal .mdj-worker-item[data-type="important"],
#mdj-worker-toast-stream .mdj-worker-toast[data-type="important"],
#mdj-notifications-modal .mdj-worker-settings-matrix-row[data-type="important"] {
  --event-color: #ffcf70; --event-icon: "\f06a";
}
#mdj-notifications-modal .mdj-worker-item[data-type="subscription"],
#mdj-worker-toast-stream .mdj-worker-toast[data-type="subscription"],
#mdj-notifications-modal .mdj-worker-settings-matrix-row[data-type="subscription"] {
  --event-color: #72bfb2; --event-icon: "\f02e";
}
#mdj-notifications-modal .mdj-worker-item[data-type="mention"],
#mdj-worker-toast-stream .mdj-worker-toast[data-type="mention"],
#mdj-notifications-modal .mdj-worker-settings-matrix-row[data-type="mention"] {
  --event-color: #67c7e8; --event-icon: "\f1fa";
}
#mdj-notifications-modal .mdj-worker-item[data-type="quote"],
#mdj-worker-toast-stream .mdj-worker-toast[data-type="quote"],
#mdj-notifications-modal .mdj-worker-settings-matrix-row[data-type="quote"] {
  --event-color: #a99aec; --event-icon: "\f10d";
}
#mdj-notifications-modal .mdj-worker-item[data-type="reply"],
#mdj-worker-toast-stream .mdj-worker-toast[data-type="reply"],
#mdj-notifications-modal .mdj-worker-settings-matrix-row[data-type="reply"] {
  --event-color: #77acc2; --event-icon: "\f112";
}
#mdj-notifications-modal .mdj-worker-item[data-type="comment"],
#mdj-worker-toast-stream .mdj-worker-toast[data-type="comment"],
#mdj-notifications-modal .mdj-worker-settings-matrix-row[data-type="comment"] {
  --event-color: #b49be7; --event-icon: "\f075";
}
#mdj-notifications-modal .mdj-worker-item[data-type="like"],
#mdj-worker-toast-stream .mdj-worker-toast[data-type="like"],
#mdj-notifications-modal .mdj-worker-settings-matrix-row[data-type="like"] {
  --event-color: #e58aaf; --event-icon: "\f004";
}
#mdj-notifications-modal .mdj-worker-item[data-type="private_message"],
#mdj-worker-toast-stream .mdj-worker-toast[data-type="private_message"],
#mdj-notifications-modal .mdj-worker-settings-matrix-row[data-type="private_message"] {
  --event-color: #aa9cf1; --event-icon: "\f0e0";
}
#mdj-notifications-modal .mdj-worker-history { gap: 9px; }

#mdj-notifications-modal .mdj-worker-item {
  grid-template-columns: 40px minmax(0, 1fr) 30px;
  padding: 12px 11px;
  background: rgba(245, 242, 235, .66);
  border-color: rgba(109, 84, 39, .22);
  border-left-color: rgba(109, 84, 39, .38);
  border-radius: 10px 0;
}

#mdj-notifications-modal .mdj-worker-item:hover {
  background: rgba(252, 249, 242, .84);
}

#mdj-notifications-modal .mdj-worker-item.mdj-is-unread {
  border-color: rgba(127, 96, 39, .42);
  border-left-color: var(--hsr-gold-dark);
  box-shadow: 0 5px 16px rgba(28, 32, 53, .11);
}

#mdj-notifications-modal .mdj-worker-item.mdj-is-read {
  opacity: .5;
  filter: saturate(.48);
  border-left-color: #909090;
}

#mdj-notifications-modal .mdj-worker-item.mdj-is-read:hover {
  opacity: .72;
}

#mdj-notifications-modal .mdj-worker-icon,
#mdj-worker-toast-stream .mdj-worker-toast-icon,
#mdj-notifications-modal .mdj-worker-settings-event-icon {
  align-self: center;
  box-sizing: border-box;
  color: var(--event-color);
  font-size: 0;
  background: rgba(28, 32, 53, .96);
  border: 1px solid var(--event-color);
  border-radius: 50% 0 50% 50%;
  box-shadow: 0 0 10px color-mix(in srgb, var(--event-color) 30%, transparent);
}

#mdj-notifications-modal .mdj-worker-icon::before,
#mdj-worker-toast-stream .mdj-worker-toast-icon::before,
#mdj-notifications-modal .mdj-worker-settings-event-icon::before {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding-top: 2px;
  color: var(--event-color);
  font: 900 14px/1 "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Pro", FontAwesome, sans-serif;
  text-align: center;
  transform: translateY(5px);
  content: var(--event-icon);
}

#mdj-notifications-modal .mdj-worker-item-head strong { color: #151d3c; }
#mdj-notifications-modal .mdj-worker-item-head time { color: #6c6b72; }
#mdj-notifications-modal .mdj-worker-item-copy { color: #303343; }
#mdj-notifications-modal .mdj-worker-item-link { color: #252d58; }

#mdj-notifications-modal .mdj-worker-read {
  color: var(--hsr-blue);
  background: rgba(255, 255, 255, .24);
  border-color: var(--hsr-gold-dark);
  border-radius: 50% 0 50% 50%;
}

#mdj-notifications-modal .mdj-worker-read:hover,
#mdj-notifications-modal .mdj-worker-read:focus-visible {
  color: var(--hsr-gold);
  background: var(--hsr-blue);
  border-color: var(--hsr-gold);
  outline: none;
}

#mdj-notifications-modal .mdj-worker-empty,
#mdj-notifications-modal .mdj-worker-connection-error {
  color: #4d5267;
}

#mdj-notifications-modal .mdj-worker-retry {
  color: var(--hsr-gold);
  background: var(--hsr-blue);
  border-color: var(--hsr-gold);
  border-radius: 3px 9px;
}

#mdj-notifications-modal .mdj-worker-panel[data-panel="settings"] h3 {
  color: var(--hsr-blue);
  letter-spacing: .04em;
  text-transform: uppercase;
}

#mdj-notifications-modal .mdj-worker-settings-general,
#mdj-notifications-modal .mdj-worker-settings-matrix-wrap,
#mdj-notifications-modal .mdj-worker-history-danger {
  border-color: rgba(109, 84, 39, .25);
  border-radius: 10px 0;
}

#mdj-notifications-modal .mdj-worker-setting-row,
#mdj-notifications-modal .mdj-worker-settings-matrix,
#mdj-notifications-modal .mdj-worker-history-danger {
  background: rgba(245, 242, 235, .62);
}

#mdj-notifications-modal .mdj-worker-setting-row:hover,
#mdj-notifications-modal .mdj-worker-settings-matrix-row:hover {
  background: rgba(255, 207, 112, .10);
}

#mdj-notifications-modal .mdj-worker-setting-row small,
#mdj-notifications-modal .mdj-worker-settings-help,
#mdj-notifications-modal .mdj-worker-history-danger p {
  color: #656875;
}

#mdj-notifications-modal .mdj-worker-settings-matrix-head {
  color: var(--hsr-gold);
  background: linear-gradient(135deg, var(--hsr-navy), var(--hsr-blue-light));
}

#mdj-notifications-modal .mdj-worker-settings-event-icon {
  box-sizing: border-box;
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
}

#mdj-notifications-modal .mdj-worker-settings-cell input,
#mdj-notifications-modal .mdj-worker-settings-channel input,
#mdj-notifications-modal .mdj-worker-setting-row input {
  accent-color: var(--hsr-blue-light);
}

#mdj-notifications-modal .mdj-worker-history-danger {
  margin-bottom: 2px;
  border-left: 3px solid var(--hsr-gold-dark);
}

#mdj-notifications-modal .mdj-worker-clear-history {
  color: var(--hsr-blue);
  background: rgba(255, 255, 255, .22);
  border-color: var(--hsr-gold-dark);
  border-radius: 3px 9px;
}

#mdj-notifications-modal .mdj-worker-clear-history:hover,
#mdj-notifications-modal .mdj-worker-clear-history:focus-visible {
  color: var(--hsr-gold);
  background: var(--hsr-blue);
  border-color: var(--hsr-gold);
}

#mdj-worker-toast-stream {
  right: 18px;
  bottom: 18px;
  width: min(340px, calc(100vw - 36px));
}

#mdj-worker-toast-stream .mdj-worker-toast {
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 74px;
  padding: 13px 38px 12px 12px;
  color: var(--hsr-paper, #d3cabb);
  background: linear-gradient(135deg, rgba(50, 59, 101, .98), rgba(2, 17, 33, .98));
  border-color: #ffcf70;
  border-left: 1px solid #ffcf70;
  border-radius: 14px 0;
  box-shadow: 0 16px 36px rgba(2, 17, 33, .42);
  font-family: "DIN Pro", Arial, Helvetica, sans-serif;
}

#mdj-worker-toast-stream .mdj-worker-toast-icon {
  width: 34px;
  height: 34px;
}

#mdj-worker-toast-stream .mdj-worker-toast-body strong {
  color: #ffcf70;
  font-size: 11px;
  letter-spacing: .055em;
  text-transform: uppercase;
}

#mdj-worker-toast-stream .mdj-worker-toast-body span {
  margin-top: 4px;
  color: #f4f0e8;
}

#mdj-worker-toast-stream .mdj-worker-toast-body a {
  color: #d3cabb;
  text-decoration: underline;
  text-decoration-color: rgba(255, 207, 112, .5);
  text-underline-offset: 3px;
}

#mdj-worker-toast-stream .mdj-worker-toast-close {
  color: var(--hsr-gold, #ffcf70);
  background: rgba(255, 207, 112, .10);
}

@media (max-width: 640px), (max-device-width: 640px) {
  #pun-ulinks a[href*="p=notifications"] > .mdj-notifications-menu-count,
  #pun-ulinks a.mdj-notifications-link > .mdj-notifications-menu-count {
    width: 14px;
    min-width: 14px;
    max-width: 14px;
    height: 14px;
    min-height: 14px;
    max-height: 14px;
    margin-left: 3px;
    font-size: 8px;
    transform: none;
  }

  #mdj-notifications-modal { padding: 0; }

  #mdj-notifications-modal .mdj-notifications-dialog {
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-width: 0;
    border-radius: 0;
  }

  #mdj-notifications-modal .mdj-notifications-dialog::before,
  #mdj-notifications-modal .mdj-notifications-dialog::after { display: none; }

  #mdj-notifications-modal .mdj-notifications-header {
    gap: 7px;
    padding-right: 8px;
    padding-left: 14px;
  }

  #mdj-notifications-modal .mdj-notifications-title {
    font-size: 13px;
    letter-spacing: .05em;
  }

  #mdj-notifications-modal .mdj-worker-mark-all {
    padding: 5px 7px;
    font-size: 10px;
  }

  #mdj-notifications-modal .mdj-notifications-tabs { padding: 0 10px; }
  #mdj-notifications-modal .mdj-notifications-content.mdj-worker-content { padding: 10px 9px 16px; }

  #mdj-notifications-modal .mdj-worker-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 9px;
    scrollbar-width: thin;
  }

  #mdj-notifications-modal .mdj-worker-filter { flex: 0 0 35px; width: 35px; height: 33px; }
  #mdj-notifications-modal .mdj-worker-item { grid-template-columns: 35px minmax(0, 1fr) 28px; }
  #mdj-notifications-modal .mdj-worker-settings-matrix-head,
  #mdj-notifications-modal .mdj-worker-settings-matrix-row {
    grid-template-columns: minmax(190px, 1fr) repeat(3, 76px);
  }

  #mdj-worker-toast-stream {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}
