*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0}
img,svg{display:block;max-width:100%}
button,input,textarea,select{font:inherit;color:inherit}
a{color:inherit}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}

[data-theme-toggle] .i-sun{display:none}
[data-theme-toggle][aria-pressed="true"] .i-sun{display:block}
[data-theme-toggle][aria-pressed="true"] .i-moon{display:none}

.term{display:flex;flex-direction:column;min-height:0;cursor:text}
.term-out{flex:1;overflow-y:auto;overflow-x:hidden;white-space:pre-wrap;word-break:break-word;min-height:0}
.term-line{min-height:1.5em}
.term-form{display:flex;align-items:baseline;gap:.6ch;margin:0}
.term-prompt{white-space:nowrap;flex:none}
.term-input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:0;caret-color:currentColor}
.term-input:focus,.term-input:focus-visible{outline:0;box-shadow:none}

.vswitch{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:2px;padding:4px;border-radius:999px;background:#17171a;color:#f2f2f2;box-shadow:0 10px 30px rgba(0,0,0,.25);font:500 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;max-width:calc(100vw - 24px);overflow-x:auto;scrollbar-width:none}
.vswitch::-webkit-scrollbar{display:none}
.vswitch a,.vswitch button{flex:none;display:inline-flex;align-items:center;gap:6px;padding:9px 13px;border-radius:999px;text-decoration:none;border:0;background:none;cursor:pointer;white-space:nowrap;color:inherit;opacity:.72}
.vswitch a:hover,.vswitch button:hover{opacity:1}
.vswitch a[aria-current="page"]{background:#f2f2f2;color:#17171a;opacity:1}
.vswitch svg{width:16px;height:16px}
.vswitch .sep{width:1px;height:18px;background:rgba(255,255,255,.18);margin:0 4px;flex:none}

.vswitch a:not([aria-current="page"]) .long{display:none}
@media (max-width:560px){.vswitch .long{display:none}.vswitch a,.vswitch button{padding:9px 10px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
