/* Selected Theme Switch Button by Kain Xu, 21st.dev (MIT).
   Native adapter reproduces public rendered SVG, translate/scale easing; private source not copied. */
:is(#theme-toggle,.flow-top-settings).theme-switch-button{
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 width:44px;min-width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;
 border:0!important;border-radius:50%!important;background:transparent!important;
 color:var(--ink)!important;box-shadow:none!important;overflow:hidden;cursor:pointer;
 transition:opacity .15s cubic-bezier(.4,0,.2,1);
}
:is(#theme-toggle,.flow-top-settings).theme-switch-button:hover{opacity:.8}
:is(#theme-toggle,.flow-top-settings).theme-switch-button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.theme-switch-button>svg{position:absolute;width:20px;height:20px;pointer-events:none;transform-origin:center;
 transition:transform .3s cubic-bezier(.34,1.56,.64,1),opacity .3s cubic-bezier(.34,1.56,.64,1)}
.theme-switch-button .ctp-theme-sun{opacity:1;transform:translateY(0) scale(1)}
.theme-switch-button .ctp-theme-moon{opacity:0;transform:translateY(20px) scale(.5)}
.theme-switch-button[aria-pressed="true"] .ctp-theme-sun{opacity:0;transform:translateY(20px) scale(.5)}
.theme-switch-button[aria-pressed="true"] .ctp-theme-moon{opacity:1;transform:translateY(0) scale(1)}
@media(min-width:851px){:is(#theme-toggle,.flow-top-settings).theme-switch-button.flow-top-settings{display:none}}
@media(prefers-reduced-motion:reduce){.theme-switch-button,.theme-switch-button>svg{transition:none!important}}
