/* PRONO_UNIVERSAL_DETAIL_HEADER_CSS_V1_START */

/*
 * Regula universală:
 * înălțimea conținutului NU poate modifica poziția headerului.
 */
body.prono-detail-header-page .auth-shell {
    align-items: start !important;
    padding-top: 42px !important;
}

.prono-detail-header {
    grid-column: 1 / -1 !important;
    align-self: start !important;
    justify-self: stretch !important;

    box-sizing: border-box;
    width: 100%;
    margin: 0 0 26px;
    padding: 0;

    position: static !important;
    transform: none !important;
}

.prono-detail-header__back-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    width: 100%;
    min-height: 46px;
    margin: 0 0 20px;
    padding: 0;

    position: static !important;
    transform: none !important;
}

.prono-detail-header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 10px 18px;

    border: 1px solid #ded6c9;
    border-radius: 999px;

    color: #17633c;
    background: #f7f1e7;
    box-shadow: 0 3px 9px rgba(44, 55, 47, 0.07);

    font-weight: 800;
    text-decoration: none;

    position: static !important;
    transform: none !important;
}

.prono-detail-header__back:hover,
.prono-detail-header__back:focus-visible {
    color: #124d31;
    border-color: #d2c4af;
    background: #efe5d5;
    transform: none !important;
}

.prono-detail-header__heading {
    box-sizing: border-box;

    width: 100%;
    max-width: 760px;

    margin: 0 auto 26px;
    padding: 0;

    text-align: center;

    position: static !important;
    transform: none !important;
}

.prono-detail-header__heading h1 {
    width: 100%;
    margin: 0;

    text-align: center;

    position: static !important;
    transform: none !important;
}

.prono-detail-header__heading p {
    width: 100%;
    max-width: 660px;

    margin: 12px auto 0;

    text-align: center;

    position: static !important;
    transform: none !important;
}

.prono-detail-header__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    width: 100%;

    gap: 10px;
    margin: 0;
    padding: 0;

    position: static !important;
    transform: none !important;
}

.prono-detail-header__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 9px 18px;

    border: 1px solid #d8c9b1;
    border-radius: 999px;

    color: #17633c;
    background: #f7f1e7;

    font-weight: 850;
    text-align: center;
    text-decoration: none;

    position: static !important;
    transform: none !important;
}

.prono-detail-header__tab:hover,
.prono-detail-header__tab:focus-visible {
    color: #075f32;
    border-color: #c8b183;
    background: #efe5d5;

    transform: none !important;
}

.prono-detail-header__tab.is-active {
    color: #075f32;
    border-color: #c5ab79;
    background: #dcc7a1;
    box-shadow: 0 7px 16px rgba(45, 42, 46, 0.10);

    cursor: default;
    transform: none !important;
}

@media (max-width: 700px) {
    body.prono-detail-header-page .auth-shell {
        padding-top: 22px !important;
    }

    .prono-detail-header {
        margin-bottom: 22px;
    }

    .prono-detail-header__back-row {
        min-height: 40px;
        margin-bottom: 16px;
    }

    .prono-detail-header__back {
        min-height: 40px;
        padding: 8px 14px;
        font-size: 0.84rem;
    }

    .prono-detail-header__heading {
        margin-bottom: 22px;
    }

    .prono-detail-header__tabs {
        gap: 8px;
    }

    .prono-detail-header__tab {
        min-height: 40px;
        padding: 8px 13px;
        font-size: 0.86rem;
    }
}

/* PRONO_UNIVERSAL_DETAIL_HEADER_CSS_V1_END */

/* PRONO_UNIVERSAL_ROUND_NAV_CSS_V1 */

.prono-detail-header__round-nav {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 9px;

    width: min(760px, 100%);
    margin: 16px auto 0;
}

.prono-detail-header__round {
    box-sizing: border-box;

    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;

    max-width: 230px;
    min-width: 0;
    min-height: 48px;
    padding: 8px 12px;

    border: 1px solid #ded2be;
    border-radius: 13px;

    background: #f7f1e7;
    color: #17633c;

    text-align: center;
    text-decoration: none;
}

