:root {
    color-scheme: dark;
    --bg-1: #0b0e14;
    --bg-2: #141a24;
    --card: #ffffff0d;
    --card-border: #ffffff1a;
    --text: #eef1f6;
    --text-dim: #9aa4b5;
    --accent: #6ee7f2;
    --accent-2: #b98bff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    padding: 2.5rem 1.25rem;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(60rem 40rem at 15% -10%, #1b2b3a55, transparent),
        radial-gradient(50rem 35rem at 110% 10%, #2a1b3a55, transparent),
        linear-gradient(180deg, var(--bg-1), var(--bg-2));
    background-attachment: fixed;
}

.wrap {
    width: 100%;
    max-width: 760px;
    margin: auto;
}

.summary {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(6px);
}

.odo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.25rem;
}

.odo-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.odo-digits {
    display: flex;
    background: #00000030;
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.odo-digit {
    position: relative;
    width: 1.5rem;
    height: 2.4rem;
    overflow: hidden;
    font-size: 1.7rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
    border-right: 1px solid var(--card-border);
}

.odo-digit:last-child {
    border-right: none;
}

.odo-digit-strip {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transition: transform 0.35s cubic-bezier(.2, .9, .3, 1.2);
}

.odo-digit-strip span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.4rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

@media (max-width: 560px) {
    .grid { grid-template-columns: 1fr; }
}

.tile {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.25rem 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    backdrop-filter: blur(6px);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.tile:hover {
    transform: translateY(-2px);
    border-color: #ffffff33;
}

.value {
    font-size: clamp(0.85rem, 3vw, 1.6rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.foot {
    text-align: center;
    margin-top: 1.75rem;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.foot p {
    margin: 0;
}
