button.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle::before,
.theme-toggle svg {
  grid-area: 1 / 1;
  pointer-events: none;
}
.theme-toggle::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 21%, var(--paper));
}
.theme-toggle:hover::before {
  background: color-mix(in srgb, var(--accent) 48%, var(--paper));
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.theme-toggle svg {
  position: relative;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle[hidden],
.theme-toggle .theme-sun,
.theme-toggle[aria-pressed="true"] .theme-moon {
  display: none;
}
.theme-toggle[aria-pressed="true"] .theme-sun {
  display: block;
}
