/* Seletor de tema (sol e lua). Usa as cores --text e --bg da página em que está. */
.tema {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.tema button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.tema button:hover { background: rgb(128 128 128 / 0.2); border-color: transparent; }
.tema button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.tema svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
