/* The prototype's <helmet> (v5 :10-31): body, links, scrollbar, the range slider, text inputs and
   the four keyframes the primitives animate with. The fonts load from index.html. */
html,
body {
    margin: 0;
    height: 100%;
    background: oklch(0.15 0.012 250);
    color: oklch(0.95 0.008 250);
    font-family: "Chakra Petch", sans-serif;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
    overflow: hidden;
}
* {
    box-sizing: border-box;
}
a {
    color: oklch(0.82 0.12 210);
}
a:hover {
    color: oklch(0.82 0.14 75);
}
button {
    touch-action: manipulation;
    font-family: inherit;
    color: inherit;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-thumb {
    background: oklch(0.36 0.02 250);
}
::-webkit-scrollbar-track {
    background: transparent;
}
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 40px;
    background: transparent;
    margin: 0;
    position: relative;
    z-index: 1;
    touch-action: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    margin-top: -11px;
    background: oklch(0.82 0.14 75);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
input[type="range"]::-moz-range-track {
    height: 6px;
    background: transparent;
}
input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 0;
    background: oklch(0.82 0.14 75);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
input[type="text"],
input[type="password"],
select {
    font:
        400 13px "JetBrains Mono",
        monospace;
    color: oklch(0.95 0.008 250);
    background: oklch(0.12 0.012 250);
    border: 1px solid oklch(0.33 0.02 250);
    padding: 0 10px;
    min-height: 44px;
    outline: none;
    border-radius: 0;
    width: 100%;
}
input:focus,
select:focus {
    border-color: oklch(0.82 0.14 75);
}
@keyframes sosSpin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes sosSpinR {
    to {
        transform: rotate(-360deg);
    }
}
@keyframes sosPulse {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes sosScan {
    from {
        transform: translateY(-20vh);
    }
    to {
        transform: translateY(110vh);
    }
}
