@font-face {
    font-family: "Pixelify Sans";
    src: url("assets/pixelify-sans-400.ttf?v=2") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Pixelify Sans";
    src: url("assets/pixelify-sans-700.ttf?v=2") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Press Start 2P";
    src: url("assets/press-start-2p.ttf?v=2") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --night: #030908;
    --panel: #101515;
    --panel-deep: #090e0e;
    --stone: #343c38;
    --stone-hi: #66736a;
    --wood: #4c321d;
    --wood-hi: #815a32;
    --moss: #759e32;
    --text: #eee8d0;
    --muted: #9aa69b;
    --cf: #f1c83f;
    --google: #3aa7ff;
    --live: #80ef5b;
    --danger: #ff705f;
    font-family: "Pixelify Sans", monospace;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: #020605;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        linear-gradient(180deg, #061321 0, #06100d 62vh, #07100a 62vh),
        repeating-linear-gradient(135deg, #0b160e 0 14px, #07100a 14px 28px);
}

button,
input,
select {
    font: inherit;
}

button {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    color: #031011;
    background: var(--cf);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.world {
    display: none;
}

.page {
    position: relative;
    width: min(100vw, 1674px);
    aspect-ratio: 1674 / 941;
    min-height: 0;
    margin: 0 auto;
    background: url("assets/forest-dashboard-shell-v2.png") center top / 100% 100% no-repeat;
    image-rendering: auto;
}

.brand-board {
    position: absolute;
    z-index: 3;
    top: 5.3%;
    left: 30.2%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35.6%;
    height: 13.7%;
    margin: 0;
    padding: 0 2%;
    border: 0;
    outline: 0;
    color: #f4edcf;
    text-align: center;
    background: none;
    box-shadow: none;
}

.brand-board::before,
.brand-board::after,
.brand-spark {
    display: none;
}

.brand-board h1 {
    margin: 0;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(20px, 2.42vw, 41px);
    line-height: 1;
    letter-spacing: .02em;
    text-shadow:
        0 4px 0 #2b1a0c,
        3px 0 0 #2b1a0c,
        -2px 0 0 #806445,
        0 0 12px rgba(255, 226, 152, .16);
}

.brand-board p {
    margin: 11px 0 0;
    color: #c2a979;
    font-size: clamp(8px, .82vw, 14px);
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
    text-shadow: 2px 2px #1b1008;
}

.dashboard {
    position: absolute;
    z-index: 2;
    top: 20.7%;
    left: 17.35%;
    display: grid;
    grid-template-columns: 71.5% 25%;
    gap: 3.5%;
    width: 64.05%;
    height: 59.2%;
    min-height: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
}

.dashboard::before,
.moss {
    display: none;
}

.chart-column,
.control-column {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 0;
}

.chart-column {
    display: flex;
    flex-direction: column;
    padding: clamp(11px, 1.15vw, 19px) clamp(12px, 1.25vw, 21px) clamp(8px, .8vw, 14px);
}

.control-column {
    margin: 0;
    padding: clamp(10px, .9vw, 15px) clamp(8px, .75vw, 13px);
    border: 0;
    background: transparent;
}

.chart-heading {
    display: flex;
    flex: 0 0 auto;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    min-height: 44px;
    margin-bottom: clamp(8px, .75vw, 13px);
}

.eyebrow {
    margin: 0 0 5px;
    color: #8dbd42;
    font-size: clamp(7px, .62vw, 10px);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-shadow: 1px 1px #000;
}

h2 {
    margin: 0;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(12px, 1.15vw, 19px);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.35;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 #000;
}

.legend {
    display: flex;
    gap: clamp(10px, 1vw, 17px);
    padding-bottom: 3px;
    color: #d0d6ca;
    font-size: clamp(8px, .68vw, 12px);
    white-space: nowrap;
}

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-line {
    display: block;
    width: clamp(17px, 1.6vw, 27px);
    height: 3px;
    box-shadow: 0 0 8px currentColor;
}

.legend-cf {
    color: var(--cf);
    background: var(--cf);
}

.legend-google {
    color: var(--google);
    background: var(--google);
}

.chart-frame {
    position: relative;
    flex: 1 1 auto;
    min-height: 205px;
    border: clamp(2px, .22vw, 4px) solid #111918;
    outline: 1px solid #59625c;
    background:
        linear-gradient(rgba(7, 13, 14, .95), rgba(3, 8, 9, .98)),
        repeating-linear-gradient(0deg, transparent 0 19px, rgba(74, 112, 108, .06) 19px 20px);
    box-shadow:
        inset 0 0 28px #000,
        4px 4px 0 rgba(0, 0, 0, .72),
        0 0 0 2px #3b4641;
}

.chart-frame::before,
.chart-frame::after {
    content: "";
    position: absolute;
    z-index: 3;
    width: 8px;
    height: 8px;
    background: #748078;
    box-shadow: inset 2px 2px #b5bcae, inset -2px -2px #1c2521;
}

.chart-frame::before {
    top: 5px;
    left: 5px;
}

.chart-frame::after {
    right: 5px;
    bottom: 5px;
}

#latencyChart {
    display: block;
    width: 100%;
    height: 100%;
}

.chart-message {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #c9d3c8;
    text-align: center;
    pointer-events: none;
}

.chart-message[hidden] {
    display: none;
}

.chart-message strong {
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    line-height: 1.6;
}

.chart-message small {
    color: var(--muted);
}

.loading-crystal {
    width: 16px;
    height: 25px;
    margin-bottom: 7px;
    background: var(--cf);
    clip-path: polygon(50% 0, 100% 32%, 78% 100%, 22% 100%, 0 32%);
    filter: drop-shadow(0 0 8px var(--cf));
    animation: crystal 1.2s steps(4, end) infinite;
}

.chart-tooltip {
    position: absolute;
    z-index: 4;
    min-width: 150px;
    padding: 8px 10px;
    border: 3px solid #536159;
    color: #e3e8dc;
    background: rgba(5, 10, 9, .97);
    box-shadow: 4px 4px 0 #000;
    font-size: 11px;
    line-height: 1.55;
    pointer-events: none;
}

.chart-tooltip strong,
.chart-tooltip span {
    display: block;
}

.chart-tooltip .cf-value {
    color: var(--cf);
}

.chart-tooltip .google-value {
    color: var(--google);
}

.request-history {
    flex: 0 0 auto;
    min-height: 55px;
    margin-top: clamp(8px, .7vw, 12px);
    padding: 9px 11px;
    border: 3px solid #26322e;
    background: rgba(3, 8, 7, .88);
    box-shadow: 3px 3px 0 #000;
}

.history-heading {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.history-heading h3,
.stats h3 {
    margin: 0;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(7px, .58vw, 10px);
    font-weight: 400;
    letter-spacing: .03em;
    line-height: 1.4;
    text-transform: uppercase;
}

.history-heading span {
    color: #718078;
    font-size: 8px;
    text-transform: uppercase;
}

.history-heading i {
    height: 1px;
    background: linear-gradient(90deg, #52625a, #26342f);
}

.history-strip {
    display: grid;
    grid-template-columns: repeat(48, minmax(2px, 1fr));
    gap: 3px;
    min-height: 15px;
}

.history-tick {
    position: relative;
    height: 15px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #111d19;
}

.history-tick::before,
.history-tick::after {
    content: "";
    position: absolute;
    left: 1px;
    right: 1px;
    height: 4px;
    background: var(--tick-cf, #1a2923);
    box-shadow: 0 0 4px var(--tick-cf, transparent);
}

.history-tick::before {
    top: 1px;
}

.history-tick::after {
    bottom: 1px;
    background: var(--tick-google, #1a2923);
    box-shadow: 0 0 4px var(--tick-google, transparent);
}

.chart-note {
    flex: 0 0 auto;
    margin: 8px 2px 0;
    overflow: hidden;
    color: #7b887f;
    font-size: clamp(7px, .55vw, 9px);
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: clamp(43px, 3.4vw, 57px);
    padding: 7px 7px 7px 10px;
    border: 3px solid #48643b;
    outline: 2px solid #17241c;
    background:
        linear-gradient(90deg, rgba(36, 90, 31, .9), rgba(11, 29, 19, .94)),
        repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, .025) 6px 7px);
    box-shadow: inset 0 0 14px rgba(124, 228, 91, .08), 4px 4px 0 #000;
}

.live-banner.is-paused {
    border-color: #70633f;
    background: linear-gradient(90deg, rgba(77, 60, 27, .8), rgba(21, 23, 16, .92));
}

.live-banner.has-error {
    border-color: #873f35;
}

.live-banner strong,
.live-banner small {
    display: block;
}

.live-banner strong {
    color: var(--live);
    font-family: "Press Start 2P", monospace;
    font-size: clamp(9px, .83vw, 14px);
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(128, 239, 91, .52);
}

.live-banner small {
    max-width: 130px;
    margin-top: 4px;
    overflow: hidden;
    color: #a7b2a7;
    font-size: clamp(7px, .5vw, 9px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-orb {
    width: 10px;
    height: 10px;
    background: var(--live);
    box-shadow: 0 0 0 3px rgba(124, 228, 91, .12), 0 0 13px var(--live);
}

.is-paused .live-orb {
    background: var(--google);
    box-shadow: 0 0 0 3px rgba(58, 167, 255, .1);
    animation: none;
}

.has-error .live-orb {
    background: var(--danger);
    box-shadow: 0 0 9px var(--danger);
}

.icon-button,
.interval-control button,
.stats button {
    border: 2px solid #536158;
    border-radius: 0;
    background:
        linear-gradient(#17221e, #0b1311),
        repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, .03) 5px 6px);
    box-shadow: inset 2px 2px #2b3b34, 3px 3px 0 #000;
    cursor: pointer;
}

.icon-button:hover,
.interval-control button:hover,
.stats button:hover {
    border-color: var(--moss);
    color: #fff;
}

.icon-button:focus-visible,
.interval-control button:focus-visible,
.stats button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--cf);
    outline-offset: 2px;
}

.icon-button {
    width: clamp(30px, 2.35vw, 40px);
    height: clamp(30px, 2.35vw, 40px);
}

.pause-icon {
    display: inline-block;
    width: 12px;
    height: 17px;
    border-right: 4px solid #d7ddcf;
    border-left: 4px solid #d7ddcf;
}

.is-paused .pause-icon {
    width: 0;
    height: 0;
    margin-left: 3px;
    border: 8px solid transparent;
    border-right: 0;
    border-left: 12px solid #d7ddcf;
}

.controls fieldset {
    min-width: 0;
    margin: clamp(8px, .7vw, 12px) 0 0;
    padding: clamp(6px, .55vw, 9px);
    border: 2px solid #39463f;
    background: rgba(3, 8, 7, .72);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, .5);
}

.controls legend {
    padding: 0 6px;
    color: #c5c9ba;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(6px, .46vw, 8px);
    line-height: 1.4;
    text-transform: uppercase;
}

.controls fieldset > label {
    display: block;
    margin-bottom: 5px;
}

.controls label > span:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    color: #aeb8ad;
    font-size: clamp(7px, .51vw, 9px);
}

