/* Theme switch button (assets/theme.js) and the clickable logo, shared by
   every page. Colours come from each page's own variables. */

.theme-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface, var(--card));
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.theme-toggle:focus-visible,
.home-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: inherit;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
}
