#FAM,
#FAM .FAM-inputbox,
#FAM-msg {
  font-family: var(--font);
}

.FAM-clear,
.FAM-msg-date,
.FAM-msg:after {
  clear: both;
}

#modernbb #FAM i.bi,
#modernbb #FAM-button i.bi,
#modernbb #FAM-send {
  margin: initial;
  vertical-align: initial;
}

/* Fenetre du Messenger */
#FAM {
  display: grid;
  grid-template-rows: max-content max-content 1fr;
  color: var(--textColor);
  font-size: var(--normal-size);
  background: var(--neutral);
  border-radius:var(--rad1);
  border:var(--border);
  position: fixed;
  height: 60%;
  width: 30%;
  max-width: var(--FAM-windowSize);
  right: calc(var(--gap) * 2);
  z-index: 99;
  visibility: visible;
  opacity: 1;
  bottom: 104px;
  transition-property: top, right, bottom, left, height, width, margin, opacity, visibility;
  transition-duration: 700ms;
  grid-template-columns: 100%;
}

/* Fenetre fermée */
#FAM[data-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  right: calc(0% - 60%);
}

#FAM.FAM-embedded {
  position: relative;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 500px;
  margin: 12px auto;
  z-index: 1;
}

/* Bouton pour ouvrir la fenetre */
#FAM-button-open {
  color: var(--co1);
  font-size: 18px;
  background-color: var(--neutralDark);
  border-radius: 10px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  transition-property: right;
  transition-duration: 500ms;
  display: grid;
  place-items: center;
}

/* Entête de la fenetre */
#FAM-toolbar {
  color: var(--contrast);
  font:1.1em var(--font-title);
  position: relative;
  margin: 20px;
}

#FAM-toolbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

/* Bouton flèche de retour */
.FAM-toolbar-button {
  color: var(--co1);
  font-size: 24px;
  cursor: pointer;
}

/* Titre de la fenetre */
.FAM-maintitle {
  text-align: left;
  font-size: var(--normal-size);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 99;
  margin: 0;
}


#FAM-idle,
.FAM-button {
  color: var(--co1);
  cursor: pointer;
}

/* Conteneur discussion + boite de reponse */
.FAM-container-content {
  display: grid;
  grid-template-rows: 1fr max-content;
  overflow: auto;
  background: var(--gradient-10);
  border-radius: 0 var(--rad2) var(--rad2) 0;
  margin: 10px 15px 15px 15px;
}

/* Conteneur discussion */
#FAM-content {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px 20px;
  position: relative;
}

.FAM-viewing-topic {
  padding: 0 20px !important;
}

.FAM-viewing-topic:before,
.FAM-viewing-topic:after {
  content: "";
  display: block;
  position: sticky;
  right: 0px;
  left: 0;
  height: 80px;
  z-index: 8;
  pointer-events: none;
}

.FAM-viewing-topic:before {
  top: 0px;
  background: var(--FAM-gradientTop);
}

.FAM-viewing-topic:after {
  bottom: 0;
  background: var(--FAM-gradientBot);
}

/* Chargement */
.FAM-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.FAM-loading,
.FAM-loading p {
  font-size: 18px;
  font-weight: 700;
}

.FAM-loading i {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
}

#FAM-no-tabs {
  top: 69px;
  cursor: pointer;
}

#FAM-tab-container[style*="none"] + #FAM-content #FAM-no-tabs {
  top: 39px;
}

/* Mise en vieille */
#FAM-idle {
  background: var(--FAM-sleepModeBackground);
  z-index: 999;
  transition: 300ms;
}

/* Boutons */
.FAM-button {
  background-color: var(--FAM-accentClr);
  color: var(--FAM-pluginBackground);
  border-radius: 8px;
  padding: 5px 12px 6px;
  border: none;
  display: block;
  margin: 3px auto;
  outline: 0;
  font-weight: bold;
}

.FAM-button:hover {
  color: var(--FAM-fontClr);
}

.FAM-inline-buttons {
  margin: 0 0 0 15px !important;
  width: 6%;
}

