        body.wall-cinematic-chrome-hidden .timer-bar-section {
            visibility: hidden !important;
        }
        body.wall-scoring-live-bg .timer-bar-section {
            background: transparent;
        }

        /* ============================================
           Timer Bar Styles
           ============================================ */

        .timer-bar-section {
            flex-shrink: 0;
            min-height: 100px;
            height: auto;
            box-sizing: border-box;
            background: #0a0a0a;
            display: flex;
            align-items: center;
            justify-content: center;
            /* Align with .wall-footer horizontal inset */
            padding: 0.35rem 2vw;
        }

        .timer-bar-container {
            /* Match .wall-footer .footer-cartouche-frame width (no fixed px cap) */
            width: 90%;
            max-width: 90%;
            min-width: 0;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: var(--wall-timer-bar-stack-gap, 0.32rem);
        }

        .timer-bar-caption {
            margin: 0;
            padding: 0 0.25rem;
            text-align: center;
            align-self: center;
            max-width: 100%;
            box-sizing: border-box;
            font-size: var(--wall-timer-bar-caption-fs, clamp(0.7rem, 1.02vw, 0.96rem));
            letter-spacing: var(--wall-timer-bar-caption-ls, 0.18em);
            font-weight: 700;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            color: rgba(255, 255, 255, 0.94);
            text-transform: uppercase;
            line-height: 1.15;
            -webkit-font-smoothing: antialiased;
            text-wrap: balance;
            text-shadow:
                0 0 8px rgba(255, 255, 255, 0.42),
                0 0 20px rgba(160, 220, 255, 0.32),
                0 1px 4px rgba(0, 0, 0, 0.92);
        }

        .timer-bar-track {
            position: relative;
            height: 66px;
            background: rgba(0, 0, 0, 0.5);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            overflow: hidden;
            /* Full-track gradient mapping: fill width is partial but gradient spans entire bar (L→R). */
            container-type: inline-size;
        }

        /* RED → ORANGE → BLUE → CYAN → GREEN, smooth blends (OKLCH where supported). */
        .timer-bar-fill {
            --timer-bar-fill-gradient: linear-gradient(
                90deg,
                #ff1a1a 0%,
                #ff9100 25%,
                #1e6bff 50%,
                #00d9ff 75%,
                #00d957 100%
            );
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            background-color: transparent;
            background-image: var(--timer-bar-fill-gradient);
            /* Prefer full-track width so colors stay L→R across entire bar; cqw needs container-type on track. */
            background-size: 100% 100%;
            background-repeat: no-repeat;
            background-position: 0 50%;
            box-shadow:
                0 0 20px rgba(255, 255, 255, 0.15),
                inset 0 2px 10px rgba(255, 255, 255, 0.2);
            transition: width 1s linear;
            animation: shimmer 2s ease-in-out infinite alternate;
        }

        @supports (width: 1cqw) {
            .timer-bar-fill {
                background-size: 100cqw 100%;
            }
        }

        @supports (color: oklch(0.7 0.15 30)) {
            .timer-bar-fill {
                --timer-bar-fill-gradient: linear-gradient(
                    90deg in oklch,
                    red,
                    orange,
                    blue,
                    cyan,
                    green
                );
            }
        }

        @keyframes shimmer {
            0% { filter: brightness(1); }
            100% { filter: brightness(1.2); }
        }

        .timer-bar-fill.stage-warning {
            box-shadow:
                0 0 22px rgba(255, 200, 80, 0.45),
                inset 0 2px 10px rgba(255, 255, 255, 0.22);
        }

        .timer-bar-fill.stage-critical {
            box-shadow:
                0 0 24px rgba(255, 80, 80, 0.55),
                inset 0 2px 10px rgba(255, 255, 255, 0.2);
            animation: pulse-critical 1s ease-in-out infinite;
        }

        @keyframes pulse-critical {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .timer-bar-fill.timer-ended {
            animation: none;
            width: 100% !important;
        }

        .timer-bar-label {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            font-size: 2.3rem;
            font-weight: 900;
            font-family: 'Courier New', monospace;
            color: #ffffff;
            text-shadow:
                0 0 10px rgba(0, 0, 0, 0.8),
                1px 1px 4px rgba(241, 78, 69, 0.3);
            z-index: 10;
            letter-spacing: 0.05em;
            font-variant-numeric: tabular-nums;
        }

        .timer-bar-label.timer-ended {
            font-size: 0;
        }

        .timer-bar-label.timer-ended::after {
            content: "Préparez-vous à pitcher !";
            font-size: 2.3rem;
            font-weight: 900;
        }

        /* Responsive timer bar */
        @media (max-width: 768px) {
            .timer-bar-section {
                min-height: 80px;
                padding: 0.28rem 2vw;
            }

            .timer-bar-caption {
                font-size: clamp(0.58rem, 2.4vw, 0.82rem);
                letter-spacing: 0.14em;
                padding: 0 0.15rem;
            }

            .timer-bar-track {
                height: 55px;
            }

            .timer-bar-label {
                font-size: 1.7rem;
            }

            .timer-bar-label.timer-ended {
                font-size: 0;
            }

            .timer-bar-label.timer-ended::after {
                content: "Pitcher !";
                font-size: 1.7rem;
            }
        }

        @media (max-width: 480px) {
            .timer-bar-section {
                min-height: 70px;
                padding: 0.22rem 2vw;
            }

            .timer-bar-caption {
                font-size: clamp(0.52rem, 3.1vw, 0.74rem);
                letter-spacing: 0.12em;
            }

            .timer-bar-track {
                height: 44px;
            }

            .timer-bar-label {
                font-size: 1.35rem;
            }

            .timer-bar-label.timer-ended {
                font-size: 0;
            }

            .timer-bar-label.timer-ended::after {
                content: "Pitcher !";
                font-size: 1.35rem;
            }
        }

        /* Slice 205: Mur final minimaliste — barre linéaire masquée ; héros dans le flux (z-index < overlays) */
        body.wall-final-minimalist-hero .timer-bar-section {
            display: none !important;
        }
        body.wall-final-non-minimal-watermark .timer-bar-section {
            position: relative;
            z-index: 1;
        }
