.nb-sim-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: none;
  padding: 3px;
  border: 1px solid rgba(148, 180, 255, .18);
  border-radius: 99px;
  background: rgba(255, 255, 255, .04);
}
.nb-sim-theme-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--ink2);
  font-family: inherit;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: color .18s, background .18s;
}
.nb-sim-theme-switch #themeAuto { padding-inline: 11px; }
.nb-sim-theme-switch button svg { width: 17px; height: 17px; }
.nb-sim-theme-switch button:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
.nb-sim-theme-switch button[aria-pressed="true"] { color: #EDF2FC; background: rgba(79, 124, 255, .24); }
.nb-sim-theme-switch button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
html.light .nb-sim-theme-switch { border-color: rgba(15, 23, 42, .15); background: rgba(15, 23, 42, .035); }
html.light .nb-sim-theme-switch button:hover { background: rgba(15, 23, 42, .07); }
html.light .nb-sim-theme-switch button[aria-pressed="true"] { color: #1541C8; background: rgba(79, 124, 255, .15); }
@media (pointer: coarse) {
  .nb-sim-theme-switch button { min-width: 44px; min-height: 44px; }
}
@media (max-width: 430px) {
  .utilr { max-width: 100%; flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nb-sim-theme-switch button { transition: none; }
}
