.ri-site .ri-theme-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #725e80;border-radius:999px;flex-shrink:0}
.ri-site .ri-theme-switch button{appearance:none;border:0;border-radius:999px;background:transparent;color:#d9cbe5;font-family:inherit;font-size:11px;font-weight:700;line-height:1;min-height:32px;min-width:54px;padding:8px 12px;cursor:pointer;transition:background .2s,color .2s}
.ri-site .ri-theme-switch button[aria-pressed="true"]{background:#cba3ee;color:#24132f}
.ri-site .ri-theme-switch button:focus-visible{outline:2px solid #b8a0ff;outline-offset:3px}
html[data-ri-theme="light"] .ri-site .ri-theme-switch{background:#fff;border-color:#9d7cb6}
html[data-ri-theme="light"] .ri-site .ri-theme-switch button{color:#493158}
html[data-ri-theme="light"] .ri-site .ri-theme-switch button[aria-pressed="true"]{background:#6b3992;color:#fff}
@media(max-width:380px){.ri-header .ri-navrow{gap:8px}.ri-site .ri-theme-switch button{min-width:44px;padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.ri-site .ri-theme-switch button{transition:none}}
@media(forced-colors:active){.ri-site .ri-theme-switch button[aria-pressed="true"]{outline:2px solid ButtonText}}