.FAM-inline-buttons .FAM-button {
  display: inline-block;
  margin: 3px;
  background-color: transparent;
  font-size: 18px;
  color: var(--FAM-accentClr);
}

.FAM-button-large {
  background-color: var(--FAM-accentClr);
  border-radius: 4px;
  font-weight: 700;
  padding: 5px 15px;
  color: var(--FAM-pluginBackground);
  margin: 0 auto;
}

.FAM-button-large:hover {
  background-color: var(--FAM-secondClr);
}

#FAM .FAM-inputbox {
  color: var(--FAM-fontClr);
  font-size: var(--FAM-fontSize);
  background-color: var(--FAM-pluginBackground);
  border: none;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  vertical-align: baseline;
  cursor: text;
  outline: 0;
  height: auto;
  line-height: normal;
}

#FAM .FAM-inputbox[type="color"],
#FAM select.FAM-inputbox {
  cursor: pointer;
}

#FAM textarea.FAM-inputbox {
  height: 150px;
  resize: none;
}

#FAM .FAM-button-input .FAM-inputbox {
  width: calc(100% - 40px);
  height: 20px;
  margin: 0;
}

#FAM .FAM-button-input .FAM-button {
  font-size: 24px;
  vertical-align: -4px;
  width: 40px;
  height: 40px;
  display: inline-block;
  margin: 0;
  padding: 0;
  border-radius: 0 4px 4px 0;
}

#FAM .FAM-button-input-small .FAM-inputbox {
  width: 50px;
  height: 30px;
  padding: 0 2px;
  vertical-align: top;
}

#FAM .FAM-button-input-small .FAM-button {
  font-size: 18px;
  width: 30px;
  height: 30px;
  padding: 0;
}



.FAM-section-title {
  color: #39f;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid #39f;
  margin: 12px auto;
  padding-bottom: 3px;
}

hr.FAM-hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 24px 0;
}

#FAM .FAM-list li {
  margin: 0;
  padding: 3px 0;
  position: relative;
}

.FAM-init-tab-controls .FAM-icon-link {
  font-size: 24px;
}

.FAM-symmetrical-label .FAM-label,
.FAM-symmetrical-label .FAM-label-value {
  width: 50%;
}

.FAM-left,
.FAM-symmetrical-label .FAM-label-value {
  text-align: left;
}

.FAM-right {
  text-align: right;
}

.FAM-float-left {
  float: left;
}

.FAM-float-right {
  float: right;
}

.FAM-clear:after {
  content: "";
  display: table;
  clear: both;
}

#FAM p,
.FAM-row {
  margin: 10px 0;
}

#FAM .FAM-center-block {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.FAM-error {
  color: #f66;
  font-weight: 700;
}

.FAM-noclick {
  pointer-events: none;
}

.FAM-clickable {
  pointer-events: all;
}

#FAM-content::-webkit-scrollbar {
  display: none;
}

#FAM ::-webkit-scrollbar-track {
  background-color: transparent;
}

#FAM ::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border: none;
}

#FAM ::-webkit-scrollbar-button:single-button {
  height: 0;
  width: 0;
}

#FAM-actions {
  background: var(--gradient-10), var(--neutralDarker);
  border-radius: 10px;
  margin: 15px;
  align-items: end;
  position: relative;
}

.FAM-viewing-forum + #FAM-actions,
.FAM-viewing-topic + #FAM-actions {
  display: block;
}

.FAM-viewing-forum + #FAM-actions {
  background: transparent;
  margin: 10px 35px;
  display: flex;
  justify-content: flex-end;
}

#FAM-actions:empty {
  display: none;
}

#FAM-new-topic {
  cursor: pointer;
  font-size: 28px;
  color: var(--FAM-accentClr);
  margin-bottom: 20px;
}

#FAM-new-topic:hover {
  color: var(--FAM-fontClr);
}

.FAM-buttons-container {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.FAM-buttons-container > button {
  color: var(--FAM-accentClr);
  background-color: transparent;
  font-size: 20px;
  border: none;
  cursor: pointer;
  outline: 0;
}

.FAM-buttons-container > button:hover {
  color: var(--FAM-secondClr);
}

.FAM-buttons-container > button[data-disabled="true"] {
  pointer-events: none;
}

.FAM-buttons-container > button[data-disabled="true"] > * {
  opacity: 0.5;
}

#FAM-msg-container {
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: 100%;
}

