:root { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
.theme-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease;
}
.js .theme-toggle { display: inline-flex; }
.theme-toggle svg { inline-size: 20px; block-size: 20px; }
@media (hover: hover) and (pointer: fine) { .theme-toggle:hover { border-color: var(--text); } }
.theme-toggle:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
