.tf-theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #eaf6fb;
  line-height: 1;
  transition: background-color .18s ease;
}
.tf-theme-toggle:hover { background: #ffffff20; }
.tf-theme-toggle:focus-visible {
  outline: 2px solid #9edfe9;
  outline-offset: 2px;
}
.tf-theme-icon { display: none; width: 21px; height: 21px; }
.tf-theme-icon-system { display: block; }
:root[data-theme-choice="light"] .tf-theme-icon-system,
:root[data-theme-choice="dark"] .tf-theme-icon-system { display: none; }
:root[data-theme-choice="light"] .tf-theme-icon-light,
:root[data-theme-choice="dark"] .tf-theme-icon-dark { display: block; }
@media (min-width: 981px) {
  body.home .nav .tf-theme-toggle,
  body:not(.home):not(.wp-admin) .nav .tf-theme-toggle {
    grid-column: 3;
    justify-self: end;
  }
}
@media (max-width: 980px) {
  .tf-theme-toggle { flex-basis: 40px; width: 40px; height: 40px; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-theme-toggle { transition: none; }
}