#FAM-timeout-bar {
  background: #ccc;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 5px;
  z-index: -1;
}

.FAM-chat, .FAM-forum{border-bottom: var(--border);}

.FAM-chat {
  position: relative;
  cursor: pointer;
  display: grid;
  grid-template-columns: max-content 1fr;
  color: var(--textColor);
}

.FAM-chat:hover,
.FAM-chat:hover a {
  color: var(--co1);
}

.FAM-chat:hover .FAM-chat-avatar,
.FAM-chat:hover .FAM-chat-content {}

.FAM-forum-name,
.FAM-topic-name {
  display: none;
  font-size: 12px;
  margin: 20px 20px 10px;
  text-transform: uppercase;
  grid-column: 1 / span 2;
  font-weight: 600;
  background: var(--gradient-50);
  width: fit-content;
  padding: .3em .8em;
  border-radius: var(--rad3);
  border: var(--border);
}

.FAM-forum-name i,
.FAM-topic-name i {
  margin-right: 5px;
}

.FAM-forum:nth-of-type(1) .FAM-forum-name,
.FAM-pagination + .FAM-forum:nth-child(2) .FAM-forum-name {
  display: block;
}

.FAM-forum {
  margin-bottom: 10px;
}

.FAM-forum .FAM-chat-title {
  text-transform: uppercase;
}

.FAM-forum a.lastpost_link:before {
  content: "\F132";
  font-family: bootstrap-icons !important;
  margin-right: 5px;
  font-weight: 400;
  top: 2px;
  position: relative;
}

.FAM-chat-date > a.lastpost_link:after {
  content: ",";
}

.FAM-forum .FAM-chat-avatar,
.FAM-forum .FAM-chat-content {
  background-color: var(--FAM-pluginBackground);
}

.FAM-forum + .FAM-topic > .FAM-topic-name,
.FAM-pagination + .FAM-topic > .FAM-topic-name {
  display: block;
}

.FAM-chat-avatar {
  grid-row: 2;
  align-self: center;
  padding: 15px 5px 15px 20px;
  border-radius: 10px 0 0 10px;
  opacity: 0.8;
}

.FAM-chat-avatar img {
  height: 40px;
  width: 40px;
  border-radius: 100%;
  object-fit: cover;
  object-position: center;
}

.FAM-chat-content {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  padding: 15px 20px 15px 10px;
  border-radius: 0 10px 10px 0;
  min-height: 70px;
  display: grid;
  align-items: center;
}

.FAM-chat-date,
.FAM-chat-title {
  width: 100%;
}

.FAM-chat-title {
  font-weight: 600;
}

.FAM-chat-date {
  font-size: 12px;
  margin-top: 4px;
}

.FAM-chat-date > a.lastpost_link {
  font-weight: 600;
  color: var(--FAM-fontClr) !important;
  margin-right: 5px;
}

.FAM-chat-date > strong {
  margin-left: 5px;
  background-color: var(--FAM-msgBackground);
  padding: 0px 4px 0px;
  border-radius: 4px;
}

.FAM-chat-date > strong a {
  display: initial !important;
}

.FAM-chat-date > strong:empty,
.FAM-topic .FAM-chat-date i,
.FAM-chat-date br,
.FAM-chat-date .last-post-icon,
.FAM-chat-date a:last-of-type {
  display: none;
}

.FAM-new-post,
.FAM-new-post a,
.FAM-new-post .FAM-chat-title {
  color: var(--FAM-titleClr);
  font-weight: bold !important;
}

.FAM-new-post .FAM-chat-avatar {
  opacity: 1;
}

.FAM-new-post .FAM-chat-avatar img {
  color: var(--FAM-newMsgAnimation);
  transform: scale(1);
  animation: FAMpulse 3s infinite;
}

@keyframes FAMpulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0;
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px transparent;
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
}

.FAM-pagination:empty {
  display: none;
}

