.fb-theme-control {
  display: inline-flex;
  flex: 0 0 auto;
  align-self: center;
  align-items: center;
  gap: 6px;
  color: #fff;
  font: 600 12px/1.2 Arial, sans-serif;
  white-space: nowrap;
}
.fb-theme-control select {
  min-width: 82px;
  min-height: 30px;
  border: 1px solid #ffffff8c;
  border-radius: 4px;
  padding-inline: 5px;
  background: var(--fb-slip-header, #00803e);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.fb-theme-control select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.fb-theme-toggle {
  box-sizing: border-box;
  width: 55px;
  height: 28px;
  min-height: 28px;
  border: 0;
  border-radius: 30px;
  padding: 2px;
  background: #353540;
  cursor: pointer;
  user-select: none;
}
.fb-theme-toggle > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
  border-radius: 50%;
  background: #fff200;
  transition: transform .2s, background-color .2s;
}
.fb-theme-toggle > div > img {
  display: block;
  width: 12px;
  height: 12px;
  filter: brightness(0);
}
.fb-theme-toggle.lightTheme {
  background: #dedee3;
}
.fb-theme-toggle.lightTheme > div {
  transform: translateX(25px);
  background: var(--fb-slip-header, #a31230);
}
.fb-theme-toggle.lightTheme > div > img {
  filter: brightness(0) invert(1);
}
.fb-theme-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.fb-theme-control--desktop { margin-inline: 10px; }
.fb-theme-control--mobile-header { margin-inline-end: 4px; }
.fb-theme-control--mobile-menu {
  align-self: stretch;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--fb-slip-header, #00803e);
}
.fb-theme-toggle.fb-theme-control--mobile-menu {
  align-self: flex-start;
  margin: 8px 12px;
  padding: 2px;
  background: #353540;
}
.fb-theme-toggle.lightTheme.fb-theme-control--mobile-menu { background: #dedee3; }
@media (max-width: 479px) {
  .fb-theme-control--mobile-header { display: none; }
}
@media (min-width: 480px) {
  body:has(.main-header .fb-theme-control--mobile-header) .fb-theme-control--mobile-menu { display: none; }
}