a.prono-detail-header__round:hover,
a.prono-detail-header__round:focus-visible {
    border-color: #bda77e;
    background: #efe4d2;
}

.prono-detail-header__round.is-active {
    border-color: #c8ae7e;
    background: #dcc7a1;
    color: #111;
}

.prono-detail-header__round strong {
    font-size: .88rem;
    font-weight: 850;
    line-height: 1.15;
}

.prono-detail-header__round small {
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.15;
}

@media (max-width: 620px) {
    .prono-detail-header__round-nav {
        gap: 6px;
        margin-top: 13px;
    }

    .prono-detail-header__round {
        min-height: 44px;
        padding: 7px 6px;
    }

    .prono-detail-header__round strong {
        font-size: .78rem;
    }

    .prono-detail-header__round small {
        font-size: .64rem;
    }
}

/* PRONO_UNIVERSAL_ROUND_NAV_CSS_V1_END */

/* PRONO_RICH_ROUND_NAV_MIXED_7_55_V1 */

/*
 * Activat momentan numai pentru pagina MIXED.
 * Componenta HTML rămâne compatibilă cu FIXED.
 */

body.prono-mini-mixed-predictions-page
.prono-detail-header__round-nav {
    width: min(920px, 100%);
}

body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-control {
    flex: 0 0 46px;
    max-width: 46px;
    padding-inline: 8px;

    background: #ffffff;
}

body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-control strong {
    font-size: 1.45rem;
    line-height: 1;
}

body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-calendar-current {
    border-color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );
}

body.prono-mini-mixed-predictions-page
.prono-detail-header__round-accent {
    display: block;

    margin-top: 4px;

    color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );

    font-size: .78rem;
    font-weight: 900;
    line-height: 1.15;
}

body.prono-mini-mixed-predictions-page
.prono-detail-header__round-return {
    display: table;

    margin: 9px auto 0;
    padding: 6px 11px;

    border: 1px solid
        var(
            --mf-shell-accent-red,
            #d61f26
        );

    border-radius: 999px;

    color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );

    background: #ffffff;

    font-size: .78rem;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
}

body.prono-mini-mixed-predictions-page
.prono-detail-header__round-return:hover,
body.prono-mini-mixed-predictions-page
.prono-detail-header__round-return:focus-visible {
    background: #f7f1e7;
}

@media (max-width: 620px) {
    body.prono-mini-mixed-predictions-page
    .prono-detail-header__round-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    body.prono-mini-mixed-predictions-page
    .prono-detail-header__round {
        flex: 0 0 145px;
    }

    body.prono-mini-mixed-predictions-page
    .prono-detail-header__round.is-control {
        flex-basis: 40px;
        max-width: 40px;
    }
}

/* PRONO_RICH_ROUND_NAV_MIXED_7_55_V1_END */



/* PRONO_MIXED_CALENDAR_NAV_VISUAL_7_55_V1 */

body.prono-mini-mixed-predictions-page
.prono-detail-header__round-accent {
    margin-top: 5px;

    color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );

    font-size: .86rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: .015em;

    white-space: normal;
}

body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-calendar-current
.prono-detail-header__round-accent {
    font-size: .9rem;
    letter-spacing: .055em;
}

body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-calendar-current {
    border-width: 2px;
    border-color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );
}

/* PRONO_MIXED_CALENDAR_NAV_VISUAL_7_55_V1_END */

/* PRONO_MIXED_CALENDAR_DATE_BLACK_7_55_V1 */

/*
 * Intervalul calendaristic este informația principală
 * și rămâne negru atât pentru săptămâna curentă
 * cât și pentru cea viitoare.
 *
 * Accentul/starea de sub el rămâne roșu.
 */
body.prono-mini-mixed-predictions-page
.prono-detail-header__round:not(.is-control) strong {
    color: #111111;
}

/* PRONO_MIXED_CALENDAR_DATE_BLACK_7_55_V1_END */


/* PRONO_CANONICAL_COMPACT_NAV_ARROWS_7_56_V1 */

