.game-mode>h1 {
    color: white !important;
}

/* Wrapper global */
.winer-countdown-wrapper {
    display: flex;
    justify-content: center;
    margin: 32px 16px 0;
}

.winer-countdown-card {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px 26px;
    border-radius: 18px;
    background: #C61533;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
    color: #ffffff;
}

.winer-countdown-card > h2 {
    color:white !important;
}

/* Sur-titre (style app) */
.winer-countdown-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

/* Titre du tournoi */
.winer-countdown-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 6px;
}

/* Sous-texte */
.winer-countdown-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 18px;
}

/* Ligne de compteur */
.winer-countdown {
    display: inline-flex;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bloc J / H / M / S */
.winer-countdown-item {
    min-width: 70px;
    padding: 8px 10px;
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Valeur numérique */
.winer-countdown-item .value {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* Label texte */
.winer-countdown-item .label {
    margin-top: 2px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.7);
}

/* Texte de hint */
.winer-countdown-hint {
    margin-top: 18px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

/* Responsive */
@media (max-width: 480px) {
    .winer-countdown-card {
        padding: 18px 14px 20px;
    }
    .winer-countdown {
        gap: 6px;
        padding: 8px 10px;
    }
    .winer-countdown-item {
        min-width: 58px;
        padding: 6px 8px;
    }
    .winer-countdown-item .value {
        font-size: 1.1rem;
    }
}


.winer-app {
    max-width: 900px;
    margin: 24px auto;
    padding: 0 12px;
}

.winer-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    color: #fff;
    text-align: center
}

.winer-hero .brand {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 1px
}

.winer-hero .subtitle {
    opacity: .9;
    margin-top: 4px
}

.winer-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18)
}

.winer-card img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    display: block
}

.winer-card h4 {
    margin: 10px 0 6px
}

.winer-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 12px
}

.winer-actions .button {
    min-width: 120px
}

body {
    background: linear-gradient(180deg, #3b0f18 0%, #2b0d14 55%, #310b14 100%);
}

.winer-dots {
    margin: 10px 0 18px;
    text-align: center
}

.winer-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 10px;
    background: #9a2231;
    margin: 0 4px;
    opacity: .35
}

.winer-dots span.active {
    opacity: 1;
    background: #e31e3a
}

fieldset[data-q-index] {
    background: #fff
}

.winer-bullet ul {
    padding-left: 18px;
    margin: 10px 0 0
}

.winer-bullet li {
    margin: 6px 0
}

.winer-legend {
    font-weight: 700;
    font-size: 22px
}

.winer-center {
    text-align: center
}

.winer-danger {
    color: #c61533
}

.winer-success {
    color: #0b6
}


/* Tournoi */

/* STEP 1 - Mode Tournoi */

a#intro-next,
a#intro-prev {
    background-color: #C61533;
    text-align: center;
    border-radius: 5px;
    color: white;
}

/* STEP 2 - Règles */

section#step-rules {
    margin-bottom: 15vh;
}

a#rules-start-quiz,
a#rules-prev {
    background-color: #C61533;
    color: white;
    text-align: center;
    border-radius: 5px;
}

/* STEP 3 - Photos */

section#step-photo {
    margin-bottom: 10vh;
}

/* Tournois */
/* Styles condensés (UI du tournoi) */
.title-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 12px;
    padding: 12px 16px;
    /* background: #fff; */
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08)
}

.progress-title {
    font-weight: 700;
    font-size: 16px
}

/* .progress-bar-container {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
    margin: 8px 0 16px
} */

#progress-bar {
    height: 100%;
    width: 0%;
    background: #e31e3a;
    transition: width .25s ease
}

.group-answer .custom-answer {
    margin: 8px 0
}

.custom-label {
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 10px
}

.custom-label:hover {
    border-color: #ddd;
    background: #fff
}

.custom-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #ddd;
    font-size: 12px
}

.navigation .btn,
.winer-actions .button {
    min-width: 150px
}

.photo-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    padding: 16px;
    margin: 0 auto;
    max-width: 680px
}

.winer-photo-cta {
    margin: 12px 0 6px;
    width: 100%;
    min-height: 220px;
    border: none;
    border-radius: 16px;
    background: #d11d3a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(209, 29, 58, .35);
    position: relative;
    text-align: center;
    padding: 18px 12px;
}

.winer-photo-cta img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px
}

.winer-photo-cta .cta-label {
    font-weight: 700
}

.winer-photo-cta:active {
    transform: scale(.99)
}

#winer-photo-video-start {
    max-width: 360px;
    width: 100%;
    background: #000;
    border-radius: 12px
}

#winer-photo-img-start {
    max-width: 360px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #ddd
}

.winer-app {
    max-width: 960px;
    margin: 20px auto;
    padding: 0 12px
}

.winer-hero {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0 14px
}

.winer-hero .brand {
    font-weight: 800;
    font-size: 28px;
    color: #d11d3a
}

.winer-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    padding: 16px;
    margin: 12px 0
}

.notice {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 10px 12px;
    border-radius: 8px
}

.winer-actions .button {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-decoration: none
}

.winer-countdown-card {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px 26px;
    border-radius: 18px;
    background: #C61533;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
    color: #ffffff;
}


.infinite-body-wrapper.clearfix.infinite-with-frame {
    background: #390e17;
    min-height: 200vh;
}

#submit-wrap {
    padding-bottom: 40px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

button#winer-photo-start-end {
    background-color: #C61533;
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
}

button#winer-photo-capture-end {
    background-color: #C61533;
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
}

button#winer-photo-retake-end {
    background-color: white;
    border: 1px solid #C61533;
    border-radius: 5px;
    color: black;
    padding: 5px 10px;
}