.FAM-pagination span {
  display: flex;
  gap: 5px;
  justify-content: end;
}

#FAM a.FAM-page-link,
.FAM-page-link {
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  background: var(--FAM-accentClr);
  color: var(--FAM-pluginBackground);
  display: inline-block;
  padding: 1px 6px 2px;
  border-radius: 5px;
}

#FAM a.FAM-page-link:hover {
  background: var(--FAM-buttonsClr);
}

#FAM a.FAM-page-link:active {
  background: var(--FAM-buttonsClr);
}

b.FAM-page-link,
strong.FAM-page-link {
  background: var(--FAM-pluginBackground);
  font-weight: 400;
  color: var(--FAM-fontClr);
}

#FAM-msg {
  color: var(--FAM-fontClr);
  font-size: var(--normal-size);
  background: 0 0;
  border: none;
  width: 100%;
  margin: 0;
  padding: 15px;
  padding-right: 110px;
  outline: 0;
  resize: vertical;
}

.FAM-msg[data-compact="yes"] {
  margin-bottom: 5px;
}

.FAM-msg {
  position: relative;
  display: flex;
  margin-bottom: 30px;
  gap: 10px;
}

.FAM-msg-avatar {
  width: 35px;
  height: 35px;
  padding: 2px;
  border-radius: 100%;
  overflow: hidden;
  position: relative;
  top: 50%;
  align-self: flex-end;
}

.FAM-msg-online .FAM-msg-avatar {
  border-color: #39f;
}

.FAM-msg-avatar img {
  height: 100%;
  width: 100%;
  border-radius: 100%;
  object-fit: cover;
  object-position: center;
}

.FAM-msg.FAM-my-msg {
  flex-direction: row-reverse;
}

.FAM-msg-box {
  float: right;
  width: 80%;
  width: calc(100% - 48px);
  padding-left: 10px;
}

.FAM-msg-content {
  display: flex;
  gap: 7px;
  position: relative;
}

.FAM-msg-editing .FAM-msg-text {
  width: 100%;
  display: flex;
  align-items: flex-end;
}

.FAM-my-msg .FAM-msg-text {
  background: var(--gradient-50),var(--neutral);
  border-radius: 17px 17px 6px 17px;
  padding: 8px 15px 8px 20px;
  float: right;
}

.FAM-msg-text {
  font-size: 14px;
  background: var(--neutral);
  border-radius: 17px 17px 17px 6px;
  padding: 8px 20px 8px 15px;
}

.FAM-my-msg .FAM-msg-content {
  flex-direction: row-reverse;
}

.FAM-msg-text .fa-circle-o-notch {
  font-size: 20px;
}

#FAM .FAM-msg-text a {
  color: inherit !important;
  text-decoration: underline;
  cursor: pointer;
}

#FAM .FAM-msg-text a:hover {
  text-decoration: none;
}

.FAM-msg-text * {
  max-width: 100%;
}

.FAM-msg-text img {
  max-height: 200px;
}

.FAM-msg-info {
  display: flex;
  gap: 5px;
  clear: both;
  text-transform: lowercase;
  font-family: var(--font);
  align-items: center;
  margin-top: 5px;
}

.FAM-msg-date,
.FAM-msg-name {
  font-size: 12px;
  width: 100%;
  height: 20px;
  line-height: 24px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  flex-basis: fit-content;
  color: var(--FAM-fontLightClr);
}

.FAM-name-mention {
  cursor: pointer;
}

.FAM-my-msg .FAM-msg-info {
  flex-direction: row-reverse;
}

.FAM-msg-error .FAM-msg-content:before {
  border-left-color: #f33;
}

.FAM-msg-text .FAM-attachment,
.FAM-msg-text .FAM-attachment * {
  display: block;
}

.FAM-msg-text .FAM-attachment tbody {
  line-height: 0;
  column-count: 2;
  column-gap: 5px;
}

.FAM-msg-text .FAM-attachment tr {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}

.FAM-msg-text .FAM-attachment tr:only-child {
  column-span: all;
  margin: 0;
}

