* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    background: #101114;
    color: #ffffff;

    font-family: Arial, sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;
}

.app {
    width: min(700px, 92%);
    text-align: center;
}

h1 {
    margin-bottom: 30px;
}

.meter {
    width: 300px;
    height: 300px;

    margin: 0 auto 30px;

    border: 10px solid #30343b;
    border-radius: 50%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.speed-value {
    font-size: 64px;
    font-weight: bold;
}

.speed-unit {
    margin-top: 5px;
    font-size: 22px;
}

.status {
    margin-top: 18px;
    font-size: 15px;
    color: #b9bec7;
}

button {
    padding: 14px 34px;

    border: 0;
    border-radius: 25px;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.results {
    margin-top: 35px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.result-card {
    padding: 18px;

    border: 1px solid #343840;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-card span {
    color: #aeb4be;
}

.result-card strong {
    font-size: 20px;
}

.result-card small {
    color: #8f97a3;
    line-height: 1.35;
}

.debug {
    margin-top: 20px;
    color: #9da4af;
}

@media (max-width: 600px) {
    .meter {
        width: 250px;
        height: 250px;
    }

    .speed-value {
        font-size: 52px;
    }

    .results {
        grid-template-columns: 1fr;
    }
}