.provider-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    box-shadow: 0 0 6px currentColor;
}

.provider-cf {
    color: var(--cf);
    background: var(--cf);
}

.provider-google {
    color: var(--google);
    background: var(--google);
}

.controls input[type="text"] {
    width: 100%;
    height: clamp(25px, 1.85vw, 31px);
    padding: 4px 7px;
    border: 1px solid #435149;
    border-radius: 0;
    color: #e5eadf;
    background: #070d0c;
    box-shadow: inset 3px 3px 0 rgba(0, 0, 0, .4);
    font-size: clamp(8px, .65vw, 11px);
}

.controls fieldset > small {
    display: block;
    color: #748078;
    font-size: clamp(6px, .45vw, 8px);
    line-height: 1.15;
}

.interval-control {
    display: grid;
    grid-template-columns: clamp(27px, 2vw, 34px) minmax(0, 1fr) clamp(27px, 2vw, 34px);
    gap: 6px;
}

.interval-control button {
    min-height: clamp(30px, 2.2vw, 37px);
    font-size: 17px;
}

.interval-control label {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #46534c;
    background: #070d0c;
    box-shadow: inset 3px 3px 0 rgba(0, 0, 0, .4);
}

.interval-control input {
    width: 39px;
    border: 0;
    outline: 0;
    color: #f1f0dc;
    background: transparent;
    font-size: clamp(13px, 1.15vw, 19px);
    text-align: right;
    -moz-appearance: textfield;
}