.FAM-msg-text .FAM-attachment td {
  color: var(--FAM-fontClr);
  font-size: 14px;
  min-height: 20px;
  line-height: 20px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.FAM-msg-text .FAM-attachment td * {
  width: 100%;
  object-fit: cover;
}

.FAM-msg-text .FAM-attachment td,
.FAM-msg-text .FAM-attachment td * {
  border-radius: 5px;
  max-height: 200px;
}

#FAM .FAM-msg-actions {
  margin-top: -12px;
  height: 25px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: 300ms;
}

#FAM .FAM-msg:hover .FAM-msg-actions {
  visibility: visible;
  margin-top: 5px;
  opacity: 1;
}

#FAM .FAM-my-msg .FAM-msg-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

[data-compact="yes"] {
  padding: 0;
}

.FAM-msg[data-compact="yes"] .FAM-msg-avatar {
  visibility: hidden;
}

.FAM-msg[data-compact="yes"] .FAM-msg-text {
  border-radius: 20px;
}

[data-compact="yes"] .FAM-msg-info {
  visibility: hidden;
  height: 0px;
}

.FAM-msg-button {
  font-size: 14px;
  width: 20px;
  cursor: pointer;
}

.FAM-msg-button:hover {
  color: var(--FAM-buttonHover);
}

.FAM-edit-button {
  font-size: 10px;
}

.FAM-delete-button {
  margin-left: -7px;
  font-size: 18px;
}

.FAM-msg-text .FAM-attachment td:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

#FAM [onclick="FAM.modal.open(this);"] {
  cursor: pointer;
}

.FAM-msg-text .FAM-attachment td a {
  overflow: hidden;
  text-overflow: ellipsis;
}

.FAM-msg-text ol,
.FAM-msg-text ul {
  padding-left: 30px;
  margin: 12px 0;
}

.FAM-msg-text ol > br:first-child,
.FAM-msg-text ul > br:first-child {
  display: none;
}

.FAM-codebox,
.FAM-spoiler {
  padding: 0;
  margin: 0;
  display: block;
  font-size: 12px;
}

.FAM-codebox cite a,
.FAM-codebox dt a {
  color: var(--FAM-titleClr);
}

.FAM-codebox cite,
.FAM-codebox dt,
.FAM-spoiler dt {
  color: var(--FAM-titleClr);
  font-weight: 600;
  margin: 0;
  cursor: auto !important;
}

#FAM-tab-add,
.FAM-tab {
  height: 30px;
  cursor: pointer;
}

.FAM-codebox dd,
.FAM-spoiler dd {
  padding: 3px;
  margin: 0;
}

.FAM-codebox code {
  display: block;
  max-height: 150px;
  max-width: none;
  padding: 3px;
  margin: -3px;
  overflow: auto;
}

#FAM-new-msg-divider,
#FAM-tabs {
  white-space: nowrap;
  overflow: hidden;
}

blockquote.FAM-codebox {
  position: relative;
  margin-bottom: 17px;
}

blockquote.FAM-codebox:before {
  display: block;
  position: absolute;
  z-index: 1;
  content: "";
  background: var(--FAM-quoteBackground);
  inset: -8px -20px -10px -15px;
  border-radius: 17px 17px 0 0;
}

.FAM-my-msg blockquote.FAM-codebox:before {
  inset: -8px -15px -10px -20px;
}

blockquote.FAM-codebox > div {
  margin: 0;
  padding: 0;
  z-index: 2;
  position: relative;
}

.FAM-spoiler_content {
  position: relative;
  display: inline-block;
}

.FAM-spoiler_content:after {
  content: "";
  background: var(--FAM-chatBackground);
  position: absolute;
  inset: -3px;
  visibility: visible;
  border-radius: 5px;
}

.FAM-spoiler_content:hover:after {
  visibility: hidden;
}

.FAM-msg-text .FAM-post-content,
.FAM-msg-text font[color] {
  color: inherit;
}

#fc-token.FAM-inputbox {
  width: 308px;
}

.FAM-captcha p:first-child b,
.FAM-captcha p:first-child strong {
  font-size: 24px;
  display: inline-block;
  margin-bottom: 6px;
}