/*
 * GENERAL / FIXED / MIXED:
 *
 * săgețile sunt controale compacte și nu trebuie
 * să ocupe lățimea unei pastile de etapă.
 */
.prono-detail-header__round.is-control,
body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-control {
    flex: 0 0 40px;

    width: 40px;
    min-width: 40px;
    max-width: 40px;

    padding-left: 0;
    padding-right: 0;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    text-align: center;
}


.prono-detail-header__round.is-control strong,
body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-control strong {
    display: block;

    width: 100%;

    font-size: 1.18rem;
    line-height: 1;

    text-align: center;
}


@media (max-width: 620px) {
    .prono-detail-header__round.is-control,
    body.prono-mini-mixed-predictions-page
    .prono-detail-header__round.is-control {
        flex-basis: 36px;

        width: 36px;
        min-width: 36px;
        max-width: 36px;
    }

    .prono-detail-header__round.is-control strong,
    body.prono-mini-mixed-predictions-page
    .prono-detail-header__round.is-control strong {
        font-size: 1.08rem;
    }
}

/* PRONO_CANONICAL_COMPACT_NAV_ARROWS_7_56_V1_END */


/* PRONO_FIXED_GENERAL_MIXED_VISUAL_PARITY_7_56_V1 */

/*
 * CANONICAL STYLE PARITY
 *
 * GENERAL / FIXED folosesc geometria și tipografia
 * efectivă a navigatorului MIXED.
 *
 * Culorile de selecție NU sunt definite aici.
 * Ele rămân controlate de regulile selected-only
 * validate separat.
 */


/*
 * MIXED folosește 920px.
 *
 * Pastilele rămân max-width 230px din regula de bază,
 * dar GENERAL/FIXED nu mai sunt comprimate inutil
 * când apar trei etape + săgeți.
 */
.prono-detail-header__round-nav {
    width: min(920px, 100%);
}


/*
 * Identitatea perioadei:
 *
 * MIXED și GENERAL/FIXED au deja aceleași:
 * .88rem / 850 / 1.15.
 *
 * Păstrăm doar culoarea principală neagră.
 */
.prono-detail-header__round strong {
    color: #111111;
}


/*
 * Punctajele istorice rămân neutre.
 */
.prono-detail-header__round small {
    color: #111111;
}


/*
 * Rândul temporal:
 *
 * valoarea efectivă MIXED este:
 * margin-top: 5px
 * font-size: .86rem
 * font-weight: 900
 * line-height: 1.12
 * letter-spacing: .015em
 */
.prono-detail-header__round-accent {
    display: block;

    margin-top: 5px;

    font-size: .86rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: .015em;

    white-space: normal;
}


/*
 * Perioada calendaristică în curs folosește
 * tipografia accentuată deja existentă în MIXED.
 *
 * Culoarea este decisă separat de starea is-active.
 */
.prono-detail-header__round.is-calendar-current
.prono-detail-header__round-accent {
    font-size: .9rem;
    letter-spacing: .055em;
}


/*
 * Controalele « ‹ › » păstrează borderul simplu.
 */
.prono-detail-header__round.is-control {
    border-width: 1px;
}


/*
 * MOBILE
 *
 * Copiem mecanismul MIXED:
 * - navigator scrollabil orizontal;
 * - pastile de perioadă 145px;
 * - săgețile rămân 36px prin regula canonică
 *   PRONO_CANONICAL_COMPACT_NAV_ARROWS_7_56_V1.
 */
@media (max-width: 620px) {
    .prono-detail-header__round-nav {
        justify-content: flex-start;

        overflow-x: auto;

        padding-bottom: 3px;
    }

    .prono-detail-header__round:not(.is-control) {
        flex: 0 0 145px;
    }
}


/* PRONO_FIXED_GENERAL_MIXED_VISUAL_PARITY_7_56_V1_END */


/* PRONO_NAV_SELECTED_ONLY_VISUAL_7_56_V1 */

/*
 * REGULA CANONICĂ:
 *
 * calendar_current descrie doar starea perioadei.
 * Nu mai produce evidențiere vizuală a pastilei.
 *
 * is-active este singura stare care arată
 * ce etapă / săptămână este prezentată jos.
 */


