/* Theme switcher is hidden for now; remove this rule to show it again. */
.ts { display: none !important; }

.ts {
  position: fixed;
  right: 16px;
  top: 8px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px var(--shadow);
  font-size: 14px;
}

.ts-label { display: none; }

.ts-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: var(--fw-head);
  cursor: pointer;
}

.ts-btn:hover { background: var(--hover); }
.ts-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--hover); }
.ts-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.ts-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ts-sw {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