.interval-control input::-webkit-outer-spin-button,
.interval-control input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.interval-control label span {
    color: var(--muted);
    font-size: 8px;
}

.range-label {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    color: #6e7972;
    font-size: 6px;
    text-transform: uppercase;
}

.history-limit-control {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 7px 0 4px !important;
}

.history-limit-control > span:first-child {
    margin: 0;
    white-space: nowrap;
}

.history-limit-control select {
    width: 100%;
    min-width: 0;
    height: clamp(25px, 1.85vw, 31px);
    padding: 3px 21px 3px 7px;
    border: 1px solid #435149;
    border-radius: 0;
    color: #e5eadf;
    background: #070d0c;
    box-shadow: inset 3px 3px 0 rgba(0, 0, 0, .4);
    cursor: pointer;
    font-size: clamp(7px, .55vw, 9px);
}

.stats {
    margin-top: clamp(8px, .7vw, 12px);
}

.stats > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 0 1px;
}

.stats button {
    padding: 4px 6px;
    color: #8d9a91;
    font-size: 7px;
    text-transform: uppercase;
}

.stat-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 7px;
    margin-top: 4px;
    padding: clamp(5px, .45vw, 8px);
    border: 1px solid #414d47;
    background:
        linear-gradient(90deg, rgba(241, 200, 63, .05), transparent 48%, rgba(58, 167, 255, .05)),
        #08100e;
    box-shadow: inset 3px 0 #5f531e, inset -3px 0 #1f4e72, 2px 2px #000;
}

