@font-face {
    font-family: 'SMB3Secondary';
    src: url('./fonts/super-mario-brothers-3-secondary.ttf') format('truetype');
    font-display: swap;
}
body {
    font-family: 'SMB3Secondary', 'Press Start 2P', monospace, Arial, sans-serif;
    color: #ffe96b;
    background: #0866c6;
    margin: 0;
    min-height: 100vh;
    min-width: 100vw;
    overflow-x: hidden;
}
.main-center {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.timer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- CLEAN SMW OUTLINE --- */
#timerLabel, #display, #timerInput, .monochar {
    color: #ffe96b;
    font-family: inherit;
    -webkit-text-stroke: 3px #000;
    text-stroke: 3px #000;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         0px -2px 0 #000,
         0px  2px 0 #000,
        -2px  0px 0 #000,
         2px  0px 0 #000;
    image-rendering: pixelated;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.1em;
}

#timerLabel {
    font-size: 5vw;
    margin-bottom: 0.6em;
    margin-top: 0;
    text-align: center;
}

#display, #timerInput {
    font-size: 10vw;
    margin: 0;
    text-align: center;
    background: none;
    border: none;
    font-weight: bold;
    outline: none;
    width: 7.8em;
    padding: 0;
    letter-spacing: 0.1em;
    font-family: inherit;
    color: #ffe96b;
}
#display {
    word-spacing: 0;
    display: flex;
    justify-content: center;
    gap: 0em;
}

.monochar {
    display: inline-block;
    width: 1.0em;
    min-width: 1.0em;
    max-width: 1.0em;
    text-align: center;
}

.timer-controls {
    display: flex;
    gap: 1.5em;
    margin-top: 1.2em;
}
.timer-controls button {
    font-size: 1em;
    padding: 0.13em 0.6em;
    border-radius: 0.2em;
    border: none;
    background: #888;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.timer-controls button:hover {
    background: #aaf;
    color: #000;
}