/*
 * PERIOADA ÎN CURS, DAR NESELECTATĂ
 *
 * Revine la aspectul neutru.
 * Textul accent rămâne roșu.
 */
.prono-detail-header__round.is-calendar-current:not(.is-active),
body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-calendar-current:not(.is-active) {
    border-width: 1px;

    border-color: #ded2be;

    background: #f7f1e7;
}


/*
 * PERIOADA SELECTATĂ
 *
 * Singura pastilă evidențiată:
 * - border roșu subțire;
 * - bej mai închis.
 */
.prono-detail-header__round.is-active,
.prono-detail-header__round.is-active.is-calendar-current,
body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-active,
body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-active.is-calendar-current {
    border: 1px solid
        var(
            --mf-shell-accent-red,
            #d61f26
        );

    background: #d3b98a;

    color: #111111;
}


/*
 * Textele temporale rămân roșii indiferent
 * dacă pastila este selectată sau nu.
 */
.prono-detail-header__round-accent,
.prono-detail-header__round.is-active
.prono-detail-header__round-accent,
body.prono-mini-mixed-predictions-page
.prono-detail-header__round-accent {
    color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );
}


/*
 * Controalele nu sunt perioade selectate.
 */
.prono-detail-header__round.is-control {
    border-width: 1px;
    background: #ffffff;
}


/* PRONO_NAV_SELECTED_ONLY_VISUAL_7_56_V1_END */


/* PRONO_MIXED_ACCENT_SELECTED_ONLY_7_56_V1 */

/*
 * MIXED urmează aceeași regulă ca GENERAL/FIXED:
 *
 * - rândul secundar al unei săptămâni neselectate
 *   este negru;
 *
 * - rândul secundar devine roșu numai pentru
 *   săptămâna selectată, adică cea prezentată jos.
 *
 * Starea calendaristică există în continuare în text,
 * dar culoarea roșie semnalizează selecția.
 */

body.prono-mini-mixed-predictions-page
.prono-detail-header__round:not(.is-active)
.prono-detail-header__round-accent {
    color: #111111;
}


body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-active
.prono-detail-header__round-accent {
    color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );
}


/* PRONO_MIXED_ACCENT_SELECTED_ONLY_7_56_V1_END */


/* PRONO_NAV_ACCENT_SPECIFICITY_7_56_V1 */

/*
 * <small class="prono-detail-header__round-accent">
 * era învins în GENERAL/FIXED de:
 *
 * .prono-detail-header__round small
 *
 * Folosim specificitate mai mare astfel încât
 * GENERAL/FIXED să primească efectiv aceeași
 * tipografie ca MIXED.
 */
.prono-detail-header__round
.prono-detail-header__round-accent {
    margin-top: 5px;

    font-size: .86rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: .015em;

    white-space: normal;
}


/*
 * Perioada calendaristică actuală păstrează
 * accentul puțin mai mare.
 */
.prono-detail-header__round.is-calendar-current
.prono-detail-header__round-accent {
    font-size: .9rem;
    letter-spacing: .055em;
}

/* PRONO_NAV_ACCENT_SPECIFICITY_7_56_V1_END */

/* PRONO_NAV_SEMANTIC_ACCENT_COLORS_7_56_V1 */

/*
 * REGULA FINALĂ:
 *
 * - orice perioadă care NU este calendar_current:
 *   "Începe la..." = NEGRU permanent;
 *
 * - calendar_current:
 *   "În desfășurare" = ROȘU permanent;
 *
 * - is-active nu mai influențează culoarea textului.
 */


/*
 * GENERAL / FIXED:
 * viitoare, selectată sau neselectată.
 */
.prono-detail-header__round:not(.is-calendar-current)
.prono-detail-header__round-accent {
    color: #111111;
}


/*
 * MIXED:
 * aceeași regulă, cu specificitate suficientă
 * pentru a învinge vechiul selected-only override.
 */
body.prono-mini-mixed-predictions-page
.prono-detail-header__round:not(.is-calendar-current)
.prono-detail-header__round-accent {
    color: #111111;
}


