body {
    background-color: #000000;
    color: #ff0000;
    /* 見出しはOrbitronを維持 */
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    overflow: hidden;
}

/* --- ↓↓↓ このURLが、ご提示いただいたリンク先にある正しいファイルパスです ↓↓↓ --- */
@font-face {
  font-family: 'DSEG7';
  /* 太字で見やすいBoldバージョンを指定 */
  src: url('https://cdn.jsdelivr.net/npm/dseg@0.46.0/fonts/DSEG14-Classic/DSEG14Classic-Bold.woff') format('woff2');
}


.container {
    width: 95%;
    margin: 0 auto;
    /* --- ↓↓↓ ここから変更 ↓↓↓ --- */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* --- ↑↑↑ ここまで変更 ↑↑↑ --- */
}

#title {
    font-family: 'DSEG7', monospace;
    font-size: clamp(1.5rem, 4.5vw, 3.75rem);
    white-space: normal;
    margin-bottom: 20px;
    font-weight: normal;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
    font-variant-numeric: tabular-nums;
}

#timer {
    font-family: 'DSEG7', monospace;
    /* --- ↓↓↓ ここから変更 ↓↓↓ --- */
    /* 画面幅に応じたフォントサイズを調整してはみ出しを防止 */
    font-size: clamp(2.5rem, 12vw, 11rem);
    white-space: nowrap; /* タイマーの数字は改行させない */
    /* --- ↑↑↑ ここまで変更 ↑↑↑ --- */
    letter-spacing: 0.05em;
    text-shadow: 0 0 6px rgba(255, 0, 0, 0.9), 0 0 12px rgba(255, 0, 0, 0.5);
    animation: blink 1.5s infinite alternate;
}

@keyframes blink {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.8;
    }
}

#centiseconds {
    font-size: 0.8em;
    color: #dd0000;
    text-shadow: 0 0 4px rgba(255, 0, 0, 0.6);
}


#message {
    font-size: clamp(40px, 8vw, 120px);
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
}

.hidden {
    display: none;
}