#FAM-new-msg-notif {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: #39f;
  position: absolute;
  height: 30px;
  line-height: 30px;
  left: 0;
  right: 0;
  z-index: 1;
  opacity: 0.8;
  cursor: pointer;
}

#FAM-new-msg-notif:after {
  content: "\\f00d";
  font-size: 18px;
  font-weight: 400;
  font-family: FontAwesome;
  position: absolute;
  right: 6px;
}

#FAM-new-msg-notif:hover {
  opacity: 1;
}

#FAM-new-msg-notif + #FAM-content {
  padding-top: 30px;
}

#FAM-new-msg-divider {
  color: #39f;
  font-size: 18px;
  text-align: center;
  margin: 12px;
}

#FAM-new-msg-divider:after,
#FAM-new-msg-divider:before {
  content: "";
  background: #39f;
  display: inline-block;
  width: 25%;
  height: 2px;
  position: relative;
  top: -4px;
}

#FAM-new-msg-divider:before {
  margin-right: 12px;
}

#FAM-new-msg-divider:after {
  margin-left: 12px;
}

#FAM-tab-container {
  height: 30px;
  position: relative;
  margin: 0 15px;
  display: flex;
}

#FAM-tab-add {
  z-index: 99;
  font-size: 13px;
  text-align: center;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  background: var(--FAM-chatBackground);
  color: var(--FAM-fontClr);
  border-radius: 5px;
  padding: 0 8px;
  margin-left: 5px;
}

#FAM-tab-add:hover {
  background: var(--FAM-accentClr);
  color: var(--FAM-pluginBackground);
}

#FAM-tabs {
  display: flex;
  gap: 5px;
  position: relative;
  padding-bottom: 3px;
}

#FAM-tabs:hover {
  overflow-x: auto;
  position: relative;
  z-index: 2;
}

#FAM-tab-container:after {
  content: "";
  display: block;
  position: absolute;
  right: 0px;
  top: 0;
  bottom: 0;
  width: 20%;
  background: var(--FAM-gradient);
  z-index: 5;
  pointer-events: none;
}

#FAM-tabs::-webkit-scrollbar {
  height: 4px;
}

#FAM-tabs::-webkit-scrollbar-thumb {
  background-color: var(--FAM-accentClr);
  border-radius: 3px;
}

#FAM-tabs::-webkit-scrollbar-track {
  background: transparent;
}

#FAM-menu-avatar,
#FAM-profile-avatar,
.FAM-tab-name {
  display: inline-block;
  overflow: hidden;
}

.FAM-tab {
  background: var(--neutralDarker);
  border-radius: 5px;
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  display: flex;
  width: 130px;
}

.FAM-tab i {
  display: none;
  width: 12px;
  height: 16px;
}

.FAM-tab:hover {
  background: var(--gradient-50);
    color: var(--textColor);
}

.FAM-tab:hover i {
  display: initial;
}

.FAM-tab.FAM-tab-active {
    font-weight: 700;
    background: var(--gradient-50);
    color: var(--textColor);
}

.FAM-tab-name {
  font-size: 12px;
  width: 80%;
  width: calc(100% - 16px);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.FAM-tab-close {
  cursor: pointer;
}

.FAM-tab-close:hover {
  color: #f33;
}

#FAM-about {
  text-align: center;
}

.FAM-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.FAM-title a {
  text-decoration: none !important;
}

.FAM-title i {
  font-size: 36px;
  vertical-align: -2px;
  margin-right: 3px;
}

#FAM #FAM-service-title a {
  color: var(--FAM-fontClr);
  font-weight: 400;
}

#FAM-service-title b {
  color: var(--FAM-accentClr);
}

#FAM-service-title b:last-child {
  color: var(--FAM-accentClr);
}

#FAM-content:has(#FAM-about) + #FAM-actions {
  display: none;
}

#FAM-actions .FAM-dropdown {
  background: var(--FAM-pluginBackground);
  border: none;
  position: absolute;
  right: 0;
  bottom: 30px;
  width: 300px;
  height: 270px;
  padding: 10px;
  z-index: 999;
}
