body {
    margin: 0;
    height: 100dvh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4dvh; 
    overflow: hidden;
    font-family: monospace;
}

time {
    writing-mode: vertical-lr;
    text-orientation: upright;
    white-space: pre;
    font-size: min(10dvh, calc(90vw / (var(--cols, 2) * 1.5)));
    font-weight: bold;
    line-height: 1.5; 
    letter-spacing: 0.5em; 
    height: 55dvh;
    text-align: center;
    flex: 0 0 auto;
}

input[type="range"] {
    width: 80vw;
    max-width: 600px;
    cursor: pointer;
    flex: 0 0 auto;
    outline: none;
}

body::after {
    content: attr(data-n);
    writing-mode: vertical-lr;
    text-orientation: upright;
    white-space: pre;
    font-size: min(4dvh, 2rem); 
    font-weight: bold;
    line-height: 1.5; 
    letter-spacing: 0.1em; 
    height: 16dvh; 
    text-align: center;
    flex: 0 0 auto;
}
