/* Colour switcher: lets visitors pick one of the accent colours. */
.theme-switch {
    position: fixed; z-index: 200; right: 18px; bottom: 18px;
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 999px;
    background: #fffdf7; color: #2a2a2a; border: 1.5px solid #2a2a2a;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    font: 11px/1 "Fira Code", Consolas, "Courier New", monospace; letter-spacing: .04em;
}
.theme-switch__label { text-transform: uppercase; }
.theme-switch__btn {
    width: 22px; height: 22px; padding: 0; border-radius: 50%; cursor: pointer;
    border: 2px solid #fffdf7; box-shadow: 0 0 0 1.5px rgba(42,42,42,.35);
}
.theme-switch__btn:hover { transform: scale(1.12); }
.theme-switch__btn[aria-pressed="true"] { box-shadow: 0 0 0 2.5px #2a2a2a; }
.theme-switch__btn:focus-visible { outline: 2px solid #2a2a2a; outline-offset: 3px; }
@media (max-width: 520px) { .theme-switch { right: 10px; bottom: 10px; padding: 6px 10px; } .theme-switch__label { display: none; } }