/*
 * GENERAL / FIXED:
 * perioada în curs.
 */
.prono-detail-header__round.is-calendar-current
.prono-detail-header__round-accent {
    color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );
}


/*
 * MIXED:
 * perioada în curs.
 */
body.prono-mini-mixed-predictions-page
.prono-detail-header__round.is-calendar-current
.prono-detail-header__round-accent {
    color:
        var(
            --mf-shell-accent-red,
            #d61f26
        );
}

/* PRONO_NAV_SEMANTIC_ACCENT_COLORS_7_56_V1_END */

/* PRONO_ROUND_NAV_NOTE_STYLE_7_56_V1 */

/*
 * Nota este copilul perioadei SELECTATE.
 *
 * Astfel centrul ei este întotdeauna centrul
 * bulinei selectate, indiferent de numărul
 * săgeților din stânga sau dreapta.
 */

.prono-detail-header__round.is-active {
    position: relative;
}


.prono-detail-header__round-note {
    box-sizing: border-box;

    position: absolute;
    z-index: 2;

    top: calc(100% + 9px);
    left: 50%;

    display: flex;
    width: max-content;
    max-width: min(360px, 90vw);

    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 6px 12px;

    transform: translateX(-50%);

    border: 1px solid #ded2be;
    border-radius: 999px;

    background: #f7f1e7;
    color: #3f3932;

    font-size: .78rem;
    font-weight: 850;
    line-height: 1.2;

    text-align: center;
    white-space: nowrap;

    box-shadow:
        0 2px 8px
        rgba(50, 40, 25, .05);
}


.prono-detail-header__round-note::before {
    content: "";

    display: block;
    flex: 0 0 6px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(
            --mf-shell-accent-red,
            #d61f26
        );
}


/*
 * Rezervăm locul pentru badge fără să deplasăm
 * bulina sau săgețile.
 */
.prono-detail-header__round-nav:has(
    .prono-detail-header__round-note
) {
    margin-bottom: 42px;
}


@media (max-width: 620px) {
    .prono-detail-header__round-note {
        top: calc(100% + 7px);

        max-width: min(310px, 88vw);

        padding: 6px 10px;

        font-size: .73rem;
        line-height: 1.25;
    }

    .prono-detail-header__round-nav:has(
        .prono-detail-header__round-note
    ) {
        margin-bottom: 39px;
    }
}

/* PRONO_ROUND_NAV_NOTE_STYLE_7_56_V1_END */


/* PRONO_DETAIL_REAL_BUTTONS_BLACK_7_56_V1 */

/*
 * STRICT:
 * numai elemente HTML <button> reale
 * cu clasa btn-primary.
 *
 * Linkurile <a class="btn btn-primary">
 * NU sunt afectate.
 */
button.btn.btn-primary:not([data-copy-invite]) {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

button.btn.btn-primary:not([data-copy-invite]):hover:not(:disabled),
button.btn.btn-primary:not([data-copy-invite]):focus-visible:not(:disabled),
button.btn.btn-primary:not([data-copy-invite]):active:not(:disabled) {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

/* PRONO_DETAIL_REAL_BUTTONS_BLACK_7_56_V1_END */


/* PRONO_HEADER_VISUAL_BUTTONS_BLACK_7_56_V1 */

/*
 * Controalele vizuale din header:
 * - Înapoi la concursuri
 * - Pronosticuri
 * - Clasament
 * - Administrare
 *
 * Păstrăm integral fundalurile, fonturile,
 * borderurile, greutatea și stările active.
 * Schimbăm numai textul verde în negru.
 */

.prono-detail-header__back,
.prono-detail-header__back:hover,
.prono-detail-header__back:focus-visible {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

.prono-detail-header__tab,
.prono-detail-header__tab:hover,
.prono-detail-header__tab:focus-visible,
.prono-detail-header__tab.is-active,
.prono-detail-header__tab.is-active:hover,
.prono-detail-header__tab.is-active:focus-visible {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

/* PRONO_HEADER_VISUAL_BUTTONS_BLACK_7_56_V1_END */