.stat-card > span {
    grid-column: 1 / -1;
    color: #839087;
    font-size: clamp(6px, .45vw, 8px);
    text-transform: uppercase;
}

.stat-card strong {
    min-width: 0;
    overflow: hidden;
    font-size: clamp(11px, .92vw, 16px);
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stat-cf {
    color: var(--cf);
}

.stat-google {
    color: var(--google);
    text-align: right;
}

.stat-key {
    display: flex;
    justify-content: space-between;
    padding: 5px 6px 0;
    color: #7a887f;
    font-size: 7px;
}

.stat-key span {
    display: flex;
    align-items: center;
    gap: 4px;
}

footer {
    position: absolute;
    z-index: 2;
    right: 18%;
    bottom: 4.3%;
    left: 18%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #89978d;
    font-size: clamp(7px, .55vw, 9px);
    text-shadow: 1px 1px #000;
}

footer > i {
    position: relative;
    width: 45px;
    height: 1px;
    background: #69776e;
}

footer > i::after {
    content: "";
    position: absolute;
    top: -3px;
    right: 0;
    border: 4px solid transparent;
    border-right: 0;
    border-left: 6px solid #69776e;
}

footer p {
    margin: 0 0 0 12px;
    color: #6b786f;
}

noscript {
    position: fixed;
    z-index: 50;
    right: 20px;
    bottom: 20px;
    max-width: 440px;
    padding: 16px;
    border: 2px solid var(--danger);
    background: #160b09;
}

@keyframes crystal {
    50% { filter: brightness(1.5) drop-shadow(0 0 9px var(--cf)); transform: translateY(-3px); }
}

@media (min-width: 901px) and (max-width: 1300px) {
    .control-column {
        padding: 5px 6px;
    }

    .live-banner {
        gap: 5px;
        min-height: 36px;
        padding: 4px 5px 4px 7px;
        border-width: 2px;
        outline-width: 1px;
        box-shadow: inset 0 0 10px rgba(124, 228, 91, .08), 3px 3px 0 #000;
    }

    .live-banner strong {
        font-size: 8px;
    }

    .live-banner small {
        max-width: 108px;
        margin-top: 2px;
        font-size: 6px;
    }

    .live-orb {
        width: 7px;
        height: 7px;
    }

    .icon-button {
        width: 26px;
        height: 26px;
    }

    .pause-icon {
        width: 10px;
        height: 14px;
        border-width: 0 3px;
    }

    .controls fieldset {
        margin-top: 4px;
        padding: 4px 5px;
        border-width: 1px;
    }

    .controls legend {
        padding: 0 4px;
        font-size: 6px;
    }

    .controls fieldset > label {
        margin-bottom: 3px;
    }

    .controls label > span:first-child {
        gap: 4px;
        margin-bottom: 1px;
        font-size: 6px;
    }

    .controls input[type="text"] {
        height: 22px;
        padding: 2px 5px;
        font-size: 7px;
    }

    .controls fieldset > small {
        display: none;
    }

    .provider-dot {
        width: 5px;
        height: 5px;
    }

    .interval-control {
        grid-template-columns: 25px minmax(0, 1fr) 25px;
        gap: 4px;
    }

    .interval-control button {
        min-height: 25px;
        font-size: 14px;
    }

    .interval-control input {
        font-size: 11px;
    }

    .interval-control label span,
    .range-label {
        font-size: 5px;
    }

    .range-label {
        margin-top: 2px;
    }

    .history-limit-control {
        gap: 5px;
        margin: 3px 0 0 !important;
    }

    .history-limit-control select {
        height: 22px;
        padding: 2px 18px 2px 5px;
        font-size: 6px;
    }

    .stats {
        margin-top: 4px;
    }

    .stats > header {
        margin-bottom: 2px;
    }

    .stats h3 {
        font-size: 6px;
    }

    .stats button {
        padding: 2px 4px;
        font-size: 6px;
    }

    .stat-card {
        gap: 1px 5px;
        margin-top: 2px;
        padding: 3px 4px;
    }

    .stat-card > span {
        font-size: 5px;
    }

    .stat-card strong {
        font-size: 9px;
    }

    .stat-key {
        display: none;
    }
}

@media (max-width: 900px) {
    body {
        background:
            linear-gradient(rgba(2, 8, 10, .1), #040908 620px),
            url("assets/forest-dashboard-shell-v2.png") center top / auto 620px no-repeat,
            repeating-linear-gradient(135deg, #0b160e 0 14px, #07100a 14px 28px);
    }

    .page {
        width: min(100%, 760px);
        min-height: 100vh;
        aspect-ratio: auto;
        padding: 26px 15px 36px;
        background: none;
    }

    .brand-board {
        position: relative;
        top: auto;
        left: auto;
        width: min(540px, 92%);
        height: 104px;
        margin: 0 auto -17px;
        padding: 18px 25px;
        border: 7px solid #2c1c0f;
        outline: 3px solid #776046;
        background:
            linear-gradient(90deg, rgba(255,255,255,.04), transparent 20% 80%, rgba(0,0,0,.2)),
            repeating-linear-gradient(0deg, #51351e 0 8px, #402916 8px 16px);
        box-shadow: inset 0 0 0 3px #8b6539, 7px 8px #000;
    }

    .brand-board h1 {
        font-size: clamp(20px, 5vw, 34px);
    }

    .brand-board p {
        font-size: 9px;
    }

    .dashboard {
        position: relative;
        top: auto;
        left: auto;
        display: block;
        width: 100%;
        height: auto;
        padding: 36px 15px 16px;
        border: 8px solid #302015;
        outline: 3px solid #725439;
        background: rgba(7, 14, 12, .96);
        box-shadow: inset 0 0 0 4px #34423c, 9px 10px #000;
    }

    .chart-column {
        min-height: 570px;
        padding: 14px;
    }

    .chart-frame {
        min-height: 360px;
    }

    .control-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 18px;
        margin-top: 16px;
        padding: 18px;
        border: 4px solid #35433d;
        background: #0a1210;
        box-shadow: inset 0 0 25px #000;
    }

    .live-banner {
        grid-column: 1 / -1;
    }

    .controls fieldset,
    .stats {
        margin-top: 16px;
    }

    footer {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 24px;
    }
}

@media (max-width: 600px) {
    .page {
        width: calc(100% - 10px);
        padding: 14px 6px 30px;
    }

    .brand-board {
        width: 90%;
        height: 83px;
        padding-inline: 12px;
        border-width: 5px;
    }

    .brand-board h1 {
        font-size: clamp(16px, 5.4vw, 25px);
    }

    .brand-board p {
        display: none;
    }

    .dashboard {
        padding: 31px 7px 10px;
        border-width: 5px;
        outline-width: 2px;
    }

    .chart-column {
        min-height: 515px;
        padding: 10px 7px;
    }

    .chart-heading {
        display: block;
    }

    .legend {
        margin-top: 10px;
    }

    .chart-frame {
        min-height: 315px;
    }

    .history-strip {
        grid-template-columns: repeat(24, minmax(4px, 1fr));
    }

    .history-tick:nth-child(-n+24) {
        display: none;
    }

    .control-column {
        display: block;
        padding: 12px 9px;
    }

    .live-banner strong {
        font-size: 10px;
    }

    .controls legend,
    .history-heading h3,
    .stats h3 {
        font-size: 7px;
    }

    footer {
        flex-wrap: wrap;
        padding-inline: 10px;
    }

    footer p {
        flex-basis: 100%;
        margin: 4px 0 0;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
