        .wall-page {
            background: var(--bg-darker);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

        /* Wait/reveal background for centered end-state screens (semi/final validated). */
        body.wait-reveal-view {
            background: url(../../images/backgrounds/background_wait_reveal.png) center/cover no-repeat fixed;
        }

        /* Demi-finale ouverte + finale ouverte (physique / balles) : fond plein écran */
        /* Slice 251: image seule + assombrissement en ::before (rampe ciné vers opacité 0). */
        body.wall-scoring-live-bg {
            background-color: var(--bg-darker);
            background-image: url(../../images/backgrounds/background-wall.png);
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
        body.wall-scoring-live-bg::before {
            content: '';
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.52));
            opacity: 1;
            transition: opacity 2s ease;
        }
        body.wall-scoring-live-bg.wall-epic-ramp-active::before {
            opacity: 0;
        }
        body.wall-scoring-live-bg.wall-epic-cinematic-bg::before {
            opacity: 0;
            transition: none;
        }
        @media (prefers-reduced-motion: reduce) {
            body.wall-scoring-live-bg.wall-epic-ramp-active::before {
                transition: none;
            }
        }
        /* Contenu au-dessus du voile ::before (z-index 0) — exclure fixed (confetti, timer notif, hint, message overlay) */
        /* CT-97 : exclure aussi #wallStepBallOverlay (calque animation boule, fixed plein viewport, z-index 9999). */
        body.wall-scoring-live-bg.wall-page > *:not(#fullscreenConfetti):not(#wallStepBallOverlay):not(#timerNotification):not(#soundUnlockHint):not(#messageOverlay):not(#timerCountdownVideo):not(.notification-badge):not(.pending-notifications-badge) {
            position: relative;
            z-index: 1;
        }
        /* Mur final minimaliste uniquement : image dédiée ; la finale par défaut garde background-wall.png */
        body.wall-scoring-live-bg.wall-final-minimalist-hero {
            background-image: url(../../images/backgrounds/background-finale-minimale.png);
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
        /* Slice 251 : chrome caché pendant 10→1 (notification exclue). */
        /* CT-97 : aligner #wallStepBallOverlay avec #fullscreenConfetti (éviter boule fantôme pendant cinématique). */
        body.wall-cinematic-chrome-hidden .wall-header,
        body.wall-cinematic-chrome-hidden .wall-footer,
        body.wall-cinematic-chrome-hidden .wall-final-partner-watermark,
        body.wall-cinematic-chrome-hidden #soundUnlockHint,
        body.wall-cinematic-chrome-hidden #fullscreenConfetti,
        body.wall-cinematic-chrome-hidden #wallStepBallOverlay {
            visibility: hidden !important;
        }
        body.wall-scoring-live-bg .wall-footer {
            background: transparent;
        }

        body.wait-reveal-view .wall-footer {
            background: transparent;
        }

        /* Center wait/reveal blocks in remaining space between header and footer. */
        body.wait-reveal-view .wall-container {
            padding: 0;
        }

        /* Semi wait: push CCQ logo lower in header area (below top edge). */
        body.semi-wait-view .wall-header {
            padding-top: 4.5rem;
        }

        @keyframes waitRevealPulse {
            0%, 100% {
                transform: scale(1);
                opacity: 0.88;
            }
            50% {
                transform: scale(1.035);
                opacity: 1;
            }
        }

        /* Compact Header */
        .wall-header {
            flex-shrink: 0;
            padding: 0.75rem 2rem;
            text-align: center;
        }

        .wall-header-title h1 {
            margin: 0;
            font-size: 1.4rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #ffffff;
            text-shadow: 1px 1px 4px rgba(241, 78, 69, 0.3);
        }

        .wall-container {
            flex: 1;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            overflow: hidden;
        }

        /* Footer — proportionnel (1080p, 4K, etc.) */
        .wall-footer {
            flex-shrink: 0;
            min-height: 18vh;
            background: #0a0a0a;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 2vw;
            position: relative;
        }

        /* Mur seul : espacement logos footer rotation (base : style.css .footer-rotation-logos gap 1rem) */
        .wall-footer .footer-rotation-logos {
            gap: clamp(2rem, 4vw, 5rem);
        }

        /* Slice 136a prep screen → Slice 263: styles in assets/css/wall/wall-prep.css (body.prep-view only). */

        /* Slice 247: filtered wall (?partner=) — same flex contract as multi-partner wall */
        .single-partner-view .wall-container {
            min-height: 0;
            padding: 1rem;
        }

        .single-partner-view .partner-row-container {
            flex: 1;
            min-height: 0;
        }

        .columns-header-row {
            display: flex;
            gap: 1rem;
            margin-bottom: 0.5rem;
            flex-shrink: 0;
        }

        .partner-info-placeholder {
            width: 200px;
            min-width: 200px;
            flex-shrink: 0;
        }

        /* Même largeur que .partner-info.partner-info--inline (min-width 260px) quand admin affiche logo+noms */
        .columns-header-row--partner-labels-inline .partner-info-placeholder {
            width: 260px;
            min-width: 260px;
        }

        .column-header-global {
            background: transparent;
            border-radius: 0;
            padding: 1rem;
            text-align: center;
            border: none;
            position: relative;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
        }

        /* Slice 307b: actif/inactif — mode image (--step-image) vs chiffres */
        .column-header-global--active.column-header-global--step-image {
            transform: scale(1.15);
            box-shadow: none;
            z-index: 1;
        }

        .column-header-global--active .column-header-step-img {
            animation: none;
            filter: brightness(1.5) saturate(1.3);
        }

        /* Assombrissement du bloc étape (pas sur l’img : sinon les keyframes breathe écrasent filter) */
        .column-header-global.column-header-global--step-image:not(.column-header-global--active) {
            filter: brightness(0.5) saturate(0.6);
        }

        .column-header-global--active:not(.column-header-global--step-image) {
            box-shadow: none;
            z-index: 1;
        }

        .column-header-global--active:not(.column-header-global--step-image) .column-header-number-bg {
            transform: scale(1.12);
            transform-origin: center center;
            filter: brightness(1.3);
        }

        .column-header-global:not(.column-header-global--active):not(.column-header-global--step-image) .column-header-number-bg {
            opacity: 0.45;
        }

        .column-header-number-bg {
            position: absolute;
            font-size: 6rem;
            font-weight: 900;
            opacity: 0.35;
            line-height: 1;
            z-index: 1;
        }

        .column-header-label {
            position: relative;
            z-index: 2;
            font-size: 1.3rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Slice 281 — respiration en salle : un cran sous la version « forte », toujours lisible */
        @keyframes wall-step-header-img-breathe {
            from {
                opacity: 0.62;
                filter: brightness(0.92) saturate(1);
                transform: scale(1);
            }
            to {
                opacity: 0.96;
                filter: brightness(1.1) saturate(1.06);
                transform: scale(1.035);
            }
        }

        /* Slice 281 — mur desktop : image étape seule (repli JS vers chiffre + libellé si hors 1–4 ou erreur chargement) */
        .column-header-global.column-header-global--step-image {
            height: auto;
            min-height: 132px;
            flex-direction: column;
            justify-content: center;
            gap: 0;
        }

        .column-header-step-visual {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-width: 0;
            flex: 1 1 auto;
        }

        .column-header-step-img {
            display: block;
            max-width: 100%;
            width: auto;
            height: auto;
            max-height: min(120px, 22vh);
            object-fit: contain;
            transform-origin: center center;
            animation: wall-step-header-img-breathe 4.8s ease-in-out infinite alternate;
        }

        @media (prefers-reduced-motion: reduce) {
            .column-header-step-img {
                animation: none;
                opacity: 0.8;
                filter: none;
                transform: none;
            }
        }

        .partner-row-container {
            flex: 1;
            display: flex;
            gap: 1rem;
            align-items: stretch;
            min-height: 0;
        }

        .partner-info {
            width: 200px;
            background: transparent;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 1rem;
        }

        .partner-info img {
            max-height: 80px;
            max-width: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        /* Slice: semi-final partner labels (v2) as inline row */
        .partner-info.partner-info--inline {
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 0.75rem;
            min-width: 260px;
        }

        .partner-info.partner-info--inline img {
            max-height: 50px;
        }

        .partner-info.partner-info--inline .partner-info-name {
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .partner-info-name {
            font-size: 0.9rem;
            font-weight: 700;
            text-align: center;
            text-transform: uppercase;
            display: none;  /* Caché par défaut, contrôlé par paramètre admin */
        }

        .partner-info-name.visible {
            display: block;
        }

        .bins-container {
            flex: 1;
            display: grid;
            gap: 1rem;
            min-height: 0;
        }

        .bin {
            background: var(--bg-dark);
            border-radius: 12px;
            border: 2px solid var(--border-color);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        /* Slice 165: hide wall content during countdown and pitch finale */
        body.pitch-finale-active .wall-container,
        body.countdown-wall-active .wall-container {
            visibility: hidden;
        }

        /* Slice 165: team list inside pitch finale notification (final mode only) */
        .pitch-finale-team-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem 1.5rem;
            max-width: 80vw;
            margin-bottom: 1.2rem;
        }
        .pitch-finale-team-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            max-width: 28ch;
        }
        .pitch-finale-team-ball {
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .pitch-finale-team-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: #ffffff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 26ch;
        }

        /* Bacs vides - atténués visuellement */
        .bin.empty {
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.15);
            opacity: 0.7;
        }

        /* Bacs actifs - couleur d'étape visible */
        .bin.active {
            background: rgba(0, 0, 0, 0.3);
            border: 2px solid var(--step-color);
            box-shadow:
                0 0 25px rgba(var(--step-color-rgb), 0.3),
                inset 0 0 15px rgba(var(--step-color-rgb), 0.1);
            opacity: 1;
        }

        .bin-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Step info in bin background for mobile */
        .bin-step-info {
            position: absolute;
            top: 0.5rem;
            left: 0.5rem;
            z-index: 10;
            pointer-events: none;
        }

        .bin-step-number {
            font-size: 1.5rem;
            font-weight: 900;
            opacity: 0.5;
            line-height: 1;
        }

        .bin-step-label {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 0.2rem;
        }

        /* Notification badge - grand écran */
        .notification-badge {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background: rgba(8, 12, 26, 0.95);
            color: white;
            padding: 3rem 3.5rem;
            border-radius: 28px;
            z-index: 9999;
            width: min(900px, 92vw);
            border: 4px solid;
            box-shadow:
                0 30px 90px rgba(0, 0, 0, 0.65),
                0 0 35px rgba(0, 0, 0, 0.4);
            transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
            opacity: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .notification-badge.show {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        /* Badge des équipes en attente */
        .pending-notifications-badge {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 9998;
            max-width: 300px;
            border: 2px solid #00a651;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(-20px);
        }

        .pending-notifications-badge.show {
            opacity: 1;
            transform: translateY(0);
        }

        .pending-notifications-badge .pending-title {
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #00a651;
        }

        .pending-notifications-badge .pending-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .pending-notifications-badge .pending-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.3rem 0;
            font-size: 0.85rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .pending-notifications-badge .pending-item:last-child {
            border-bottom: none;
        }

        .pending-notifications-badge .pending-item-partner {
            font-size: 0.75rem;
            font-weight: 600;
            color: #00a651;
            min-width: 80px;
        }

        .pending-notifications-badge .pending-item-ball {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 900;
            color: white;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            flex-shrink: 0;
        }

        .pending-notifications-badge .pending-item-name {
            font-size: 0.8rem;
            font-weight: 500;
        }

        .notification-header {
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .notification-badge .partner-logo {
            height: 140px;
            max-width: 260px;
            width: auto;
            object-fit: contain;
            filter: drop-shadow(0 10px 25px rgba(0,0,0,0.45));
        }

        .notification-body {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.4rem;
            text-align: center;
        }

        .notification-team {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .notification-team .team-ball {
            width: 78px;
            height: 78px;
            border-radius: 50%;
            border: 4px solid rgba(255, 255, 255, 0.35);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        }

        .notification-team .team-name {
            font-size: 2.8rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
        }

        .notification-step-callout {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.15rem;
        }

        .notification-step-callout .step-title {
            font-size: 1.7rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.62);
            text-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
        }

        .notification-timeline {
            width: 100%;
            padding-top: 0.5rem;
        }

        .timeline-track {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
            width: 100%;
        }

        .notification-badge .timeline-step {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.45rem;
            flex: 1;
            min-width: 90px;
            text-align: center;
            --timeline-color-rgb: 255, 255, 255;
            transition: transform 0.3s ease;
            background: transparent;
        }

        .timeline-step::after {
            content: '';
            position: absolute;
            top: 34px;
            left: calc(50% + 36px);
            right: -50%;
            height: 4px;
            background: linear-gradient(90deg, rgba(var(--timeline-color-rgb), 0.2), rgba(var(--timeline-color-rgb), 0));
            border-radius: 2px;
            pointer-events: none;
            opacity: 0.35;
        }

        .timeline-step:last-child::after {
            display: none;
        }

        .timeline-node {
            width: 68px;
            height: 68px;
            border-radius: 50%;
            border: 6px solid rgba(var(--timeline-color-rgb), 0.25);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.65);
            letter-spacing: 0.08em;
        }

        .timeline-step-current .timeline-node {
            background: rgba(var(--timeline-color-rgb), 0.22);
            border-color: rgba(var(--timeline-color-rgb), 0.75);
            box-shadow:
                0 0 25px rgba(var(--timeline-color-rgb), 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
            transform: scale(1.38);
            font-size: 1.55rem;
        }

        .timeline-label {
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: rgba(255, 255, 255, 0.6);
            max-width: 160px;
            line-height: 1.2;
            margin-top: 0.55rem;
        }

        .timeline-step-current .timeline-label {
            color: rgba(var(--timeline-color-rgb), 0.95);
            font-weight: 800;
        }

        .timeline-step-completed .timeline-node {
            border-color: rgba(180, 190, 210, 0.35);
            background: rgba(220, 225, 235, 0.12);
            filter: grayscale(1);
            opacity: 0.25;
            color: rgba(255, 255, 255, 0.5);
        }

        .timeline-step-completed .timeline-label {
            color: rgba(255, 255, 255, 0.4);
        }

        .timeline-step-completed::after {
            opacity: 0.16;
            background: linear-gradient(90deg, rgba(var(--timeline-color-rgb), 0.12), rgba(var(--timeline-color-rgb), 0));
        }

        .timeline-step-upcoming .timeline-node {
            border-color: rgba(200, 210, 230, 0.25);
            background: rgba(240, 245, 255, 0.05);
            filter: grayscale(1);
            opacity: 0.2;
            color: rgba(255, 255, 255, 0.35);
        }

        .timeline-step-upcoming .timeline-label {
            color: rgba(255, 255, 255, 0.3);
        }

        .timeline-step-upcoming::after {
            opacity: 0.1;
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
        }

        @media (max-width: 900px) {
            .notification-badge {
                padding: 2.5rem 2.25rem;
                transform: translate(-50%, -50%) scale(0.95);
            }
            .notification-team .team-name {
                font-size: 2.4rem;
            }
            .notification-step-callout .step-name {
                font-size: 1.9rem;
            }
            .timeline-track {
                gap: 0.75rem;
            }
        }

        @media (max-width: 640px) {
            .notification-badge {
                width: 96vw;
                padding: 2rem 1.5rem;
            }
            .notification-badge .partner-logo {
                height: 100px;
            }
            .notification-team {
                gap: 1rem;
            }
            .notification-team .team-ball {
                width: 64px;
                height: 64px;
            }
            .notification-team .team-name {
                font-size: 2rem;
            }
            .notification-step-callout .step-title {
                font-size: 1.6rem;
            }
            .timeline-track {
                flex-wrap: wrap;
                gap: 1.25rem 0.6rem;
                justify-content: center;
            }
            .timeline-step {
                flex: 1 1 40%;
                min-width: 120px;
            }
            .timeline-step::after {
                display: none;
            }
        }

        .notification-badge .step-info {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .notification-badge .step-label {
            font-size: 2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        @keyframes pulse-border {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }

        .bin.celebrating {
            animation: pulse-border 0.6s ease 5;
            border-color: white !important;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
        }

        @keyframes pulse-glow {
            0% {
                text-shadow: 0 0 10px #00a651, 0 0 20px #00a651, 0 0 30px #00a651;
            }
            100% {
                text-shadow: 0 0 15px #00a651, 0 0 25px #00a651, 0 0 35px #00a651;
            }
        }

        /* Desktop footer — dimensions définies dans assets/css/shared/style.css (.footer-cartouche-frame) */

        /* Brave browser compatibility fixes */
        @supports not (display: grid) {
            .bins-container {
                display: flex !important;
                flex-wrap: wrap !important;
            }
            .bins-container > * {
                flex: 1 1 45% !important;
                margin: 0.25rem !important;
            }
        }

        /* Mobile footer adjustments for wall page */
        @media (max-width: 768px) {
            .wall-footer {
                background: transparent !important;
                height: auto !important;
                padding: 1rem 0 !important;
            }
            
            /* Footer simplifié : voir style.css @media (max-width: 768px) .wall-footer .footer-cartouche-frame */
            
            .wall-footer .cartouche-logo {
                height: 80px !important;
            }
            
            /* Slice 241a: CCQ est en colonne 1 du tableau — masquer la colonne CCQ, garder les partenaires (Jeux-Qc, etc.) */
            .wall-footer .cartouche-row-labels .cartouche-cell-label:first-child,
            .wall-footer .cartouche-row-logos .cartouche-cell-logo:first-child {
                display: none !important;
            }
            
            .wall-footer .cartouche-text {
                display: none !important;
            }
            
            /* Reduce column header size on mobile */
            .column-header-global {
                height: 50px !important;
                padding: 0.5rem !important;
            }
            
            .column-header-number-bg {
                font-size: 3rem !important;
            }
            
            .column-header-label {
                font-size: 0.8rem !important;
                letter-spacing: 0.5px !important;
            }
            
            /* Tablet grid layout: 2 columns, 2 rows */
            .columns-header-row {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                grid-template-rows: 1fr 1fr !important;
                gap: 0.5rem !important;
            }
            
            .bins-container {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                grid-template-rows: 1fr 1fr !important;
                gap: 0.5rem !important;
            }
            
            /* Override JavaScript inline styles */
            .bins-container[style*="grid-template-columns"] {
                grid-template-columns: 1fr 1fr !important;
                grid-template-rows: 1fr 1fr !important;
            }

            /* Brave browser fallback for grid issues */
            @supports not (grid-template-columns: 1fr 1fr) {
                .columns-header-row {
                    display: flex !important;
                    flex-wrap: wrap !important;
                }
                .columns-header-row > * {
                    flex: 1 1 45% !important;
                    margin: 0.25rem !important;
                }
                .bins-container {
                    display: flex !important;
                    flex-wrap: wrap !important;
                }
                .bins-container > * {
                    flex: 1 1 45% !important;
                    margin: 0.25rem !important;
                }
            }
            
            /* Ensure labels stay above their corresponding bins */
            .columns-header-row .column-header-global:nth-child(1) {
                grid-column: 1;
                grid-row: 1;
            }
            
            .columns-header-row .column-header-global:nth-child(2) {
                grid-column: 2;
                grid-row: 1;
            }
            
            .columns-header-row .column-header-global:nth-child(3) {
                grid-column: 1;
                grid-row: 2;
            }
            
            .columns-header-row .column-header-global:nth-child(4) {
                grid-column: 2;
                grid-row: 2;
            }
        }

        @media (max-width: 480px) {
            .wall-footer {
                background: transparent !important;
                height: auto !important;
                padding: 1rem 0 !important;
            }
            
            /* Footer simplifié : voir style.css @media (max-width: 480px) .wall-footer .footer-cartouche-frame */
            
            .wall-footer .cartouche-logo {
                height: 80px !important;
            }
            
            /* Slice 241a: même logique que 768px — colonne CCQ masquée */
            .wall-footer .cartouche-row-labels .cartouche-cell-label:first-child,
            .wall-footer .cartouche-row-logos .cartouche-cell-logo:first-child {
                display: none !important;
            }
            
            .wall-footer .cartouche-text {
                display: none !important;
            }
            
            /* Reduce column header size on mobile */
            .column-header-global {
                height: 45px !important;
                padding: 0.4rem !important;
            }
            
            .column-header-number-bg {
                font-size: 2.5rem !important;
            }
            
            .column-header-label {
                font-size: 0.7rem !important;
                letter-spacing: 0.3px !important;
            }
            
            /* Mobile grid layout: 2 columns, 2 rows */
            .columns-header-row {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                grid-template-rows: 1fr 1fr !important;
                gap: 0.5rem !important;
            }
            
            .bins-container {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                grid-template-rows: 1fr 1fr !important;
                gap: 0.5rem !important;
            }
            
            /* Override JavaScript inline styles */
            .bins-container[style*="grid-template-columns"] {
                grid-template-columns: 1fr 1fr !important;
                grid-template-rows: 1fr 1fr !important;
            }

            /* Brave browser fallback for mobile grid issues */
            @supports not (grid-template-columns: 1fr 1fr) {
                .columns-header-row {
                    display: flex !important;
                    flex-wrap: wrap !important;
                }
                .columns-header-row > * {
                    flex: 1 1 45% !important;
                    margin: 0.25rem !important;
                }
                .bins-container {
                    display: flex !important;
                    flex-wrap: wrap !important;
                }
                .bins-container > * {
                    flex: 1 1 45% !important;
                    margin: 0.25rem !important;
                }
            }
            
            /* Ensure labels stay above their corresponding bins */
            .columns-header-row .column-header-global:nth-child(1) {
                grid-column: 1;
                grid-row: 1;
            }
            
            .columns-header-row .column-header-global:nth-child(2) {
                grid-column: 2;
                grid-row: 1;
            }
            
            .columns-header-row .column-header-global:nth-child(3) {
                grid-column: 1;
                grid-row: 2;
            }
            
            .columns-header-row .column-header-global:nth-child(4) {
                grid-column: 2;
                grid-row: 2;
            }
            
            /* Hide back button in header on mobile */
            .wall-header .btn {
                display: none !important;
            }
            
            /* Mobile back button styles */
            .mobile-back-button {
                display: block !important;
                text-align: center !important;
                margin: 1rem 0 !important;
            }
            
            .mobile-back-button .btn {
                display: inline-block !important;
                padding: 0.75rem 1.5rem !important;
                font-size: 1rem !important;
            }
        }

        @media (min-width: 769px) {
            /* Hide mobile back button on desktop */
            .mobile-back-button {
                display: none !important;
            }
        }


        /* DSEG7 Modern Bold — segments épais (SIL OFL, voir src/assets/fonts/DSEG-LICENSE.txt) */
        @font-face {
            font-family: 'DSEG7Modern';
            src: url('../../fonts/DSEG7Modern-Bold.woff2') format('woff2');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        body.wall-final-minimalist-hero .wall-header {
            padding-top: 2rem;
        }
        body.wall-final-minimalist-hero .wall-finale-branding {
            margin-top: 0.5rem;
        }
        body.wall-final-minimalist-hero #wallContainer {
            justify-content: center;
            align-items: center;
            min-height: 0;
            overflow-x: hidden;
            overflow-y: auto;
        }
        /*
         * Finalistes : nombre de colonnes fixé par JS (--wall-min-finalists-cols) pour tenir chaque nom
         * sur une seule ligne sans troncature (mesure typo réelle + display profile).
         */

        /* Finalistes sous le compteur (mur final minimaliste seulement) */
        @keyframes wall-hero-finalist-swatch-pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow:
                    0 0 10px rgba(255, 255, 255, 0.42),
                    0 0 28px rgba(255, 255, 255, 0.22);
            }
            50% {
                transform: scale(1.38);
                box-shadow:
                    0 0 22px rgba(255, 255, 255, 0.65),
                    0 0 52px rgba(255, 255, 255, 0.35);
            }
        }
        /* Finalistes : typo / largeur / gouttières pilotées par projection-profiles.css (--wall-min-finalists-*) */
        body.wall-final-minimalist-hero .wall-hero-finalists {
            display: grid;
            grid-template-columns: repeat(var(--wall-min-finalists-cols, 3), minmax(0, 1fr));
            align-content: start;
            justify-content: center;
            justify-items: center;
            gap: var(--wall-min-finalists-gap-row, 1.35rem) var(--wall-min-finalists-gap-col, 2rem);
            width: var(--wall-min-finalists-maxw, min(97vw, 82rem));
            max-width: 100%;
            margin-top: var(--wall-min-finalists-mt, 3.5rem);
            margin-left: auto;
            margin-right: auto;
            padding: 0 var(--wall-min-finalists-px, 1.35rem) var(--wall-min-finalists-pb, 1.6rem);
            box-sizing: border-box;
        }
        body.wall-final-minimalist-hero .wall-hero-finalist {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: var(--wall-min-finalists-row-gap, 0.85rem);
            width: max-content;
            max-width: none;
            align-self: start;
            justify-self: center;
            overflow: visible;
        }
        body.wall-final-minimalist-hero .wall-hero-finalist__swatch {
            flex-shrink: 0;
            width: var(--wall-min-finalists-swatch, 1.32rem);
            height: var(--wall-min-finalists-swatch, 1.32rem);
            border: none;
            border-radius: 50%;
            animation: wall-hero-finalist-swatch-pulse 2.5s ease-in-out infinite;
        }
        /* Pulsations décalées (CSS pur, cycle 5 positions — ne se resynchronise pas visuellement) */
        body.wall-final-minimalist-hero .wall-hero-finalist:nth-child(5n + 1) .wall-hero-finalist__swatch {
            animation-delay: 0s;
            animation-duration: 2.45s;
        }
        body.wall-final-minimalist-hero .wall-hero-finalist:nth-child(5n + 2) .wall-hero-finalist__swatch {
            animation-delay: 0.49s;
            animation-duration: 2.62s;
        }
        body.wall-final-minimalist-hero .wall-hero-finalist:nth-child(5n + 3) .wall-hero-finalist__swatch {
            animation-delay: 0.95s;
            animation-duration: 2.38s;
        }
        body.wall-final-minimalist-hero .wall-hero-finalist:nth-child(5n + 4) .wall-hero-finalist__swatch {
            animation-delay: 0.22s;
            animation-duration: 2.7s;
        }
        body.wall-final-minimalist-hero .wall-hero-finalist:nth-child(5n + 5) .wall-hero-finalist__swatch {
            animation-delay: 1.18s;
            animation-duration: 2.55s;
        }
        body.wall-final-minimalist-hero .wall-hero-finalist__name {
            flex: 0 0 auto;
            min-width: max-content;
            font-size: clamp(
                var(--wall-min-finalists-font-min, 1.28rem),
                var(--wall-min-finalists-font-vw, 2.9vw),
                var(--wall-min-finalists-font-max, 1.92rem)
            );
            font-weight: 700;
            line-height: var(--wall-min-finalists-line-height, 1.38);
            color: rgba(255, 255, 255, 0.96);
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.35);
            white-space: nowrap;
            overflow: visible;
            text-overflow: clip;
        }
        @media (prefers-reduced-motion: reduce) {
            body.wall-final-minimalist-hero .wall-hero-finalist__swatch {
                animation: none;
                transform: none;
                box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
            }
        }
        .wall-hero-timeline {
            border-radius: 1.5rem;
            padding: 2rem 2.5rem;
            background: rgba(20, 20, 24, 0.92);
            border: 2px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
            text-align: center;
            max-width: min(96vw, 920px);
        }
        /* Compteur seul sur le fond du mur (pas de cartouche) */
        body.wall-final-minimalist-hero .wall-hero-timeline {
            background: transparent;
            border: none;
            box-shadow: none;
            border-radius: 0;
            padding: 0;
            max-width: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.1rem;
        }
        @keyframes wall-hero-progress-shimmer-ok {
            0%, 100% {
                box-shadow:
                    0 0 4px rgba(80, 255, 170, 0.32),
                    0 0 12px rgba(0, 255, 120, 0.14);
            }
            50% {
                box-shadow:
                    0 0 6px rgba(180, 255, 220, 0.36),
                    0 0 16px rgba(0, 255, 150, 0.18);
            }
        }
        @keyframes wall-hero-progress-shimmer-low {
            0%, 100% {
                box-shadow:
                    0 0 4px rgba(255, 100, 100, 0.34),
                    0 0 12px rgba(255, 40, 40, 0.16);
            }
            50% {
                box-shadow:
                    0 0 6px rgba(255, 150, 150, 0.4),
                    0 0 18px rgba(255, 60, 60, 0.2);
            }
        }
        @keyframes wall-hero-progress-shimmer-ended {
            0%, 100% {
                box-shadow:
                    0 0 4px rgba(255, 200, 120, 0.3),
                    0 0 12px rgba(255, 160, 60, 0.12);
            }
            50% {
                box-shadow:
                    0 0 6px rgba(255, 210, 140, 0.38),
                    0 0 16px rgba(255, 170, 80, 0.18);
            }
        }
        body.wall-final-minimalist-hero .wall-hero-timeline__progress {
            width: min(92vw, 38rem);
            height: 8px;
            border-radius: 9999px;
            background: rgba(0, 0, 0, 0.42);
            box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.55);
            overflow: hidden;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-stage-ok {
            --hero-progress-fill: #39ff8d;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-hero-low-time {
            --hero-progress-fill: #ff3a3a;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-ended {
            --hero-progress-fill: #ffb347;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline__progress-fill {
            height: 100%;
            width: 100%;
            border-radius: inherit;
            transform-origin: left center;
            transition: width 1s linear;
            background: var(--hero-progress-fill, #39ff8d);
            animation: wall-hero-progress-shimmer-ok 3.4s ease-in-out infinite;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-stage-ok .wall-hero-timeline__progress-fill {
            animation: wall-hero-progress-shimmer-ok 3.4s ease-in-out infinite;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-hero-low-time .wall-hero-timeline__progress-fill {
            animation: wall-hero-progress-shimmer-low 1.9s ease-in-out infinite;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-ended .wall-hero-timeline__progress-fill {
            animation: wall-hero-progress-shimmer-ended 2.8s ease-in-out infinite;
        }
        #wallHeroTime {
            font-size: clamp(2.5rem, 8vw, 6rem);
            font-weight: 900;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.04em;
            color: #fff;
        }
        .wall-hero-timeline.is-ended #wallHeroTime {
            color: #ffb347;
        }

        /* Slice 205+: compteur héros — style LED années 80 (uniquement minimaliste) */
        @keyframes wall-hero-digit-shimmer-ok {
            0%, 100% {
                filter: brightness(1) drop-shadow(0 0 4px rgba(80, 255, 170, 0.32)) drop-shadow(0 0 12px rgba(0, 255, 120, 0.14));
                text-shadow:
                    0 0 2px rgba(220, 255, 235, 0.5),
                    0 0 8px rgba(100, 255, 180, 0.32),
                    0 0 18px rgba(0, 255, 140, 0.2);
            }
            50% {
                filter: brightness(1.05) drop-shadow(0 0 6px rgba(180, 255, 220, 0.36)) drop-shadow(0 0 16px rgba(0, 255, 150, 0.18));
                text-shadow:
                    0 0 4px rgba(255, 255, 255, 0.22),
                    0 0 11px rgba(140, 255, 200, 0.45),
                    0 0 22px rgba(0, 255, 160, 0.28);
            }
        }
        @keyframes wall-hero-digit-shimmer-low {
            0%, 100% {
                filter: brightness(1) drop-shadow(0 0 4px rgba(255, 100, 100, 0.34)) drop-shadow(0 0 12px rgba(255, 40, 40, 0.16));
                text-shadow:
                    0 0 2px rgba(255, 220, 220, 0.5),
                    0 0 9px rgba(255, 80, 80, 0.38),
                    0 0 18px rgba(255, 30, 30, 0.22);
            }
            50% {
                filter: brightness(1.06) drop-shadow(0 0 6px rgba(255, 150, 150, 0.4)) drop-shadow(0 0 18px rgba(255, 60, 60, 0.2));
                text-shadow:
                    0 0 4px rgba(255, 255, 255, 0.2),
                    0 0 12px rgba(255, 100, 100, 0.45),
                    0 0 26px rgba(255, 50, 50, 0.32);
            }
        }
        @keyframes wall-hero-digit-shimmer-ended {
            0%, 100% {
                filter: brightness(1) drop-shadow(0 0 4px rgba(255, 200, 120, 0.3)) drop-shadow(0 0 12px rgba(255, 160, 60, 0.12));
                text-shadow:
                    0 0 2px rgba(255, 235, 200, 0.45),
                    0 0 9px rgba(255, 190, 100, 0.38),
                    0 0 20px rgba(255, 150, 50, 0.16);
            }
            50% {
                filter: brightness(1.04) drop-shadow(0 0 6px rgba(255, 210, 140, 0.38)) drop-shadow(0 0 16px rgba(255, 170, 80, 0.18));
                text-shadow:
                    0 0 4px rgba(255, 255, 255, 0.16),
                    0 0 12px rgba(255, 200, 120, 0.48),
                    0 0 26px rgba(255, 140, 60, 0.22);
            }
        }
        body.wall-final-minimalist-hero #wallHeroTime {
            --hero-digit-fill:rgb(239, 255, 57);
            font-family: 'DSEG7Modern', ui-monospace, 'Cascadia Mono', monospace;
            font-weight: normal;
            font-size: clamp(3.85rem, 12.6vw, 9.15rem);
            letter-spacing: 0.07em;
            line-height: 1.1;
            -webkit-font-smoothing: antialiased;
            color: var(--hero-digit-fill);
            animation: wall-hero-digit-shimmer-ok 3.4s ease-in-out infinite;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-stage-ok #wallHeroTime {
            --hero-digit-fill: #39ff8d;
            animation: wall-hero-digit-shimmer-ok 3.4s ease-in-out infinite;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-hero-low-time #wallHeroTime {
            --hero-digit-fill: #ff3a3a;
            animation: wall-hero-digit-shimmer-low 1.9s ease-in-out infinite;
        }
        body.wall-final-minimalist-hero .wall-hero-timeline.is-ended #wallHeroTime {
            --hero-digit-fill: #ffb347;
            animation: wall-hero-digit-shimmer-ended 2.8s ease-in-out infinite;
        }
        @media (prefers-reduced-motion: reduce) {
            body.wall-final-minimalist-hero #wallHeroTime,
            body.wall-final-minimalist-hero .wall-hero-timeline.is-stage-ok #wallHeroTime {
                animation: none;
                filter: drop-shadow(0 0 4px rgba(80, 255, 170, 0.3)) drop-shadow(0 0 12px rgba(0, 255, 120, 0.14));
                text-shadow:
                    0 0 3px rgba(200, 255, 220, 0.45),
                    0 0 11px rgba(0, 255, 140, 0.28),
                    0 0 20px rgba(0, 200, 100, 0.12);
            }
            body.wall-final-minimalist-hero .wall-hero-timeline.is-hero-low-time #wallHeroTime {
                animation: none;
                filter: drop-shadow(0 0 4px rgba(255, 100, 100, 0.34)) drop-shadow(0 0 12px rgba(255, 50, 50, 0.14));
                text-shadow:
                    0 0 3px rgba(255, 210, 210, 0.48),
                    0 0 11px rgba(255, 70, 70, 0.32),
                    0 0 20px rgba(220, 0, 0, 0.14);
            }
            body.wall-final-minimalist-hero .wall-hero-timeline.is-ended #wallHeroTime {
                animation: none;
                filter: drop-shadow(0 0 4px rgba(255, 200, 120, 0.3)) drop-shadow(0 0 12px rgba(255, 150, 60, 0.12));
                text-shadow:
                    0 0 3px rgba(255, 230, 200, 0.45),
                    0 0 11px rgba(255, 180, 90, 0.3),
                    0 0 20px rgba(255, 130, 40, 0.14);
            }
            body.wall-final-minimalist-hero .wall-hero-timeline.is-stage-ok .wall-hero-timeline__progress-fill {
                animation: none;
                box-shadow:
                    0 0 4px rgba(80, 255, 170, 0.32),
                    0 0 12px rgba(0, 255, 120, 0.14);
            }
            body.wall-final-minimalist-hero .wall-hero-timeline.is-hero-low-time .wall-hero-timeline__progress-fill {
                animation: none;
                box-shadow:
                    0 0 4px rgba(255, 100, 100, 0.34),
                    0 0 12px rgba(255, 40, 40, 0.16);
            }
            body.wall-final-minimalist-hero .wall-hero-timeline.is-ended .wall-hero-timeline__progress-fill {
                animation: none;
                box-shadow:
                    0 0 4px rgba(255, 200, 120, 0.3),
                    0 0 12px rgba(255, 160, 60, 0.12);
            }
        }

        /* Finale « plein » (non minimaliste) : logo partenaire en filigrane sur le fond, derrière bacs/timer JS */
        body.wall-final-non-minimal-watermark .wall-final-partner-watermark {
            position: fixed;
            left: 0;
            right: 0;
            top: 0;
            /* Bande viewport jusqu’au haut du footer (barre minuteur incluse dans la zone de centrage) */
            bottom: max(18vh, 5.5rem);
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            z-index: 0;
        }
        body.wall-final-non-minimal-watermark .wall-final-partner-watermark img {
            max-width: 33vw;
            max-height: 33vh;
            width: auto;
            height: auto;
            object-fit: contain;
            opacity: 0.32;
            filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.5));
        }
        @media (max-height: 1200px) {
            /* Logo — further reduced from 20vh/26vw */
            body.wall-final-non-minimal-watermark .wall-final-partner-watermark img {
                max-height: 13vh;
                max-width: 18vw;
            }

            /* Vertical spacing — reduce gap between header zone and columns */
            body.wall-final-non-minimal-watermark .wall-container {
                padding-top: 0.35rem;
                gap: 0.25rem;
            }
            body.wall-final-non-minimal-watermark .columns-header-row {
                margin-bottom: 0.15rem;
            }

            /* School name column — wider for long names */
            body.wall-final-non-minimal-watermark .partner-info {
                width: 280px;
                min-width: 280px;
            }
            body.wall-final-non-minimal-watermark .partner-info-placeholder {
                width: 280px;
                min-width: 280px;
            }

        }
        body.wall-final-non-minimal-watermark .wall-header,
        body.wall-final-non-minimal-watermark #wallContainer {
            position: relative;
            z-index: 1;
        }
        body.wall-final-non-minimal-watermark .wall-footer {
            position: relative;
            z-index: 2;
        }
        body.wall-final-non-minimal-watermark .wall-header {
            padding: 0.35rem 2rem;
            min-height: 0;
        }
