/* Header account and notification bell: light and dark themes. */
body:not(.forum-page) .site-header .home-header-account:not([hidden]) {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ink) !important;
}
body:not(.forum-page) .site-header .home-header-account:not([hidden]) span {
  display: inline !important;
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink) !important;
}
body:not(.forum-page) .site-header .home-notification-shortcut:not([hidden]) {
  display: inline-grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  color: var(--ink) !important;
}
body:not(.forum-page) .site-header .home-notification-shortcut svg { display: block; }
body:not(.forum-page) .site-header .home-notification-shortcut b[hidden] { display: none !important; }
@media (max-width: 980px) {
  body:not(.forum-page) .site-header .home-header-account span { display: none !important; }
}
@media (max-width: 620px) {
  body:not(.forum-page) .site-header .home-header-account:not([hidden]) { display: inline-flex !important; }
  body:not(.forum-page) .site-header .home-header-account .forum-avatar { width: 34px; height: 34px; }
  body:not(.forum-page) .site-header .home-notification-shortcut:not([hidden]) { width: 38px; height: 38px; min-width: 38px; }
}
body.forum-page .ff-header-bell {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--forum-border,#ccd4df);
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
body.forum-page .ff-header-bell b {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  background: #ff5108;
  color: white;
  font-size: 11px;
}
@media (max-width: 620px) {
  body.forum-page .ff-header-bell { width: 38px; height: 38px; }
}
