/*
 * Minifotbal Manager — Standard public UI
 * Versiune de bază curată, fără dependențe de temele istorice.
 * Toate componentele publice folosesc aceleași variabile și aceleași reguli structurale.
 */

:root {
    --mfm-font: "Roboto", "Segoe UI", Arial, Helvetica, sans-serif;

    /* Fundal / suprafețe */
    --mfm-page-bg: #f2f4f6;
    --mfm-surface: #ffffff;
    --mfm-surface-soft: #eef3f7;
    --mfm-surface-strong: #dfe8ef;

    /* Identitate vizuală - template */
    --mfm-primary: #10396d;
    --mfm-primary-2: #17619a;
    --mfm-primary-3: #2182bc;
    --mfm-accent: #d6aa24;
    --mfm-accent-soft: #fff6d8;

    /* Text */
    --mfm-text: #1d2733;
    --mfm-muted: #66717d;
    --mfm-border: #ccd7e0;
    --mfm-border-strong: #aebdca;

    /* Stări / scor */
    --mfm-score: #ffffff;
    --mfm-success: #2f8a55;
    --mfm-warning: #c89009;
    --mfm-danger: #bf3f42;
    --mfm-white: #ffffff;

    /* Umbre foarte discrete, ca în template */
    --mfm-shadow-sm: 0 2px 7px rgba(13,52,96,.08);
    --mfm-shadow-md: 0 7px 20px rgba(13,52,96,.13);
    --mfm-radius: 0px;
}

/* =========================================================
   BAZĂ / CONTAINERE
   ========================================================= */

.mfm-calendar-wrapper,
.mfm-clasament-wrapper,
.mfm-public-wrap,
.mfm-meci-single-page,
.mfm-echipa-single-page,
.mfm-custom-page-container,
.mfm-competition-content,
.mfm-final-phase-page,
.mfm-golgheteri-wrapper {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 20px auto;
    padding: 0 14px;
    font-family: var(--mfm-font);
    color: var(--mfm-text);
}

.mfm-calendar-wrapper *,
.mfm-clasament-wrapper *,
.mfm-public-wrap *,
.mfm-meci-single-page *,
.mfm-echipa-single-page *,
.mfm-custom-page-container *,
.mfm-competition-content *,
.mfm-final-phase-page *,
.mfm-home-cards * {
    box-sizing: border-box;
}

.mfm-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 24px;
    scrollbar-width: thin;
}

.mfm-public-section {
    margin: 0 0 26px;
}

.mfm-section-title,
.mfm-section-title-lg,
.mfm-section-title-center {
    margin: 0 0 14px;
    padding: 0 0 9px;
    color: var(--mfm-primary) !important;
    font-family: var(--mfm-font);
    font-weight: 800;
    line-height: 1.25;
    border-bottom: 2px solid var(--mfm-border-strong);
}

.mfm-section-title { font-size: 18px; }
.mfm-section-title-lg { font-size: 22px; }
.mfm-section-title-center { font-size: 18px; text-align: center; }

/* =========================================================
   HEADER-E DE SECȚIUNE / FAZE
   ========================================================= */

.mfm-calendar-faza-header,
.mfm-clasament-header {
    width: 100%;
    margin: 0;
    padding: 9px 12px;
    background: linear-gradient(90deg, var(--mfm-primary), var(--mfm-primary-2));
    color: var(--mfm-white);
    border: 0;
    border-radius: var(--mfm-radius);
}

.mfm-calendar-faza-title,
.mfm-clasament-header h3,
.mfm-clasament-title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mfm-white) !important;
    background: transparent !important;
    font-family: var(--mfm-font) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    font-style: normal !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    border: 0 !important;
}

.mfm-calendar-faza-section {
    margin: 0 0 18px;
}

.mfm-etapa-block {
    margin: 0 0 18px;
    background: var(--mfm-surface);
    border: 1px solid var(--mfm-border);
    box-shadow: var(--mfm-shadow-sm);
    overflow: hidden;
}

.mfm-etapa-header {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    background: var(--mfm-surface-strong);
    color: var(--mfm-primary);
    border-bottom: 1px solid var(--mfm-border);
    text-align: left;
}

.mfm-etapa-header h3,
.mfm-etapa-title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mfm-primary) !important;
    background: transparent !important;
    font-size: 14px !important;
    line-height: 1.35;
    font-weight: 800 !important;
    font-style: normal !important;
    text-transform: none !important;
}

.mfm-etapa-header .mfm-etapa-data,
.mfm-etapa-data {
    margin-left: 8px;
    color: var(--mfm-muted) !important;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================================
   NOTIFICĂRI
   ========================================================= */

.mfm-notice,
.mfm-no-match {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 12px 0 18px;
    padding: 11px 13px;
    background: var(--mfm-surface-soft);
    color: var(--mfm-primary);
    border: 1px solid var(--mfm-border);
    border-left: 4px solid var(--mfm-accent);
    font-family: var(--mfm-font);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.mfm-no-match {
    display: block;
}

.mfm-notice-success,
.mfm-faza-finala-incheiata {
    border-left-color: var(--mfm-success);
}

.mfm-notice-warning {
    border-left-color: var(--mfm-warning);
}

.mfm-notice-info,
.mfm-faza-finala-desfasurare {
    border-left-color: var(--mfm-accent);
}

.mfm-notice-icon {
    flex: 0 0 auto;
    line-height: 1;
}

/* =========================================================
   TABELE — STANDARD UNIC
   ========================================================= */

.mfm-table,
.mfm-standings-table,
.mfm-table-stats,
.mfm-calendar-table,
.mfm-lot-table,
.mfm-meciuri-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: var(--mfm-surface);
    color: var(--mfm-text);
    font-family: var(--mfm-font);
    font-size: 13px;
    line-height: 1.35;
}

.mfm-table thead th,
.mfm-standings-table thead th,
.mfm-table-stats thead th,
.mfm-calendar-table thead th,
.mfm-lot-table thead th,
.mfm-meciuri-table thead th {
    padding: 9px 10px;
    background: var(--mfm-primary);
    color: var(--mfm-white) !important;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.12);
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .45px;
    white-space: nowrap;
}

.mfm-table tbody td,
.mfm-standings-table tbody td,
.mfm-table-stats tbody td,
.mfm-calendar-table tbody td,
.mfm-lot-table tbody td,
.mfm-meciuri-table tbody td {
    padding: 10px;
    background: var(--mfm-surface);
    color: var(--mfm-text) !important;
    border-bottom: 1px solid var(--mfm-border);
    vertical-align: middle;
}

.mfm-table tbody tr:nth-child(even) td,
.mfm-standings-table tbody tr:nth-child(even) td,
.mfm-table-stats tbody tr:nth-child(even) td,
.mfm-calendar-table tbody tr:nth-child(even) td,
.mfm-lot-table tbody tr:nth-child(even) td,
.mfm-meciuri-table tbody tr:nth-child(even) td {
    background: var(--mfm-surface-soft);
}

.mfm-table tbody tr:hover td,
.mfm-standings-table tbody tr:hover td,
.mfm-table-stats tbody tr:hover td,
.mfm-calendar-table tbody tr:hover td,
.mfm-lot-table tbody tr:hover td,
.mfm-meciuri-table tbody tr:hover td {
    background: var(--mfm-accent-soft);
}

.mfm-table a,
.mfm-standings-table a,
.mfm-table-stats a,
.mfm-calendar-table a,
.mfm-lot-table a,
.mfm-meciuri-table a {
    color: var(--mfm-primary-2) !important;
}

.mfm-table a:hover,
.mfm-standings-table a:hover,
.mfm-table-stats a:hover,
.mfm-calendar-table a:hover,
.mfm-lot-table a:hover,
.mfm-meciuri-table a:hover {
    color: var(--mfm-accent) !important;
}

.mfm-empty-row {
    padding: 14px !important;
    color: var(--mfm-muted) !important;
    text-align: center !important;
    font-style: italic;
}

.mfm-table-center th,
.mfm-table-center td,
.mfm-td-center,
.mfm-th-center,
.mfm-th-center-40,
.mfm-th-center-60,
.mfm-th-center-15 {
    text-align: center !important;
}

.mfm-th-right,
.mfm-col-right {
    text-align: right !important;
}

.mfm-col-score,
.mfm-score,
.mfm-score-box,
.mfm-score-btn,
.mfm-score-btn-link,
.mfm-card-score,
.mfm-scor-text,
.mfm-meci-score-badge,
.mfm-meci-score-badge-blue {
    color: var(--mfm-score) !important;
    font-weight: 900 !important;
}

.mfm-score-btn,
.mfm-score-btn-link,
.mfm-details-btn,
.mfm-link-block {
    text-decoration: none !important;
}

.mfm-details-btn,
.mfm-details-btn-link {
    display: none !important;
}

/* =========================================================
   ECHIPE / SIGLE ÎN TABELE
   ========================================================= */

.mfm-col-gazda,
.mfm-team-home,
.mfm-col-oaspete,
.mfm-team-away {
    min-width: 150px;
    font-weight: 700;
    vertical-align: middle;
}

.mfm-col-gazda a,
.mfm-col-gazda .mfm-team-wrap,
.mfm-team-home a,
.mfm-col-oaspete a,
.mfm-col-oaspete .mfm-team-wrap,
.mfm-team-away a,
.mfm-team-cell {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    color: var(--mfm-text) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.mfm-col-gazda a,
.mfm-col-gazda .mfm-team-wrap,
.mfm-team-home a {
    flex-direction: row-reverse;
}

.mfm-col-oaspete a,
.mfm-col-oaspete .mfm-team-wrap,
.mfm-team-away a {
    flex-direction: row;
}

.mfm-sigla-icon-left,
.mfm-sigla-icon-right,
.mfm-logo,
.mfm-col-gazda img,
.mfm-col-oaspete img,
.mfm-team-home img,
.mfm-team-away img {
    display: inline-block !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    padding: 2px;
    object-fit: contain !important;
    object-position: center;
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
    border-radius: 50% !important;
    vertical-align: middle;
    flex: 0 0 30px;
}

.mfm-link-echipa-bold,
.mfm-link-echipa,
.mfm-link-bold,
.mfm-link-plain,
.mfm-link-jucator {
    color: var(--mfm-primary) !important;
    text-decoration: none !important;
    font-weight: 700;
}

.mfm-link-echipa-bold:hover,
.mfm-link-echipa:hover,
.mfm-link-jucator:hover {
    color: var(--mfm-accent) !important;
    text-decoration: underline !important;
}

/* =========================================================
   CLASAMENT
   ========================================================= */

.mfm-clasament-wrapper {
    margin-top: 0;
}

.mfm-clasament-faza-info {
    margin: 0;
    padding: 9px 12px;
    background: var(--mfm-surface-soft);
    color: var(--mfm-muted);
    border: 1px solid var(--mfm-border);
    border-top: 0;
    font-size: 12px;
    font-weight: 600;
}

.mfm-standings-table td:first-child,
.mfm-table-stats td:first-child {
    width: 46px;
    text-align: center;
    font-weight: 800;
}

.mfm-standings-table td:last-child,
.mfm-table-stats td:last-child {
    font-weight: 900 !important;
    color: var(--mfm-score) !important;
}

/* =========================================================
   CAMPION / CÂȘTIGĂTOR
   ========================================================= */

.mfm-campioana-wrapper,
.mfm-cupa-castigator-wrapper,
.mfm-turneu-castigator-wrapper {
    width: 100%;
    margin: 0 0 22px;
}

.mfm-campioana-card,
.mfm-cupa-castigator-card,
.mfm-turneu-castigator-card {
    position: relative;
    width: 100%;
    padding: 26px 20px;
    overflow: hidden;
    background: linear-gradient(115deg, var(--mfm-primary) 0%, var(--mfm-primary-2) 65%, var(--mfm-primary-3) 100%);
    color: var(--mfm-white);
    border: 1px solid var(--mfm-primary);
    box-shadow: var(--mfm-shadow-md);
    text-align: center;
}

.mfm-campioana-card::before,
.mfm-cupa-castigator-card::before,
.mfm-turneu-castigator-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #f0b429, #ffd166, #f0b429);
}

.mfm-campioana-trophy,
.mfm-cupa-trophy {
    margin-bottom: 8px;
    font-size: 44px;
    line-height: 1;
}

.mfm-campioana-label,
.mfm-cupa-castigator-label {
    margin-bottom: 7px;
    color: #ffe69a !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mfm-campioana-competitie,
.mfm-cupa-competitie,
.mfm-turneu-competitie {
    margin-bottom: 16px;
    color: rgba(255,255,255,.82) !important;
    font-size: 13px;
    font-weight: 600;
}

.mfm-campioana-team-link,
.mfm-cupa-castigatoare-nume a {
    color: var(--mfm-white) !important;
    text-decoration: none !important;
}

.mfm-campioana-logo,
.mfm-cupa-logo img {
    display: block;
    width: 88px;
    height: 88px;
    max-width: 88px;
    max-height: 88px;
    margin: 8px auto 12px;
    padding: 5px;
    object-fit: contain;
    background: var(--mfm-white);
    border: 1px solid rgba(255,255,255,.55);
}

.mfm-campioana-nume,
.mfm-cupa-castigatoare-nume,
.mfm-cupa-castigatoare-nume a {
    margin: 8px 0;
    color: var(--mfm-white) !important;
    font-size: 28px !important;
    line-height: 1.15;
    font-weight: 900 !important;
    text-transform: uppercase;
}

.mfm-campioana-puncte {
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 700;
}

.mfm-cupa-finala {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    padding: 9px 14px;
    background: rgba(0,0,0,.16);
    color: var(--mfm-white) !important;
    font-size: 13px;
}

.mfm-cupa-finala *,
.mfm-cupa-status {
    color: var(--mfm-white) !important;
}

/* =========================================================
   URMĂTORUL MECI
   ========================================================= */

.mfm-widget-next-match,
.mfm-next-match-modern {
    width: 100%;
    margin: 0 auto 24px;
    overflow: hidden;
    background: var(--mfm-surface);
    border: 1px solid var(--mfm-border);
    box-shadow: var(--mfm-shadow-sm);
    font-family: var(--mfm-font);
}

.mfm-widget-next-match .mfm-next-match-header,
.mfm-next-match-modern > .mfm-next-match-header {
    width: 100%;
    margin: 0 !important;
    padding: 9px 12px;
    background: linear-gradient(90deg, var(--mfm-primary), var(--mfm-primary-2));
    color: var(--mfm-white) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
}

.mfm-next-match-phase {
    padding: 7px 12px;
    background: var(--mfm-surface-soft);
    color: var(--mfm-primary);
    border-bottom: 1px solid var(--mfm-border);
    font-size: 12px;
    font-weight: 700;
}

.mfm-next-match-modern-body {
    display: grid;
    grid-template-columns: minmax(0,1fr) 120px minmax(0,1fr);
    align-items: stretch;
    gap: 12px;
    padding: 14px;
}

.mfm-next-match-team {
    min-width: 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--mfm-surface-soft);
    border: 1px solid var(--mfm-border);
}

.mfm-next-match-team-link {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    color: var(--mfm-primary) !important;
    text-decoration: none !important;
    text-align: center;
}

.mfm-next-match-logo {
    display: block !important;
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
    padding: 4px;
    object-fit: contain !important;
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
}

.mfm-next-match-team-name {
    color: var(--mfm-primary) !important;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.mfm-next-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mfm-next-match-vs-link {
    text-decoration: none !important;
}

.mfm-next-match-vs,
.mfm-vs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 44px;
    padding: 0 10px;
    background: var(--mfm-primary);
    color: var(--mfm-white) !important;
    font-size: 13px;
    font-weight: 900;
}

.mfm-next-match-date,
.mfm-date {
    color: var(--mfm-muted) !important;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

/* =========================================================
   ULTIMELE MECIURI
   ========================================================= */

.mfm-widget-recent-matches {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mfm-widget-recent-matches .mfm-match-card {
    width: 100%;
    overflow: hidden;
    background: var(--mfm-surface);
    border: 1px solid var(--mfm-border);
    box-shadow: var(--mfm-shadow-sm);
}

.mfm-widget-recent-matches .mfm-card-date {
    display: block;
    width: 100%;
    padding: 7px 11px;
    background: var(--mfm-surface-strong);
    color: var(--mfm-primary) !important;
    border-bottom: 1px solid var(--mfm-border);
    font-size: 11px;
    font-weight: 700;
}

.mfm-widget-recent-matches .mfm-card-main {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.mfm-widget-recent-matches .mfm-card-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--mfm-text);
    font-size: 13px;
    font-weight: 700;
}

.mfm-widget-recent-matches .mfm-team-gazda {
    justify-content: flex-end;
    text-align: right;
}

.mfm-widget-recent-matches .mfm-team-oaspete {
    justify-content: flex-start;
    text-align: left;
}

.mfm-widget-recent-matches .mfm-card-sigla {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    padding: 2px;
    object-fit: contain;
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
}

.mfm-widget-recent-matches .mfm-card-score {
    min-width: 58px;
    padding: 6px 9px;
    background: var(--mfm-primary);
    color: var(--mfm-white) !important;
    font-size: 15px;
    text-align: center;
}

/* =========================================================
   PAGINĂ MECI
   ========================================================= */

.mfm-meci-detalii-wrapper {
    width: 100%;
    margin: 0 0 22px;
    padding: 16px;
    background: var(--mfm-surface);
    border: 1px solid var(--mfm-border);
    box-shadow: var(--mfm-shadow-sm);
}

.mfm-meci-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) 160px minmax(0,1fr);
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--mfm-surface-soft);
    border: 1px solid var(--mfm-border);
}

.mfm-echipa-box,
.mfm-meci-team-box {
    min-width: 0;
    text-align: center;
}

.mfm-sigla-large,
.mfm-meci-team-sigla,
.mfm-meci-team-sigla-block {
    display: block;
    width: 76px;
    height: 76px;
    max-width: 76px;
    max-height: 76px;
    margin: 0 auto 10px;
    padding: 5px;
    object-fit: contain;
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
}

.mfm-echipa-titlu,
.mfm-meci-team-title {
    margin: 0;
    color: var(--mfm-primary) !important;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.mfm-scor-box,
.mfm-meci-score-center {
    text-align: center;
}

.mfm-scor-text,
.mfm-meci-score-badge {
    display: inline-block;
    padding: 7px 12px;
    background: var(--mfm-primary);
    color: var(--mfm-white) !important;
    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 1;
}

.mfm-status-badge,
.mfm-meci-status-badge,
.mfm-meci-status-sub {
    display: block;
    margin-top: 7px;
    color: var(--mfm-muted) !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.mfm-meta-info,
.mfm-meci-info-box-blue,
.mfm-meci-info-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0 20px;
    padding: 10px 12px;
    background: var(--mfm-surface-soft);
    color: var(--mfm-text);
    border: 1px solid var(--mfm-border);
    border-left: 4px solid var(--mfm-accent);
    font-size: 12px;
}

.mfm-events-title {
    margin: 18px 0 12px;
    padding-bottom: 8px;
    color: var(--mfm-primary);
    border-bottom: 2px solid var(--mfm-border);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

.mfm-events-grid,
.mfm-events-wrapper {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 14px;
}

.mfm-events-wrapper {
    padding: 14px;
    background: var(--mfm-surface-soft);
    border: 1px solid var(--mfm-border);
}

.mfm-events-column,
.gazda-events,
.oaspete-events {
    min-width: 0;
}

.gazda-events { text-align: right; }
.oaspete-events { text-align: left; }

.mfm-event-item,
.mfm-event-item-box-right,
.mfm-event-item-box-left,
.event-gazda,
.event-oaspete {
    margin-bottom: 7px;
    padding: 7px 9px;
    background: var(--mfm-surface);
    border: 1px solid var(--mfm-border);
    color: var(--mfm-text);
    font-size: 12px;
}

.mfm-event-item-box-right,
.event-gazda { border-right: 3px solid var(--mfm-accent); }

.mfm-event-item-box-left,
.event-oaspete { border-left: 3px solid var(--mfm-accent); }

.mfm-event-minut {
    color: var(--mfm-accent);
    font-weight: 800;
}

.mfm-no-events,
.mfm-events-empty-box {
    padding: 10px;
    color: var(--mfm-muted);
    font-style: italic;
    text-align: center;
}

/* =========================================================
   ECHIPĂ / JUCĂTOR
   ========================================================= */

.mfm-echipa-banner,
.mfm-jucator-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
    padding: 16px;
    background: linear-gradient(90deg, var(--mfm-primary), var(--mfm-primary-2));
    color: var(--mfm-white);
    border: 1px solid var(--mfm-primary);
    box-shadow: var(--mfm-shadow-sm);
}

.mfm-echipa-banner-sigla,
.mfm-jucator-foto,
.mfm-jucator-foto-placeholder {
    width: 82px;
    height: 82px;
    min-width: 82px;
    min-height: 82px;
    max-width: 82px;
    max-height: 82px;
    object-fit: cover;
    background: var(--mfm-white);
    border: 2px solid rgba(255,255,255,.55);
}

.mfm-echipa-banner-sigla {
    object-fit: contain;
    padding: 4px;
}

.mfm-jucator-foto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mfm-muted);
    font-size: 11px;
    text-align: center;
}

.mfm-echipa-banner-titlu,
.mfm-jucator-nume {
    margin: 0 0 4px;
    color: var(--mfm-white) !important;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.mfm-echipa-banner-sub,
.mfm-jucator-meta {
    margin: 0;
    color: rgba(255,255,255,.82) !important;
    font-size: 12px;
}

.mfm-jucator-echipa {
    margin: 5px 0;
    color: rgba(255,255,255,.9) !important;
}

.mfm-jucator-card .mfm-link-echipa-bold {
    color: var(--mfm-white) !important;
}

.mfm-badge-sanctiune,
.mfm-badge-sanctiuni {
    display: inline-block;
    padding: 2px 6px;
    background: var(--mfm-danger);
    color: var(--mfm-white) !important;
    font-size: 10px;
    font-weight: 800;
}

.mfm-stats-grid,
.mfm-public-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin: 0 0 20px;
}

.mfm-stat-card,
.mfm-public-stat-card {
    padding: 14px 12px;
    background: var(--mfm-surface);
    border: 1px solid var(--mfm-border);
    text-align: center;
    box-shadow: var(--mfm-shadow-sm);
}

.mfm-stat-number,
.mfm-public-stat-number {
    display: block;
    color: var(--mfm-primary);
    font-size: 24px;
    font-weight: 900;
}

.mfm-stat-label,
.mfm-public-stat-label {
    color: var(--mfm-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.stat-goluri,
.mfm-public-stat-number-blue { color: var(--mfm-accent); }
.stat-galbene,
.mfm-public-stat-number-yellow { color: var(--mfm-warning); }
.stat-rosii,
.mfm-public-stat-number-red { color: var(--mfm-danger); }

.mfm-avatar-small,
.mfm-avatar-placeholder {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    object-fit: cover;
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
}

.mfm-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mfm-muted);
    font-size: 9px;
}

/* =========================================================
   FAZE FINALE PLAY-OFF / PLAY-OUT
   ========================================================= */

.mfm-final-phase-page {
    max-width: 1200px;
}

.mfm-final-phase-hero,
.mfm-final-phase-meta {
    margin: 0 0 18px;
    text-align: center;
}

.mfm-final-phase-title {
    margin: 0 0 4px;
    color: var(--mfm-primary);
    font-size: 26px;
    font-weight: 900;
}

.mfm-final-phase-kicker {
    color: var(--mfm-primary);
    font-size: 13px;
    font-weight: 800;
}

.mfm-final-phase-season {
    margin-top: 3px;
    color: var(--mfm-muted);
    font-size: 12px;
    font-weight: 600;
}

.mfm-final-phase-nav,
.mfm-phase-competition-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.mfm-phase-competition-list {
    grid-template-columns: 1fr;
}

.mfm-final-phase-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: var(--mfm-surface);
    color: var(--mfm-primary) !important;
    border: 1px solid var(--mfm-border);
    border-left: 4px solid var(--mfm-primary-2);
    box-shadow: var(--mfm-shadow-sm);
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.mfm-final-phase-card:hover {
    transform: translateY(-2px);
    border-color: var(--mfm-accent);
    box-shadow: var(--mfm-shadow-md);
}

.mfm-final-phase-card.is-active {
    background: var(--mfm-primary);
    color: var(--mfm-white) !important;
    border-color: var(--mfm-primary);
}

.mfm-final-phase-card strong {
    display: block;
    color: inherit !important;
    font-size: 14px;
    font-weight: 900;
}

.mfm-final-phase-card small {
    display: block;
    margin-top: 2px;
    color: var(--mfm-muted);
    font-size: 11px;
}

.mfm-final-phase-card.is-active small {
    color: rgba(255,255,255,.78);
}

.mfm-final-phase-card-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.mfm-final-phase-section {
    margin-top: 22px;
}

/* =========================================================
   TURNEU / ELIMINATORII
   ========================================================= */

.mfm-turneu-calendar,
.mfm-turneu-eliminatorii {
    width: 100%;
}

.mfm-turneu-final-row {
    font-weight: 700;
}

.mfm-turneu-final-winner {
    color: var(--mfm-success) !important;
    font-weight: 900 !important;
}

.mfm-turneu-separator {
    opacity: .65;
}

/* =========================================================
   HOMEPAGE CARDS
   ========================================================= */

.mfm-home-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin: 20px 0;
    font-family: var(--mfm-font);
}

.mfm-home-card {
    position: relative;
    min-width: 0;
    min-height: 210px;
    padding: 18px 16px;
    overflow: hidden;
    background: var(--mfm-surface);
    color: var(--mfm-text);
    border: 1px solid var(--mfm-border);
    box-shadow: var(--mfm-shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.mfm-home-card:hover {
    transform: translateY(-3px);
    border-color: var(--mfm-accent);
    box-shadow: var(--mfm-shadow-md);
}

.mfm-home-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--mfm-primary-2);
}

.mfm-home-card-cup::before {
    background: var(--mfm-warning);
}

.mfm-home-card-label {
    margin-bottom: 14px;
    color: var(--mfm-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.mfm-home-card-title {
    margin: 6px 0;
    color: var(--mfm-primary) !important;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.mfm-home-card-subtitle,
.mfm-home-card-meta {
    color: var(--mfm-muted);
    font-size: 12px;
    font-weight: 600;
}

.mfm-home-card-big-number {
    margin-top: 16px;
    color: var(--mfm-primary);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.mfm-home-card-big-number span {
    display: block;
    margin-top: 6px;
    color: var(--mfm-muted);
    font-size: 10px;
    letter-spacing: .8px;
}

.mfm-home-card-versus {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.mfm-home-card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--mfm-text);
    text-align: center;
}

.mfm-home-card-team span {
    color: var(--mfm-primary);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.mfm-home-card-team img,
.mfm-home-card-logo {
    display: block;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    padding: 4px;
    object-fit: contain;
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
}

.mfm-home-vs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: var(--mfm-primary);
    color: var(--mfm-white);
    font-size: 12px;
    font-weight: 900;
}

.mfm-home-cup-teams {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}

.mfm-home-cup-teams img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    padding: 2px;
    object-fit: contain;
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
}

.mfm-home-card-empty {
    margin-top: 12px;
    color: var(--mfm-muted);
    font-size: 12px;
    font-style: italic;
}

/* =========================================================
   FORMULARE SIMPLE / VIDEO
   ========================================================= */

.mfm-sezon-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px;
}

.mfm-sezon-label {
    color: var(--mfm-primary);
    font-size: 12px;
    font-weight: 800;
}

.mfm-sezon-select {
    min-height: 36px;
    padding: 6px 10px;
    background: var(--mfm-surface);
    color: var(--mfm-text);
    border: 1px solid var(--mfm-border-strong);
    font-size: 12px;
}

.mfm-video-container {
    margin: 20px 0;
}

.mfm-video-responsive {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--mfm-border);
}

.mfm-video-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================
   UTILITARE
   ========================================================= */

.mfm-th-center-60 { width: 60px; }
.mfm-th-center-40 { width: 40px; }
.mfm-th-col-8 { width: 8%; }
.mfm-th-center-15 { width: 15%; }

.mfm-col-date { white-space: nowrap; }
.mfm-col-datetime { font-size: 12px; }
.mfm-col-status { text-align: center; font-size: 11px; }
.mfm-text-highlight { color: var(--mfm-accent) !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
    .mfm-home-cards {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 780px) {
    .mfm-calendar-wrapper,
    .mfm-clasament-wrapper,
    .mfm-public-wrap,
    .mfm-meci-single-page,
    .mfm-echipa-single-page,
    .mfm-custom-page-container,
    .mfm-competition-content,
    .mfm-final-phase-page,
    .mfm-golgheteri-wrapper {
        padding-left: 6px;
        padding-right: 6px;
    }

    .mfm-table,
    .mfm-standings-table,
    .mfm-table-stats,
    .mfm-calendar-table,
    .mfm-lot-table,
    .mfm-meciuri-table {
        min-width: 620px;
    }

    .mfm-next-match-modern-body {
        grid-template-columns: minmax(0,1fr) 90px minmax(0,1fr);
        gap: 8px;
        padding: 10px;
    }

    .mfm-next-match-team {
        min-height: 104px;
        padding: 9px 6px;
    }

    .mfm-next-match-logo {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }

    .mfm-next-match-team-name {
        font-size: 12px;
    }

    .mfm-meci-header {
        grid-template-columns: minmax(0,1fr) 110px minmax(0,1fr);
        padding: 12px;
    }

    .mfm-final-phase-nav {
        grid-template-columns: 1fr;
    }

    .mfm-stats-grid,
    .mfm-public-stats-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    .mfm-home-cards {
        grid-template-columns: 1fr;
    }

    .mfm-home-card {
        min-height: auto;
    }

    .mfm-calendar-faza-title,
    .mfm-clasament-header h3,
    .mfm-clasament-title,
    .mfm-widget-next-match .mfm-next-match-header {
        font-size: 16px !important;
    }

    .mfm-next-match-modern-body {
        grid-template-columns: minmax(0,1fr) 66px minmax(0,1fr);
        gap: 5px;
        padding: 8px 5px;
    }

    .mfm-next-match-team {
        min-height: 90px;
        padding: 7px 3px;
    }

    .mfm-next-match-logo {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
    }

    .mfm-next-match-team-name {
        font-size: 10px;
    }

    .mfm-next-match-vs,
    .mfm-vs {
        min-width: 44px;
        height: 38px;
        font-size: 11px;
    }

    .mfm-next-match-date,
    .mfm-date {
        font-size: 9px;
    }

    .mfm-widget-recent-matches .mfm-card-main {
        gap: 5px;
        padding: 8px 6px;
    }

    .mfm-widget-recent-matches .mfm-card-team {
        gap: 5px;
        font-size: 10px;
    }

    .mfm-widget-recent-matches .mfm-card-sigla {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
    }

    .mfm-widget-recent-matches .mfm-card-score {
        min-width: 48px;
        padding: 5px 6px;
        font-size: 12px;
    }

    .mfm-meci-header {
        grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr);
        gap: 6px;
        padding: 8px 5px;
    }

    .mfm-sigla-large,
    .mfm-meci-team-sigla,
    .mfm-meci-team-sigla-block {
        width: 52px;
        height: 52px;
        max-width: 52px;
        max-height: 52px;
    }

    .mfm-echipa-titlu,
    .mfm-meci-team-title {
        font-size: 11px;
    }

    .mfm-scor-text,
    .mfm-meci-score-badge {
        padding: 6px 7px;
        font-size: 18px !important;
    }

    .mfm-events-grid,
    .mfm-events-wrapper {
        grid-template-columns: 1fr;
    }

    .gazda-events,
    .oaspete-events {
        text-align: left;
    }

    .mfm-echipa-banner,
    .mfm-jucator-card {
        align-items: flex-start;
        padding: 12px;
    }

    .mfm-echipa-banner-sigla,
    .mfm-jucator-foto,
    .mfm-jucator-foto-placeholder {
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
        max-width: 64px;
        max-height: 64px;
    }

    .mfm-echipa-banner-titlu,
    .mfm-jucator-nume {
        font-size: 18px;
    }

    .mfm-stats-grid,
    .mfm-public-stats-grid {
        grid-template-columns: 1fr;
    }

    .mfm-campioana-card,
    .mfm-cupa-castigator-card,
    .mfm-turneu-castigator-card {
        padding: 22px 12px;
    }

    .mfm-campioana-logo,
    .mfm-cupa-logo img {
        width: 74px;
        height: 74px;
        max-width: 74px;
        max-height: 74px;
    }

    .mfm-campioana-nume,
    .mfm-cupa-castigatoare-nume,
    .mfm-cupa-castigatoare-nume a {
        font-size: 22px !important;
    }

    .mfm-notice,
    .mfm-no-match {
        font-size: 12px;
    }
}

/* =========================================================
   COMPONENTE SECUNDARE / ALIASE SEMANTICE
   ========================================================= */

.mfm-calendar-container,
.mfm-calendar-faze,
.mfm-urmatoarea-etapa,
.mfm-widget-player-stats,
.mfm-golgheteri {
    width: 100%;
}

.mfm-clasament-faza-finala,
.mfm-stare-faza-finala,
.mfm-urmatoarea-etapa-empty {
    width: 100%;
}

.mfm-public-section-standings,
.mfm-public-section-next,
.mfm-public-section-recent,
.mfm-public-section-calendar,
.mfm-public-section-top {
    width: 100%;
}

.mfm-final-phase-card-playoff {
    border-left-color: var(--mfm-success);
}

.mfm-final-phase-card-playout {
    border-left-color: var(--mfm-accent);
}

.mfm-final-phase-card-playoff.is-active,
.mfm-final-phase-card-playout.is-active {
    border-left-color: #ffe69a;
}

.mfm-cupa-castigator-error {
    margin: 12px 0;
    padding: 11px 13px;
    background: #fff3f3;
    color: var(--mfm-danger);
    border: 1px solid #efcaca;
    border-left: 4px solid var(--mfm-danger);
    font-size: 13px;
    font-weight: 700;
}

.mfm-events-divider {
    border-right: 1px solid var(--mfm-border);
}

.mfm-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: -2px;
}

.mfm-poza-echipa-wrapper {
    margin: 0 0 18px;
    text-align: center;
}

.mfm-poza-echipa-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid var(--mfm-border);
}

.mfm-notice-text {
    min-width: 0;
}

.mfm-turneu-competitie-nume,
.mfm-turneu-sezon {
    color: inherit;
    font-weight: 700;
}

.mfm-col-etapa {
    font-size: 12px;
    font-weight: 700;
}

.mfm-home-card-next::before {
    background: var(--mfm-accent);
}

.mfm-next-match-home,
.mfm-next-match-away {
    min-width: 0;
}

/* Calendar structural alignment */
.mfm-calendar-table {
    width: 100% !important;
    table-layout: fixed !important;
}
.mfm-calendar-table .mfm-col-score {
    text-align: center !important;
    white-space: nowrap !important;
}


/* Calendar: teren / locație */
.mfm-calendar-table .mfm-col-teren {
    vertical-align: middle;
    white-space: normal;
}

/* Calendar: teren / locație - desktop compact */
@media (min-width: 769px) {
    .mfm-calendar-table .mfm-col-teren {
        white-space: nowrap !important;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .mfm-calendar-table .mfm-col-teren {
        white-space: normal !important;
    }
}


/*
/* ==========================================================================
   MFM STANDARD — TEMPLATE CAMPIONAT 2026
   Refacere vizuală principală pentru integrarea cu template-ul site-ului.
   ========================================================================== */

/* ---------- CONTEXT GENERAL ---------- */
.mfm-calendar-wrapper,
.mfm-clasament-wrapper,
.mfm-public-wrap,
.mfm-meci-single-page,
.mfm-echipa-single-page,
.mfm-custom-page-container,
.mfm-competition-content,
.mfm-final-phase-page,
.mfm-golgheteri-wrapper {
    max-width: 1040px !important;
    margin-top: 16px !important;
    margin-bottom: 18px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-family: var(--mfm-font) !important;
    color: var(--mfm-text) !important;
}

.mfm-public-wrap,
.mfm-competition-content,
.mfm-competition-page-shell {
    font-family: var(--mfm-font) !important;
}

.mfm-public-section {
    margin-bottom: 24px !important;
}

/* ---------- TITLURI GENERALE ---------- */
.mfm-section-title,
.mfm-section-title-lg,
.mfm-section-title-center {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #202830 !important;
    border: 0 !important;
    font-family: var(--mfm-font) !important;
    font-weight: 700 !important;
    letter-spacing: -.25px !important;
}

.mfm-section-title {
    font-size: 21px !important;
    line-height: 1.25 !important;
}

.mfm-section-title-lg {
    font-size: 25px !important;
    line-height: 1.2 !important;
}

.mfm-section-title-center {
    font-size: 21px !important;
}

/* ---------- HEADER SECȚIUNE / TABEL ---------- */
.mfm-calendar-faza-header,
.mfm-clasament-header {
    position: relative;
    padding: 8px 12px !important;
    background: linear-gradient(90deg, #123e70 0%, #1f6599 100%) !important;
    color: #fff !important;
    border: 0 !important;
    border-top: 2px solid var(--mfm-accent) !important;
    box-shadow: none !important;
}

.mfm-calendar-faza-title,
.mfm-clasament-header h3,
.mfm-clasament-title {
    color: #fff !important;
    font-family: var(--mfm-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.mfm-etapa-block {
    border-color: var(--mfm-border) !important;
    box-shadow: none !important;
}

.mfm-etapa-header {
    padding: 7px 10px !important;
    background: #e6edf3 !important;
    color: #24394c !important;
    border-bottom-color: #c8d4de !important;
}

.mfm-etapa-header h3,
.mfm-etapa-title {
    color: #24394c !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.mfm-etapa-data,
.mfm-etapa-header .mfm-etapa-data {
    color: #647483 !important;
    font-size: 11px !important;
}

/* ---------- TABELE: STANDARD COMPACT ---------- */
.mfm-table-responsive {
    margin-bottom: 18px !important;
}

.mfm-table,
.mfm-standings-table,
.mfm-table-stats,
.mfm-calendar-table,
.mfm-lot-table,
.mfm-meciuri-table {
    background: #fff !important;
    color: #25313c !important;
    font-family: var(--mfm-font) !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    border: 1px solid #cbd6df !important;
}

.mfm-table thead th,
.mfm-standings-table thead th,
.mfm-table-stats thead th,
.mfm-calendar-table thead th,
.mfm-lot-table thead th,
.mfm-meciuri-table thead th {
    padding: 8px 8px !important;
    background: #153f6a !important;
    color: #fff !important;
    border-right: 1px solid rgba(255,255,255,.13) !important;
    border-bottom: 0 !important;
    font-family: var(--mfm-font) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: .25px !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

.mfm-table tbody td,
.mfm-standings-table tbody td,
.mfm-table-stats tbody td,
.mfm-calendar-table tbody td,
.mfm-lot-table tbody td,
.mfm-meciuri-table tbody td {
    padding: 8px 8px !important;
    background: #fff !important;
    color: #263442 !important;
    border-bottom: 1px solid #d5dee6 !important;
    vertical-align: middle !important;
    font-size: 12px !important;
}

.mfm-table tbody tr:nth-child(even) td,
.mfm-standings-table tbody tr:nth-child(even) td,
.mfm-table-stats tbody tr:nth-child(even) td,
.mfm-calendar-table tbody tr:nth-child(even) td,
.mfm-lot-table tbody tr:nth-child(even) td,
.mfm-meciuri-table tbody tr:nth-child(even) td {
    background: #edf3f7 !important;
}

.mfm-table tbody tr:hover td,
.mfm-standings-table tbody tr:hover td,
.mfm-table-stats tbody tr:hover td,
.mfm-calendar-table tbody tr:hover td,
.mfm-lot-table tbody tr:hover td,
.mfm-meciuri-table tbody tr:hover td {
    background: #fff7db !important;
}

.mfm-table a,
.mfm-standings-table a,
.mfm-table-stats a,
.mfm-calendar-table a,
.mfm-lot-table a,
.mfm-meciuri-table a,
.mfm-link-echipa-bold,
.mfm-link-echipa,
.mfm-link-bold,
.mfm-link-plain,
.mfm-link-jucator {
    color: #145a91 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.mfm-table a:hover,
.mfm-standings-table a:hover,
.mfm-table-stats a:hover,
.mfm-calendar-table a:hover,
.mfm-lot-table a:hover,
.mfm-meciuri-table a:hover,
.mfm-link-echipa-bold:hover,
.mfm-link-echipa:hover,
.mfm-link-jucator:hover {
    color: #0d396d !important;
    text-decoration: underline !important;
}

/* Poziție și puncte mai ferme în clasament */
.mfm-standings-table td:first-child,
.mfm-table-stats td:first-child {
    width: 40px !important;
    color: #30404e !important;
    font-weight: 700 !important;
}

.mfm-standings-table td:last-child,
.mfm-table-stats td:last-child {
    color: #152f4e !important;
    font-weight: 900 !important;
}

/* ---------- SIGLE MICI ÎN TABELE ---------- */
.mfm-sigla-icon-left,
.mfm-sigla-icon-right,
.mfm-logo,
.mfm-col-gazda img,
.mfm-col-oaspete img,
.mfm-team-home img,
.mfm-team-away img {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
    padding: 2px !important;
    background: #fff !important;
    border: 1px solid #cbd6df !important;
    border-radius: 50% !important;
    flex-basis: 27px !important;
}

/* ---------- SCORURI ---------- */
/* În badge-uri albastre, scorul este alb pentru contrast. */
.mfm-score-btn,
.mfm-score-btn-link,
.mfm-card-score,
.mfm-scor-text,
.mfm-meci-score-badge,
.mfm-meci-score-badge-blue {
    color: #fff !important;
    font-weight: 900 !important;
}

.mfm-col-score,
.mfm-score {
    color: #173f68 !important;
    font-weight: 900 !important;
}

.mfm-widget-recent-matches .mfm-card-score {
    background: #123d68 !important;
    color: #fff !important;
}

/* ---------- CAMPION / CÂȘTIGĂTOR ---------- */
.mfm-campioana-card,
.mfm-cupa-castigator-card,
.mfm-turneu-castigator-card {
    padding: 22px 18px !important;
    background: linear-gradient(115deg, #125587 0%, #1778b5 62%, #2186c0 100%) !important;
    color: #fff !important;
    border: 1px solid #0e3a67 !important;
    box-shadow: 0 5px 13px rgba(17,56,96,.14) !important;
}

.mfm-campioana-card::before,
.mfm-cupa-castigator-card::before,
.mfm-turneu-castigator-card::before {
    height: 3px !important;
    background: #d4aa24 !important;
}

.mfm-campioana-trophy,
.mfm-cupa-trophy {
    font-size: 36px !important;
}

.mfm-campioana-label,
.mfm-cupa-castigator-label {
    color: #ffe28a !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .85px !important;
}

.mfm-campioana-competitie,
.mfm-cupa-competitie,
.mfm-turneu-competitie,
.mfm-campioana-puncte {
    color: rgba(255,255,255,.88) !important;
}

.mfm-campioana-logo,
.mfm-cupa-logo img {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    margin: 7px auto 10px !important;
    padding: 5px !important;
    background: #fff !important;
    border: 0 !important;
}

.mfm-campioana-nume,
.mfm-cupa-castigatoare-nume,
.mfm-cupa-castigatoare-nume a,
.mfm-campioana-team-link {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: .15px !important;
}

/* ---------- NOTIFICĂRI ---------- */
.mfm-notice,
.mfm-no-match {
    margin: 10px 0 18px !important;
    padding: 9px 11px !important;
    background: #f1f5f8 !important;
    color: #314355 !important;
    border: 1px solid #cfdae3 !important;
    border-left: 3px solid #1b729f !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.mfm-notice-success,
.mfm-faza-finala-incheiata {
    border-left-color: #35915b !important;
}

.mfm-notice-warning {
    border-left-color: #d1a323 !important;
}

/* ---------- URMĂTORUL MECI ---------- */
.mfm-widget-next-match,
.mfm-next-match-modern,
.mfm-widget-recent-matches .mfm-match-card,
.mfm-meci-detalii-wrapper,
.mfm-stat-card,
.mfm-public-stat-card,
.mfm-home-card {
    border-color: #ccd7e0 !important;
    box-shadow: none !important;
}

.mfm-widget-next-match .mfm-next-match-header,
.mfm-next-match-modern > .mfm-next-match-header {
    padding: 8px 11px !important;
    background: linear-gradient(90deg, #113d69, #1b6397) !important;
    color: #fff !important;
    border-top: 2px solid #d4aa24 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.mfm-next-match-phase {
    padding: 6px 11px !important;
    background: #e7eef3 !important;
    color: #435465 !important;
    font-size: 11px !important;
}

.mfm-next-match-team {
    min-height: 104px !important;
    padding: 10px !important;
    background: #f6f8fa !important;
    border-color: #d4dde5 !important;
}

.mfm-next-match-team-name {
    color: #154f80 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.mfm-next-match-vs,
.mfm-vs {
    min-width: 50px !important;
    height: 40px !important;
    background: #123e6a !important;
    color: #fff !important;
}

.mfm-next-match-date,
.mfm-date {
    color: #5d6d79 !important;
}

/* ---------- ULTIMELE MECIURI ---------- */
.mfm-widget-recent-matches {
    gap: 6px !important;
}

.mfm-widget-recent-matches .mfm-card-date {
    padding: 6px 9px !important;
    background: #e4ebf1 !important;
    color: #31495e !important;
    font-size: 10px !important;
}

.mfm-widget-recent-matches .mfm-card-main {
    padding: 8px 10px !important;
}

.mfm-widget-recent-matches .mfm-card-team {
    color: #263442 !important;
    font-size: 12px !important;
}

.mfm-widget-recent-matches .mfm-card-sigla {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
}

/* ---------- PAGINA MECI ---------- */
.mfm-meci-header {
    padding: 14px !important;
    background: #f1f5f8 !important;
    border-color: #cfd9e2 !important;
}

.mfm-echipa-titlu,
.mfm-meci-team-title {
    color: #143f6b !important;
    font-size: 15px !important;
}

.mfm-scor-text,
.mfm-meci-score-badge {
    background: #123f6c !important;
    color: #fff !important;
    font-size: 23px !important;
}

.mfm-meta-info,
.mfm-meci-info-box-blue,
.mfm-meci-info-bar {
    background: #eef3f7 !important;
    color: #354657 !important;
    border-color: #ced9e2 !important;
    border-left-color: #d2a922 !important;
}

/* ---------- EVENIMENTE MECI ---------- */
.mfm-events-title {
    color: #202830 !important;
    border-bottom: 2px solid #d3dde5 !important;
    font-size: 17px !important;
}

.mfm-events-wrapper {
    background: #eef3f7 !important;
    border-color: #ccd7e0 !important;
}

.mfm-event-item,
.mfm-event-item-box-right,
.mfm-event-item-box-left,
.event-gazda,
.event-oaspete {
    background: #fff !important;
    color: #263442 !important;
    border-color: #d3dde5 !important;
}

.mfm-event-minut {
    color: #155f97 !important;
}

/* ---------- ECHIPĂ / JUCĂTOR ---------- */
.mfm-echipa-banner,
.mfm-jucator-card {
    background: linear-gradient(90deg, #103a69, #1a639a) !important;
    color: #fff !important;
    border: 0 !important;
    border-top: 3px solid #d4aa24 !important;
    box-shadow: none !important;
}

.mfm-echipa-banner-titlu,
.mfm-jucator-nume,
.mfm-jucator-card .mfm-link-echipa-bold {
    color: #fff !important;
}

.mfm-echipa-banner-sub,
.mfm-jucator-meta,
.mfm-jucator-echipa {
    color: rgba(255,255,255,.84) !important;
}

.mfm-stat-number,
.mfm-public-stat-number {
    color: #154f80 !important;
}

.mfm-stat-label,
.mfm-public-stat-label {
    color: #66727e !important;
}

/* ---------- FAZE FINALE ---------- */
.mfm-final-phase-title {
    color: #202830 !important;
    font-size: 26px !important;
}

.mfm-final-phase-kicker {
    color: #154f80 !important;
}

.mfm-final-phase-season {
    color: #687582 !important;
}

.mfm-final-phase-card {
    background: #fff !important;
    color: #173f68 !important;
    border-color: #ccd7e0 !important;
    border-left-color: #1b679c !important;
    box-shadow: none !important;
}

.mfm-final-phase-card.is-active {
    background: #123f6b !important;
    color: #fff !important;
    border-color: #123f6b !important;
    border-left-color: #d4aa24 !important;
}

/* ---------- HOMEPAGE CARDS ---------- */
.mfm-home-cards {
    gap: 12px !important;
}

.mfm-home-card {
    min-height: 195px !important;
    padding: 16px 14px !important;
    background: #fff !important;
    color: #263442 !important;
}

.mfm-home-card::before {
    height: 3px !important;
    background: #17639a !important;
}

.mfm-home-card-cup::before {
    background: #d4aa24 !important;
}

.mfm-home-card-label {
    color: #65727f !important;
}

.mfm-home-card-title {
    color: #123f6b !important;
    font-size: 17px !important;
}

.mfm-home-card-subtitle,
.mfm-home-card-meta {
    color: #687582 !important;
}

.mfm-home-card-big-number {
    color: #123f6b !important;
}

.mfm-home-vs {
    background: #123f6b !important;
    color: #fff !important;
}

/* ---------- TITLURI PAGINI COMPETIȚII GENERATE ---------- */
.mfm-competition-title {
    margin-top: 0 !important;
    margin-bottom: 2px !important;
}

.mfm-competition-title .elementor-heading-title {
    font-family: var(--mfm-font) !important;
    font-size: 27px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: -.35px !important;
    color: #202830 !important;
    text-align: center !important;
}

.mfm-competition-season {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.mfm-competition-season .elementor-heading-title {
    font-family: var(--mfm-font) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #303b45 !important;
    text-align: center !important;
}

.mfm-section-heading {
    margin-top: 20px !important;
    margin-bottom: 8px !important;
}

.mfm-section-heading .elementor-heading-title {
    font-family: var(--mfm-font) !important;
    font-size: 21px !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
    letter-spacing: -.2px !important;
    color: #202830 !important;
}

/* ---------- SELECT / FORM ---------- */
.mfm-sezon-label {
    color: #27394b !important;
}

.mfm-sezon-select {
    min-height: 34px !important;
    background: #fff !important;
    color: #263442 !important;
    border-color: #b9c6d1 !important;
}

/* ---------- ACCENTE ȘI STĂRI ---------- */
.mfm-text-highlight {
    color: #17639a !important;
}

.mfm-badge-sanctiune,
.mfm-badge-sanctiuni {
    background: #bd4044 !important;
    color: #fff !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 780px) {
    .mfm-calendar-wrapper,
    .mfm-clasament-wrapper,
    .mfm-public-wrap,
    .mfm-meci-single-page,
    .mfm-echipa-single-page,
    .mfm-custom-page-container,
    .mfm-competition-content,
    .mfm-final-phase-page,
    .mfm-golgheteri-wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .mfm-table,
    .mfm-standings-table,
    .mfm-table-stats,
    .mfm-calendar-table,
    .mfm-lot-table,
    .mfm-meciuri-table {
        font-size: 11px !important;
    }

    .mfm-table thead th,
    .mfm-standings-table thead th,
    .mfm-table-stats thead th,
    .mfm-calendar-table thead th,
    .mfm-lot-table thead th,
    .mfm-meciuri-table thead th {
        padding: 7px 6px !important;
        font-size: 9px !important;
    }

    .mfm-table tbody td,
    .mfm-standings-table tbody td,
    .mfm-table-stats tbody td,
    .mfm-calendar-table tbody td,
    .mfm-lot-table tbody td,
    .mfm-meciuri-table tbody td {
        padding: 7px 6px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 600px) {
    .mfm-competition-title .elementor-heading-title {
        font-size: 23px !important;
    }

    .mfm-competition-season .elementor-heading-title {
        font-size: 13px !important;
    }

    .mfm-section-heading .elementor-heading-title,
    .mfm-section-title,
    .mfm-section-title-center {
        font-size: 19px !important;
    }

    .mfm-campioana-nume,
    .mfm-cupa-castigatoare-nume,
    .mfm-cupa-castigatoare-nume a {
        font-size: 19px !important;
    }

    .mfm-widget-next-match .mfm-next-match-header,
    .mfm-next-match-modern > .mfm-next-match-header {
        font-size: 14px !important;
    }
}

/* ==========================================================================
   MFM TEMPLATE CAMPIONAT — FINISAJ V2
   Ajustări după testul real în site.
   ========================================================================== */

/* 1) FĂRĂ DUNGI AURII — aspect mai clean */
.mfm-campioana-card,
.mfm-cupa-castigator-card,
.mfm-turneu-castigator-card,
.mfm-echipa-banner,
.mfm-jucator-card,
.mfm-calendar-faza-header,
.mfm-clasament-header,
.mfm-widget-next-match .mfm-next-match-header,
.mfm-next-match-modern > .mfm-next-match-header {
    border-top: 0 !important;
}

.mfm-campioana-card::before,
.mfm-cupa-castigator-card::before,
.mfm-turneu-castigator-card::before,
.mfm-home-card::before,
.mfm-home-card-next::before,
.mfm-home-card-cup::before {
    display: none !important;
    content: none !important;
}

/* 2) HEADERE ALBASTRE — orice text din ele trebuie să fie alb și lizibil */
.mfm-clasament-header,
.mfm-clasament-header *,
.mfm-calendar-faza-header,
.mfm-calendar-faza-header *,
.mfm-widget-next-match .mfm-next-match-header,
.mfm-widget-next-match .mfm-next-match-header *,
.mfm-next-match-modern > .mfm-next-match-header,
.mfm-next-match-modern > .mfm-next-match-header * {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* Titluri secundare care pot apărea direct pe fundal albastru */
.mfm-widget-recent-matches > h2,
.mfm-widget-recent-matches > h3,
.mfm-widget-recent-matches > .mfm-section-title,
.mfm-widget-player-stats > h2,
.mfm-widget-player-stats > h3,
.mfm-golgheteri > h2,
.mfm-golgheteri > h3 {
    color: #ffffff !important;
}

/* 3) CARD ECHIPĂ / JUCĂTOR — alb pe albastru, fără excepții moștenite */
.mfm-echipa-banner,
.mfm-jucator-card {
    color: #ffffff !important;
}

.mfm-echipa-banner h1,
.mfm-echipa-banner h2,
.mfm-echipa-banner h3,
.mfm-echipa-banner h4,
.mfm-echipa-banner strong,
.mfm-echipa-banner b,
.mfm-echipa-banner span,
.mfm-echipa-banner p,
.mfm-echipa-banner a,
.mfm-echipa-banner .mfm-echipa-banner-titlu,
.mfm-echipa-banner .mfm-echipa-banner-sub,
.mfm-jucator-card h1,
.mfm-jucator-card h2,
.mfm-jucator-card h3,
.mfm-jucator-card h4,
.mfm-jucator-card strong,
.mfm-jucator-card b,
.mfm-jucator-card span,
.mfm-jucator-card p,
.mfm-jucator-card a,
.mfm-jucator-card .mfm-jucator-nume,
.mfm-jucator-card .mfm-jucator-echipa,
.mfm-jucator-card .mfm-jucator-meta,
.mfm-jucator-card .mfm-link-echipa-bold {
    color: #ffffff !important;
}

.mfm-echipa-banner .mfm-echipa-banner-sub,
.mfm-jucator-card .mfm-jucator-meta,
.mfm-jucator-card .mfm-jucator-echipa {
    color: rgba(255,255,255,.88) !important;
}

/* 4) SCORURI — contrast corect în funcție de fundal */
/* Badge-uri / blocuri albastre */
.mfm-widget-recent-matches .mfm-card-score,
.mfm-widget-recent-matches .mfm-card-score *,
.mfm-score-btn,
.mfm-score-btn *,
.mfm-score-btn-link,
.mfm-score-btn-link *,
.mfm-scor-text,
.mfm-scor-text *,
.mfm-meci-score-badge,
.mfm-meci-score-badge *,
.mfm-meci-score-badge-blue,
.mfm-meci-score-badge-blue * {
    color: #ffffff !important;
}

/* Scor din calendar — fundal deschis, deci albastru închis */
.mfm-calendar-table .mfm-col-score,
.mfm-calendar-table .mfm-col-score *,
.mfm-calendar-table td.mfm-col-score,
.mfm-calendar-table td.mfm-col-score a {
    color: #0e5c96 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

/* 5) ECHIPELE DIN MECIURI — mai importante decât data și terenul */
.mfm-calendar-table .mfm-col-gazda,
.mfm-calendar-table .mfm-col-oaspete,
.mfm-calendar-table .mfm-team-home,
.mfm-calendar-table .mfm-team-away,
.mfm-calendar-table .mfm-col-gazda a,
.mfm-calendar-table .mfm-col-oaspete a,
.mfm-calendar-table .mfm-team-home a,
.mfm-calendar-table .mfm-team-away a,
.mfm-calendar-table .mfm-team-cell {
    color: #12598e !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.mfm-calendar-table .mfm-col-date,
.mfm-calendar-table .mfm-col-datetime,
.mfm-calendar-table .mfm-col-teren {
    color: #586572 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

/* 6) PROPORȚII CALENDAR — data/teren compacte, echipele dominante */
@media (min-width: 769px) {
    .mfm-calendar-table {
        table-layout: fixed !important;
    }

    /* fallback după ordinea actuală: Data | Gazde | Scor | Oaspeți | Teren */
    .mfm-calendar-table th:nth-child(1),
    .mfm-calendar-table td:nth-child(1) {
        width: 14% !important;
    }

    .mfm-calendar-table th:nth-child(2),
    .mfm-calendar-table td:nth-child(2) {
        width: 31% !important;
    }

    .mfm-calendar-table th:nth-child(3),
    .mfm-calendar-table td:nth-child(3) {
        width: 10% !important;
        text-align: center !important;
    }

    .mfm-calendar-table th:nth-child(4),
    .mfm-calendar-table td:nth-child(4) {
        width: 31% !important;
    }

    .mfm-calendar-table th:nth-child(5),
    .mfm-calendar-table td:nth-child(5) {
        width: 14% !important;
    }

    .mfm-calendar-table .mfm-col-teren {
        white-space: normal !important;
        line-height: 1.25 !important;
    }
}

/* 7) CLASAMENT / GOLGHETERI — titlu pe bară albastră complet lizibil */
.mfm-clasament-header,
.mfm-calendar-faza-header {
    background: linear-gradient(90deg, #123e70 0%, #1f6599 100%) !important;
}

.mfm-clasament-header h1,
.mfm-clasament-header h2,
.mfm-clasament-header h3,
.mfm-clasament-header h4,
.mfm-clasament-header .mfm-clasament-title,
.mfm-calendar-faza-header h1,
.mfm-calendar-faza-header h2,
.mfm-calendar-faza-header h3,
.mfm-calendar-faza-header h4,
.mfm-calendar-faza-header .mfm-calendar-faza-title {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

/* 8) TABELE — păstrăm contrastul foarte clar */
.mfm-table thead th,
.mfm-standings-table thead th,
.mfm-table-stats thead th,
.mfm-calendar-table thead th,
.mfm-lot-table thead th,
.mfm-meciuri-table thead th {
    background: #173f69 !important;
    color: #ffffff !important;
}

.mfm-table thead th *,
.mfm-standings-table thead th *,
.mfm-table-stats thead th *,
.mfm-calendar-table thead th *,
.mfm-lot-table thead th *,
.mfm-meciuri-table thead th * {
    color: #ffffff !important;
}

/* 9) Recent matches — scor alb puternic, echipe albastre clare */
.mfm-widget-recent-matches .mfm-card-score {
    background: #143f6b !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.mfm-widget-recent-matches .mfm-card-team,
.mfm-widget-recent-matches .mfm-card-team a,
.mfm-widget-recent-matches .mfm-team-gazda,
.mfm-widget-recent-matches .mfm-team-oaspete {
    color: #12598e !important;
    font-weight: 800 !important;
}

/* 10) Mobile — nu forțăm proporțiile desktop */
@media (max-width: 768px) {
    .mfm-calendar-table .mfm-col-date,
    .mfm-calendar-table .mfm-col-datetime,
    .mfm-calendar-table .mfm-col-teren {
        font-size: 10px !important;
    }

    .mfm-calendar-table .mfm-col-gazda,
    .mfm-calendar-table .mfm-col-oaspete,
    .mfm-calendar-table .mfm-team-home,
    .mfm-calendar-table .mfm-team-away {
        font-size: 11px !important;
    }

    .mfm-calendar-table .mfm-col-score {
        font-size: 12px !important;
    }
}


/* ========================================================================== 
   MFM 3.3.40 — Template site integration / contrast & proportions fix
   ========================================================================== */

/* Clean UI: remove decorative gold top bars */
.mfm-campioana-card::before,
.mfm-cupa-castigator-card::before,
.mfm-turneu-castigator-card::before,
.mfm-home-card::before,
.mfm-home-card-next::before,
.mfm-home-card-cup::before {
    display: none !important;
    content: none !important;
}

.mfm-campioana-card,
.mfm-cupa-castigator-card,
.mfm-turneu-castigator-card,
.mfm-echipa-banner,
.mfm-jucator-card,
.mfm-calendar-faza-header,
.mfm-clasament-header,
.mfm-widget-next-match .mfm-next-match-header,
.mfm-next-match-modern > .mfm-next-match-header {
    border-top: 0 !important;
}

/* Blue section headers: force readable white content */
.mfm-clasament-header,
.mfm-clasament-header *,
.mfm-calendar-faza-header,
.mfm-calendar-faza-header *,
.mfm-widget-next-match .mfm-next-match-header,
.mfm-widget-next-match .mfm-next-match-header *,
.mfm-next-match-modern > .mfm-next-match-header,
.mfm-next-match-modern > .mfm-next-match-header * {
    color: #ffffff !important;
    text-shadow: none !important;
}

.mfm-clasament-header h1,
.mfm-clasament-header h2,
.mfm-clasament-header h3,
.mfm-clasament-header h4,
.mfm-clasament-header .mfm-clasament-title,
.mfm-calendar-faza-header h1,
.mfm-calendar-faza-header h2,
.mfm-calendar-faza-header h3,
.mfm-calendar-faza-header h4,
.mfm-calendar-faza-header .mfm-calendar-faza-title {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

/* Team/player hero banners: text must stay white on the blue gradient */
.mfm-echipa-banner,
.mfm-jucator-card {
    color: #ffffff !important;
    border-top: 0 !important;
}

.mfm-echipa-banner :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,a,small),
.mfm-jucator-card :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,a,small),
.mfm-echipa-banner-titlu,
.mfm-echipa-banner-sub,
.mfm-jucator-nume,
.mfm-jucator-echipa,
.mfm-jucator-meta,
.mfm-jucator-card .mfm-link-echipa-bold {
    color: #ffffff !important;
}

.mfm-echipa-banner-sub,
.mfm-jucator-meta,
.mfm-jucator-echipa {
    color: rgba(255,255,255,.88) !important;
}

/* Recent matches: score is white on dark blue; teams remain clear and stronger */
.mfm-widget-recent-matches .mfm-card-score,
.mfm-widget-recent-matches .mfm-card-score *,
.mfm-score-btn,
.mfm-score-btn *,
.mfm-score-btn-link,
.mfm-score-btn-link *,
.mfm-scor-text,
.mfm-scor-text *,
.mfm-meci-score-badge,
.mfm-meci-score-badge *,
.mfm-meci-score-badge-blue,
.mfm-meci-score-badge-blue * {
    color: #ffffff !important;
}

.mfm-widget-recent-matches .mfm-card-score {
    background: #153f6a !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

.mfm-widget-recent-matches .mfm-card-team,
.mfm-widget-recent-matches .mfm-card-team a,
.mfm-widget-recent-matches .mfm-team-gazda,
.mfm-widget-recent-matches .mfm-team-oaspete {
    color: #12598e !important;
    font-weight: 800 !important;
}

/* Calendar: teams + score are primary; date + venue are supporting info */
.mfm-calendar-table .mfm-col-gazda,
.mfm-calendar-table .mfm-col-oaspete,
.mfm-calendar-table .mfm-team-home,
.mfm-calendar-table .mfm-team-away,
.mfm-calendar-table .mfm-col-gazda a,
.mfm-calendar-table .mfm-col-oaspete a,
.mfm-calendar-table .mfm-team-home a,
.mfm-calendar-table .mfm-team-away a,
.mfm-calendar-table .mfm-team-cell {
    color: #12598e !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.mfm-calendar-table .mfm-col-score,
.mfm-calendar-table .mfm-col-score *,
.mfm-calendar-table td.mfm-col-score,
.mfm-calendar-table td.mfm-col-score a {
    color: #0b5f99 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-align: center !important;
}

.mfm-calendar-table .mfm-col-date,
.mfm-calendar-table .mfm-col-datetime,
.mfm-calendar-table .mfm-col-teren {
    color: #606d79 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

@media (min-width: 769px) {
    .mfm-calendar-table {
        width: 100% !important;
        table-layout: fixed !important;
    }

    /* Actual calendar order: Date | Home | Score | Away | Venue */
    .mfm-calendar-table th:nth-child(1),
    .mfm-calendar-table td:nth-child(1),
    .mfm-calendar-table .mfm-col-date,
    .mfm-calendar-table .mfm-col-datetime {
        width: 14% !important;
    }

    .mfm-calendar-table th:nth-child(2),
    .mfm-calendar-table td:nth-child(2),
    .mfm-calendar-table .mfm-col-gazda,
    .mfm-calendar-table .mfm-team-home {
        width: 31% !important;
    }

    .mfm-calendar-table th:nth-child(3),
    .mfm-calendar-table td:nth-child(3),
    .mfm-calendar-table .mfm-col-score {
        width: 10% !important;
    }

    .mfm-calendar-table th:nth-child(4),
    .mfm-calendar-table td:nth-child(4),
    .mfm-calendar-table .mfm-col-oaspete,
    .mfm-calendar-table .mfm-team-away {
        width: 31% !important;
    }

    .mfm-calendar-table th:nth-child(5),
    .mfm-calendar-table td:nth-child(5),
    .mfm-calendar-table .mfm-col-teren {
        width: 14% !important;
    }

    .mfm-calendar-table .mfm-col-teren {
        white-space: normal !important;
        line-height: 1.25 !important;
    }
}

/* All table header cells remain high-contrast */
.mfm-table thead th,
.mfm-standings-table thead th,
.mfm-table-stats thead th,
.mfm-calendar-table thead th,
.mfm-lot-table thead th,
.mfm-meciuri-table thead th,
.mfm-table thead th *,
.mfm-standings-table thead th *,
.mfm-table-stats thead th *,
.mfm-calendar-table thead th *,
.mfm-lot-table thead th *,
.mfm-meciuri-table thead th * {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .mfm-calendar-table .mfm-col-date,
    .mfm-calendar-table .mfm-col-datetime,
    .mfm-calendar-table .mfm-col-teren {
        font-size: 10px !important;
    }
    .mfm-calendar-table .mfm-col-gazda,
    .mfm-calendar-table .mfm-col-oaspete,
    .mfm-calendar-table .mfm-team-home,
    .mfm-calendar-table .mfm-team-away {
        font-size: 11px !important;
    }
    .mfm-calendar-table .mfm-col-score {
        font-size: 13px !important;
    }
}

/* ==========================================================================
   MFM UI FIX v3.3.41 — CONTRAST + CALENDAR PROPORTIONS
   ========================================================================== */

/* --- Headere albastre: titlurile sunt ÎNTOTDEAUNA albe --- */
body .mfm-clasament-header,
body .mfm-calendar-faza-header {
    background: linear-gradient(90deg, #123f6d 0%, #1e669b 100%) !important;
    color: #ffffff !important;
    border-top: 0 !important;
}

body .mfm-clasament-header h1,
body .mfm-clasament-header h2,
body .mfm-clasament-header h3,
body .mfm-clasament-header h4,
body .mfm-clasament-header .mfm-clasament-title,
body .mfm-clasament-header a,
body .mfm-clasament-header span,
body .mfm-calendar-faza-header h1,
body .mfm-calendar-faza-header h2,
body .mfm-calendar-faza-header h3,
body .mfm-calendar-faza-header h4,
body .mfm-calendar-faza-header .mfm-calendar-faza-title,
body .mfm-calendar-faza-header a,
body .mfm-calendar-faza-header span {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

/* --- Ultimele rezultate: nume echipe și scor perfect lizibile --- */
body .mfm-widget-recent-matches .mfm-card-team,
body .mfm-widget-recent-matches .mfm-card-team a,
body .mfm-widget-recent-matches .mfm-card-team .mfm-link-echipa-bold {
    color: #115a91 !important;
    font-weight: 800 !important;
}

body .mfm-widget-recent-matches .mfm-card-score {
    background: #143f6c !important;
    color: #ffffff !important;
    min-width: 62px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

body .mfm-widget-recent-matches .mfm-card-score a,
body .mfm-widget-recent-matches .mfm-card-score .mfm-score-btn,
body .mfm-widget-recent-matches .mfm-card-score .mfm-score-btn-link {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* --- Banner echipă: nume și oraș ALBE pe albastru --- */
body .mfm-echipa-banner {
    border-top: 0 !important;
    color: #ffffff !important;
}

body .mfm-echipa-banner .mfm-echipa-banner-titlu,
body .mfm-echipa-banner .mfm-echipa-banner-titlu *,
body .mfm-echipa-banner h1,
body .mfm-echipa-banner h2,
body .mfm-echipa-banner h3,
body .mfm-echipa-banner strong,
body .mfm-echipa-banner b,
body .mfm-echipa-banner a {
    color: #ffffff !important;
}

body .mfm-echipa-banner .mfm-echipa-banner-sub,
body .mfm-echipa-banner p,
body .mfm-echipa-banner span {
    color: rgba(255,255,255,.90) !important;
}

/* --- Card jucător: nume, echipă, meta ALBE pe albastru --- */
body .mfm-jucator-card {
    border-top: 0 !important;
    color: #ffffff !important;
}

body .mfm-jucator-card .mfm-jucator-nume,
body .mfm-jucator-card .mfm-jucator-nume *,
body .mfm-jucator-card .mfm-jucator-echipa,
body .mfm-jucator-card .mfm-jucator-meta,
body .mfm-jucator-card .mfm-link-echipa-bold,
body .mfm-jucator-card .mfm-link-echipa,
body .mfm-jucator-card h1,
body .mfm-jucator-card h2,
body .mfm-jucator-card h3,
body .mfm-jucator-card strong,
body .mfm-jucator-card b,
body .mfm-jucator-card a {
    color: #ffffff !important;
}

body .mfm-jucator-card p,
body .mfm-jucator-card span {
    color: rgba(255,255,255,.90) !important;
}

/* --- Calendar: echipe și scor dominante, data/teren secundare --- */
body .mfm-calendar-table .mfm-col-date {
    color: #5e6c79 !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

body .mfm-calendar-table .mfm-col-teren {
    color: #697581 !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    white-space: normal !important;
    line-height: 1.25 !important;
}

body .mfm-calendar-table .mfm-col-gazda,
body .mfm-calendar-table .mfm-col-oaspete {
    font-size: 13px !important;
    font-weight: 800 !important;
}

body .mfm-calendar-table .mfm-col-gazda a,
body .mfm-calendar-table .mfm-col-oaspete a,
body .mfm-calendar-table .mfm-col-gazda .mfm-link-echipa-bold,
body .mfm-calendar-table .mfm-col-oaspete .mfm-link-echipa-bold {
    color: #105c94 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body .mfm-calendar-table .mfm-col-score {
    color: #0a568f !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body .mfm-calendar-table .mfm-col-score a,
body .mfm-calendar-table .mfm-col-score .mfm-score-btn {
    display: inline-block !important;
    color: #0a568f !important;
    background: transparent !important;
    padding: 2px 5px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    opacity: 1 !important;
}

/* Colgroup: CSS de siguranță peste orice altă regulă */
@media (min-width: 769px) {
    body .mfm-calendar-table col.mfm-calendar-col-date  { width: 12% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-home  { width: 32% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-score { width: 12% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-away  { width: 32% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-venue { width: 12% !important; }
}

/* --- Toate headerele de tabel: text alb fără excepții --- */
body .mfm-table thead th,
body .mfm-standings-table thead th,
body .mfm-table-stats thead th,
body .mfm-calendar-table thead th,
body .mfm-lot-table thead th,
body .mfm-meciuri-table thead th,
body .mfm-table thead th *,
body .mfm-standings-table thead th *,
body .mfm-table-stats thead th *,
body .mfm-calendar-table thead th *,
body .mfm-lot-table thead th *,
body .mfm-meciuri-table thead th * {
    color: #ffffff !important;
}

/* fără accente aurii sus */
body .mfm-campioana-card::before,
body .mfm-cupa-castigator-card::before,
body .mfm-turneu-castigator-card::before {
    display: none !important;
    content: none !important;
}

/* ==========================================================================
   MFM UI FIX v3.3.43 — MATCH FOCUS
   Strict vizual: echipe + scor în centru, teren/date secundare.
   ========================================================================== */

@media (min-width: 769px) {

    /* Proporții calendar */
    body .mfm-calendar-table col.mfm-calendar-col-date  { width: 9% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-home  { width: 34% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-score { width: 14% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-away  { width: 34% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-venue { width: 9% !important; }

    /* Gazdele vin vizual spre centru */
    body .mfm-calendar-table td.mfm-col-gazda {
        text-align: right !important;
        padding-right: 18px !important;
        white-space: nowrap !important;
    }

    /* Oaspeții pornesc din centru spre dreapta */
    body .mfm-calendar-table td.mfm-col-oaspete {
        text-align: left !important;
        padding-left: 18px !important;
        white-space: nowrap !important;
    }

    /* Scorul devine punctul focal */
    body .mfm-calendar-table td.mfm-col-score {
        text-align: center !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    body .mfm-calendar-table td.mfm-col-score .mfm-score-btn,
    body .mfm-calendar-table td.mfm-col-score a.mfm-score-btn {
        min-width: 58px !important;
        padding: 5px 9px !important;
        background: #143f6c !important;
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        text-align: center !important;
        text-decoration: none !important;
    }

    /* Data și terenul rămân informație secundară */
    body .mfm-calendar-table td.mfm-col-date {
        padding-left: 8px !important;
        padding-right: 5px !important;
        color: #6b7783 !important;
        font-size: 10px !important;
        font-weight: 500 !important;
    }

    body .mfm-calendar-table td.mfm-col-teren {
        padding-left: 5px !important;
        padding-right: 7px !important;
        color: #78838d !important;
        font-size: 9.5px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    /* Echipe mai ferme și mai vizibile */
    body .mfm-calendar-table td.mfm-col-gazda a,
    body .mfm-calendar-table td.mfm-col-oaspete a,
    body .mfm-calendar-table td.mfm-col-gazda .mfm-link-echipa-bold,
    body .mfm-calendar-table td.mfm-col-oaspete .mfm-link-echipa-bold {
        color: #0e5c96 !important;
        font-size: 13.5px !important;
        font-weight: 900 !important;
    }

    body .mfm-calendar-table td.mfm-col-gazda img,
    body .mfm-calendar-table td.mfm-col-oaspete img {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        vertical-align: middle !important;
    }

    /* Logo-ul gazdei stă aproape de centru; cel al oaspetelui la fel */
    body .mfm-calendar-table td.mfm-col-gazda img {
        margin-left: 7px !important;
        margin-right: 0 !important;
    }

    body .mfm-calendar-table td.mfm-col-oaspete img {
        margin-right: 7px !important;
        margin-left: 0 !important;
    }
}

/* Ultimele rezultate: compactăm și mai mult în jurul scorului */
body .mfm-widget-recent-matches .mfm-card-main {
    grid-template-columns: minmax(0,1fr) 72px minmax(0,1fr) !important;
    gap: 10px !important;
}

body .mfm-widget-recent-matches .mfm-team-gazda {
    justify-content: flex-end !important;
    text-align: right !important;
}

body .mfm-widget-recent-matches .mfm-team-oaspete {
    justify-content: flex-start !important;
    text-align: left !important;
}

body .mfm-widget-recent-matches .mfm-card-score {
    min-width: 64px !important;
    padding: 6px 8px !important;
    text-align: center !important;
}

/* Mobile: păstrăm scroll-ul și nu forțăm desktop layout-ul */
@media (max-width: 768px) {
    body .mfm-calendar-table td.mfm-col-gazda,
    body .mfm-calendar-table td.mfm-col-oaspete {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    body .mfm-calendar-table td.mfm-col-score .mfm-score-btn,
    body .mfm-calendar-table td.mfm-col-score a.mfm-score-btn {
        min-width: 48px !important;
        padding: 4px 6px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   MFM UI FIX v3.3.44 — READABILITY PASS
   Fonturi mai mari, greutăți mai naturale, aliniere relaxată.
   ========================================================================== */

/* Calendar: proporții mai echilibrate */
@media (min-width: 769px) {
    body .mfm-calendar-table col.mfm-calendar-col-date  { width: 13% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-home  { width: 29% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-score { width: 10% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-away  { width: 29% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-venue { width: 19% !important; }

    /* Renunțăm la împingerea echipelor spre centru */
    body .mfm-calendar-table td.mfm-col-gazda,
    body .mfm-calendar-table td.mfm-col-oaspete {
        text-align: left !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        white-space: nowrap !important;
    }

    body .mfm-calendar-table td.mfm-col-gazda img,
    body .mfm-calendar-table td.mfm-col-oaspete img {
        margin-left: 0 !important;
        margin-right: 8px !important;
    }
}

/* Rândurile calendarului - puțin mai aerisite */
body .mfm-calendar-table tbody td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    line-height: 1.35 !important;
}

/* Echipe: lizibile, dar nu exagerat de bold */
body .mfm-calendar-table td.mfm-col-gazda,
body .mfm-calendar-table td.mfm-col-oaspete,
body .mfm-calendar-table td.mfm-col-gazda a,
body .mfm-calendar-table td.mfm-col-oaspete a,
body .mfm-calendar-table td.mfm-col-gazda .mfm-link-echipa-bold,
body .mfm-calendar-table td.mfm-col-oaspete .mfm-link-echipa-bold {
    color: #155f98 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}

/* Scor: singurul element mai puternic */
body .mfm-calendar-table td.mfm-col-score,
body .mfm-calendar-table td.mfm-col-score a,
body .mfm-calendar-table td.mfm-col-score .mfm-score-btn {
    text-align: center !important;
    color: #0f578b !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    padding: 2px 5px !important;
    min-width: 0 !important;
}

/* Data: mai mare și ușor de citit, dar secundară */
body .mfm-calendar-table td.mfm-col-date {
    color: #566472 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

/* Teren: nu mai e microscopic */
body .mfm-calendar-table td.mfm-col-teren {
    color: #5d6975 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
}

/* Etape: font puțin mai generos */
body .mfm-etapa-header h3,
body .mfm-etapa-header .mfm-etapa-title {
    font-size: 14px !important;
    font-weight: 600 !important;
}

body .mfm-etapa-header .mfm-etapa-data,
body .mfm-etapa-data {
    font-size: 11.5px !important;
    font-weight: 500 !important;
}

/* Bara fazei */
body .mfm-calendar-faza-header .mfm-calendar-faza-title,
body .mfm-calendar-faza-header h2,
body .mfm-clasament-header .mfm-clasament-title,
body .mfm-clasament-header h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Ultimele rezultate: nume ceva mai mari și mai puțin grele */
body .mfm-widget-recent-matches .mfm-card-team,
body .mfm-widget-recent-matches .mfm-card-team a,
body .mfm-widget-recent-matches .mfm-card-team .mfm-link-echipa-bold {
    color: #155f98 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}

/* Scorul rămâne clar și contrastant */
body .mfm-widget-recent-matches .mfm-card-score {
    min-width: 64px !important;
    padding: 7px 10px !important;
    background: #143f6c !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

body .mfm-widget-recent-matches .mfm-card-score a,
body .mfm-widget-recent-matches .mfm-card-score .mfm-score-btn {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* Data ultimelor rezultate: puțin mai mare */
body .mfm-widget-recent-matches .mfm-card-date {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #445463 !important;
}

/* Tabele generale: corp puțin mai mare și mai ușor */
body .mfm-table tbody td,
body .mfm-standings-table tbody td,
body .mfm-table-stats tbody td,
body .mfm-lot-table tbody td,
body .mfm-meciuri-table tbody td {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
}

/* Linkuri în tabele: nu mai par "boldate cu toporul" */
body .mfm-table tbody a,
body .mfm-standings-table tbody a,
body .mfm-table-stats tbody a,
body .mfm-lot-table tbody a,
body .mfm-meciuri-table tbody a {
    font-weight: 600 !important;
}

/* Mobile: păstrăm lizibilitatea fără exagerări */
@media (max-width: 768px) {
    body .mfm-calendar-table td.mfm-col-date,
    body .mfm-calendar-table td.mfm-col-teren {
        font-size: 10.5px !important;
    }

    body .mfm-calendar-table td.mfm-col-gazda,
    body .mfm-calendar-table td.mfm-col-oaspete,
    body .mfm-calendar-table td.mfm-col-gazda a,
    body .mfm-calendar-table td.mfm-col-oaspete a {
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    body .mfm-calendar-table td.mfm-col-score,
    body .mfm-calendar-table td.mfm-col-score a {
        font-size: 13px !important;
    }
}

/* ==========================================================================
   MFM UI v3.3.45 — VYLTO POLISH PASS
   Strict vizual: scară, tipografie și spațiere.
   ========================================================================== */

/* 1) Lățime / scară — apropiem pagina competiției de lățimea template-ului Vylto */
body .mfm-calendar-wrapper,
body .mfm-clasament-wrapper,
body .mfm-public-wrap,
body .mfm-meci-single-page,
body .mfm-echipa-single-page,
body .mfm-custom-page-container,
body .mfm-competition-content,
body .mfm-final-phase-page,
body .mfm-golgheteri-wrapper,
body .mfm-widget-recent-matches {
    max-width: 1180px !important;
}

body .mfm-competition-page-shell {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 2) Tipografie generală — mai mare, mai calmă, mai puțin administrativă */
body .mfm-table,
body .mfm-standings-table,
body .mfm-table-stats,
body .mfm-calendar-table,
body .mfm-lot-table,
body .mfm-meciuri-table {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
}

body .mfm-table tbody td,
body .mfm-standings-table tbody td,
body .mfm-table-stats tbody td,
body .mfm-calendar-table tbody td,
body .mfm-lot-table tbody td,
body .mfm-meciuri-table tbody td {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

/* Echipe / jucători: accent moderat, nu ultra-bold */
body .mfm-table tbody a,
body .mfm-standings-table tbody a,
body .mfm-table-stats tbody a,
body .mfm-calendar-table tbody a,
body .mfm-lot-table tbody a,
body .mfm-meciuri-table tbody a,
body .mfm-link-echipa-bold,
body .mfm-link-echipa,
body .mfm-link-jucator {
    font-size: 13.5px !important;
    font-weight: 600 !important;
}

/* Informație secundară: clară, dar discretă */
body .mfm-col-date,
body .mfm-col-datetime,
body .mfm-col-teren,
body .mfm-etapa-data,
body .mfm-widget-recent-matches .mfm-card-date,
body .mfm-next-match-date,
body .mfm-date,
body .mfm-status-badge,
body .mfm-meci-status-badge,
body .mfm-meci-status-sub {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

/* Scorurile rămân accentul principal */
body .mfm-calendar-table td.mfm-col-score,
body .mfm-calendar-table td.mfm-col-score a,
body .mfm-calendar-table td.mfm-col-score .mfm-score-btn {
    font-size: 16px !important;
    font-weight: 700 !important;
}

body .mfm-widget-recent-matches .mfm-card-score,
body .mfm-widget-recent-matches .mfm-card-score a,
body .mfm-widget-recent-matches .mfm-card-score .mfm-score-btn {
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Headere de tabel: puțin mai mari, fără să pară admin */
body .mfm-table thead th,
body .mfm-standings-table thead th,
body .mfm-table-stats thead th,
body .mfm-calendar-table thead th,
body .mfm-lot-table thead th,
body .mfm-meciuri-table thead th {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: .22px !important;
}

/* Titluri de secțiune — mai apropiate de limbajul vizual Vylto */
body .mfm-section-title,
body .mfm-section-title-center {
    font-size: 23px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

body .mfm-section-title-lg {
    font-size: 27px !important;
    font-weight: 600 !important;
}

body .mfm-section-heading .elementor-heading-title {
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

body .mfm-competition-title .elementor-heading-title {
    font-size: 30px !important;
    font-weight: 600 !important;
}

body .mfm-competition-season .elementor-heading-title {
    font-size: 15px !important;
    font-weight: 400 !important;
}

/* Headere albastre */
body .mfm-calendar-faza-header .mfm-calendar-faza-title,
body .mfm-calendar-faza-header h2,
body .mfm-clasament-header .mfm-clasament-title,
body .mfm-clasament-header h3 {
    font-size: 14.5px !important;
    font-weight: 600 !important;
}

/* Etape */
body .mfm-etapa-header h3,
body .mfm-etapa-header .mfm-etapa-title {
    font-size: 14.5px !important;
    font-weight: 600 !important;
}

/* 3) Spațiere verticală — mai mult aer între blocurile principale */
body .mfm-public-section,
body .mfm-public-section-standings,
body .mfm-public-section-next,
body .mfm-public-section-recent,
body .mfm-public-section-calendar,
body .mfm-public-section-top {
    margin-bottom: 36px !important;
}

body .mfm-clasament-wrapper,
body .mfm-widget-recent-matches,
body .mfm-calendar-wrapper,
body .mfm-golgheteri-wrapper {
    margin-top: 0 !important;
    margin-bottom: 34px !important;
}

/* Heading Elementor urmat de conținut */
body .mfm-section-heading {
    margin-top: 30px !important;
    margin-bottom: 14px !important;
}

/* Etapele rămân grupate, dar nu lipite */
body .mfm-etapa-block {
    margin-bottom: 22px !important;
}

/* Card campioană — puțin mai aerisit, nu mai masiv */
body .mfm-campioana-wrapper,
body .mfm-cupa-castigator-wrapper,
body .mfm-turneu-castigator-wrapper {
    margin-bottom: 30px !important;
}

/* Ultimele rezultate */
body .mfm-widget-recent-matches {
    gap: 10px !important;
}

/* Calendar rows: confort vizual */
body .mfm-calendar-table tbody td {
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}

/* Desktop: mai mult spațiu lateral intern */
@media (min-width: 769px) {
    body .mfm-calendar-wrapper,
    body .mfm-clasament-wrapper,
    body .mfm-public-wrap,
    body .mfm-meci-single-page,
    body .mfm-echipa-single-page,
    body .mfm-custom-page-container,
    body .mfm-competition-content,
    body .mfm-final-phase-page,
    body .mfm-golgheteri-wrapper {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* Mobile: păstrăm lizibilitatea fără supradimensionare */
@media (max-width: 768px) {
    body .mfm-section-heading .elementor-heading-title,
    body .mfm-section-title,
    body .mfm-section-title-center {
        font-size: 21px !important;
    }

    body .mfm-competition-title .elementor-heading-title {
        font-size: 25px !important;
    }

    body .mfm-table tbody td,
    body .mfm-standings-table tbody td,
    body .mfm-table-stats tbody td,
    body .mfm-calendar-table tbody td,
    body .mfm-lot-table tbody td,
    body .mfm-meciuri-table tbody td {
        font-size: 12px !important;
    }

    body .mfm-table tbody a,
    body .mfm-calendar-table tbody a,
    body .mfm-standings-table tbody a {
        font-size: 12px !important;
    }

    body .mfm-public-section,
    body .mfm-public-section-standings,
    body .mfm-public-section-recent,
    body .mfm-public-section-calendar,
    body .mfm-public-section-top {
        margin-bottom: 28px !important;
    }
}

/* ==========================================================================
   MFM UI v3.3.46 — VYLTO STRONG POLISH
   Strict vizual. Nicio modificare de logică.
   ========================================================================== */

/* SCARĂ GENERALĂ: mai aproape de lățimea vizuală a template-ului Vylto */
body .mfm-calendar-wrapper,
body .mfm-clasament-wrapper,
body .mfm-public-wrap,
body .mfm-meci-single-page,
body .mfm-echipa-single-page,
body .mfm-custom-page-container,
body .mfm-competition-content,
body .mfm-final-phase-page,
body .mfm-golgheteri-wrapper,
body .mfm-widget-recent-matches,
body .mfm-competition-page-shell {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* TITLURI — diferență clară de scară față de versiunea anterioară */
body .mfm-competition-title .elementor-heading-title {
    font-size: 34px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: -.35px !important;
}

body .mfm-competition-season .elementor-heading-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}

body .mfm-section-heading {
    margin-top: 40px !important;
    margin-bottom: 16px !important;
}

body .mfm-section-heading .elementor-heading-title,
body .mfm-section-title,
body .mfm-section-title-center {
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: -.25px !important;
}

body .mfm-section-title-lg {
    font-size: 30px !important;
    font-weight: 600 !important;
}

/* TABELE — mai mari, mai aerisite, mai apropiate de design editorial */
body .mfm-table,
body .mfm-standings-table,
body .mfm-table-stats,
body .mfm-calendar-table,
body .mfm-lot-table,
body .mfm-meciuri-table {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
}

body .mfm-table thead th,
body .mfm-standings-table thead th,
body .mfm-table-stats thead th,
body .mfm-calendar-table thead th,
body .mfm-lot-table thead th,
body .mfm-meciuri-table thead th {
    padding: 11px 12px !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .18px !important;
}

body .mfm-table tbody td,
body .mfm-standings-table tbody td,
body .mfm-table-stats tbody td,
body .mfm-calendar-table tbody td,
body .mfm-lot-table tbody td,
body .mfm-meciuri-table tbody td {
    padding: 13px 12px !important;
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
}

/* Linkuri echipe / jucători — clare, dar nu grele */
body .mfm-table tbody a,
body .mfm-standings-table tbody a,
body .mfm-table-stats tbody a,
body .mfm-calendar-table tbody a,
body .mfm-lot-table tbody a,
body .mfm-meciuri-table tbody a,
body .mfm-link-echipa-bold,
body .mfm-link-echipa,
body .mfm-link-jucator {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

/* Header-ele albastre — mai elegante, mai spațioase */
body .mfm-clasament-header,
body .mfm-calendar-faza-header {
    padding: 10px 14px !important;
}

body .mfm-calendar-faza-header .mfm-calendar-faza-title,
body .mfm-calendar-faza-header h2,
body .mfm-clasament-header .mfm-clasament-title,
body .mfm-clasament-header h3 {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* ETAPE */
body .mfm-etapa-header {
    padding: 10px 13px !important;
}

body .mfm-etapa-header h3,
body .mfm-etapa-header .mfm-etapa-title {
    font-size: 15px !important;
    font-weight: 600 !important;
}

body .mfm-etapa-header .mfm-etapa-data,
body .mfm-etapa-data {
    font-size: 12.5px !important;
    font-weight: 400 !important;
}

/* CALENDAR — natural și lizibil */
@media (min-width: 769px) {
    body .mfm-calendar-table col.mfm-calendar-col-date  { width: 13% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-home  { width: 30% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-score { width: 12% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-away  { width: 30% !important; }
    body .mfm-calendar-table col.mfm-calendar-col-venue { width: 15% !important; }

    body .mfm-calendar-table td.mfm-col-gazda,
    body .mfm-calendar-table td.mfm-col-oaspete {
        text-align: left !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* Echipele sunt cele mai ușor de citit, fără extra-bold */
body .mfm-calendar-table td.mfm-col-gazda,
body .mfm-calendar-table td.mfm-col-oaspete,
body .mfm-calendar-table td.mfm-col-gazda a,
body .mfm-calendar-table td.mfm-col-oaspete a,
body .mfm-calendar-table td.mfm-col-gazda .mfm-link-echipa-bold,
body .mfm-calendar-table td.mfm-col-oaspete .mfm-link-echipa-bold {
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Scorul — focal, dar nu uriaș */
body .mfm-calendar-table td.mfm-col-score,
body .mfm-calendar-table td.mfm-col-score a,
body .mfm-calendar-table td.mfm-col-score .mfm-score-btn {
    font-size: 17px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

/* Data + teren: secundare, dar perfect lizibile */
body .mfm-calendar-table td.mfm-col-date,
body .mfm-calendar-table td.mfm-col-teren {
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #596774 !important;
}

/* Logo-urile din calendar puțin mai prezente */
body .mfm-calendar-table td.mfm-col-gazda img,
body .mfm-calendar-table td.mfm-col-oaspete img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
}

/* ULTIMELE REZULTATE — carduri/rânduri mai consistente */
body .mfm-widget-recent-matches {
    gap: 12px !important;
}

body .mfm-widget-recent-matches .mfm-match-card {
    border-color: #cbd6df !important;
}

body .mfm-widget-recent-matches .mfm-card-date {
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

body .mfm-widget-recent-matches .mfm-card-main {
    padding: 13px 16px !important;
    grid-template-columns: minmax(0,1fr) 78px minmax(0,1fr) !important;
    gap: 14px !important;
}

body .mfm-widget-recent-matches .mfm-card-team,
body .mfm-widget-recent-matches .mfm-card-team a,
body .mfm-widget-recent-matches .mfm-card-team .mfm-link-echipa-bold {
    font-size: 15px !important;
    font-weight: 600 !important;
}

body .mfm-widget-recent-matches .mfm-card-sigla {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
}

body .mfm-widget-recent-matches .mfm-card-score,
body .mfm-widget-recent-matches .mfm-card-score a,
body .mfm-widget-recent-matches .mfm-card-score .mfm-score-btn {
    font-size: 17px !important;
    font-weight: 700 !important;
}

/* CLASAMENT — rânduri mai confortabile */
body .mfm-standings-table td:first-child {
    font-weight: 500 !important;
}

body .mfm-standings-table td:last-child {
    font-weight: 700 !important;
}

/* CARD CAMPION — puțin mai rafinat și mai aerisit */
body .mfm-campioana-card,
body .mfm-cupa-castigator-card,
body .mfm-turneu-castigator-card {
    padding: 30px 24px !important;
}

body .mfm-campioana-label,
body .mfm-cupa-castigator-label {
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

body .mfm-campioana-competitie,
body .mfm-cupa-competitie,
body .mfm-turneu-competitie,
body .mfm-campioana-puncte {
    font-size: 13px !important;
    font-weight: 400 !important;
}

body .mfm-campioana-nume,
body .mfm-cupa-castigatoare-nume,
body .mfm-cupa-castigatoare-nume a {
    font-size: 26px !important;
    font-weight: 700 !important;
}

/* SPAȚIERE VERTICALĂ — diferență clară față de 3.3.45 */
body .mfm-public-section,
body .mfm-public-section-standings,
body .mfm-public-section-next,
body .mfm-public-section-recent,
body .mfm-public-section-calendar,
body .mfm-public-section-top {
    margin-bottom: 46px !important;
}

body .mfm-clasament-wrapper,
body .mfm-widget-recent-matches,
body .mfm-calendar-wrapper,
body .mfm-golgheteri-wrapper,
body .mfm-campioana-wrapper,
body .mfm-cupa-castigator-wrapper,
body .mfm-turneu-castigator-wrapper {
    margin-bottom: 42px !important;
}

/* STATISTICI echipă/jucător */
body .mfm-stat-card,
body .mfm-public-stat-card {
    padding: 18px 14px !important;
}

body .mfm-stat-number,
body .mfm-public-stat-number {
    font-size: 28px !important;
    font-weight: 700 !important;
}

body .mfm-stat-label,
body .mfm-public-stat-label {
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body .mfm-competition-title .elementor-heading-title {
        font-size: 27px !important;
    }

    body .mfm-section-heading .elementor-heading-title,
    body .mfm-section-title,
    body .mfm-section-title-center {
        font-size: 22px !important;
    }

    body .mfm-table tbody td,
    body .mfm-standings-table tbody td,
    body .mfm-table-stats tbody td,
    body .mfm-calendar-table tbody td,
    body .mfm-lot-table tbody td,
    body .mfm-meciuri-table tbody td {
        font-size: 12.5px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    body .mfm-table tbody a,
    body .mfm-calendar-table tbody a,
    body .mfm-standings-table tbody a {
        font-size: 12.5px !important;
    }

    body .mfm-public-section,
    body .mfm-public-section-standings,
    body .mfm-public-section-recent,
    body .mfm-public-section-calendar,
    body .mfm-public-section-top {
        margin-bottom: 32px !important;
    }
}

/* ==========================================================================
   MFM UI v3.3.47 — UNIFIED CONTENT AXIS
   Toate blocurile publice folosesc aceeași lățime și aceleași margini.
   Strict vizual.
   ========================================================================== */

:root {
    --mfm-vylto-content-width: 1280px;
    --mfm-vylto-side-gap: 0px;
}

/* Container master pentru toate componentele principale */
body .mfm-competition-page-shell,
body .mfm-competition-content,
body .mfm-public-wrap,
body .mfm-clasament-wrapper,
body .mfm-calendar-wrapper,
body .mfm-widget-recent-matches,
body .mfm-golgheteri-wrapper,
body .mfm-meci-single-page,
body .mfm-echipa-single-page,
body .mfm-custom-page-container,
body .mfm-final-phase-page {
    width: 100% !important;
    max-width: var(--mfm-vylto-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--mfm-vylto-side-gap) !important;
    padding-right: var(--mfm-vylto-side-gap) !important;
    box-sizing: border-box !important;
}

/* Blocurile interne trebuie să umple containerul master exact */
body .mfm-public-section,
body .mfm-public-section-standings,
body .mfm-public-section-next,
body .mfm-public-section-recent,
body .mfm-public-section-calendar,
body .mfm-public-section-top,
body .mfm-campioana-wrapper,
body .mfm-cupa-castigator-wrapper,
body .mfm-turneu-castigator-wrapper,
body .mfm-widget-next-match,
body .mfm-next-match-modern,
body .mfm-calendar-container,
body .mfm-calendar-faze,
body .mfm-urmatoarea-etapa,
body .mfm-widget-player-stats,
body .mfm-golgheteri,
body .mfm-stare-faza-finala,
body .mfm-clasament-faza-finala {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Carduri și bare: exact aceeași limită dreapta/stânga */
body .mfm-campioana-card,
body .mfm-cupa-castigator-card,
body .mfm-turneu-castigator-card,
body .mfm-clasament-header,
body .mfm-calendar-faza-header,
body .mfm-etapa-header,
body .mfm-notice,
body .mfm-no-match,
body .mfm-match-card,
body .mfm-widget-recent-matches .mfm-match-card,
body .mfm-meci-detalii-wrapper,
body .mfm-echipa-banner,
body .mfm-jucator-card {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Wrapper-ele responsive nu mai adaugă lățimi/margini diferite */
body .mfm-table-responsive {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Tabelele folosesc 100% real din container */
body .mfm-table,
body .mfm-standings-table,
body .mfm-table-stats,
body .mfm-calendar-table,
body .mfm-lot-table,
body .mfm-meciuri-table {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Heading-urile Elementor create de plugin urmează aceeași axă */
body .mfm-section-heading,
body .mfm-competition-title,
body .mfm-competition-season {
    width: 100% !important;
    max-width: var(--mfm-vylto-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Desktop: zero diferențe de 10-14px între componente */
@media (min-width: 769px) {
    body .mfm-calendar-wrapper,
    body .mfm-clasament-wrapper,
    body .mfm-public-wrap,
    body .mfm-meci-single-page,
    body .mfm-echipa-single-page,
    body .mfm-custom-page-container,
    body .mfm-competition-content,
    body .mfm-final-phase-page,
    body .mfm-golgheteri-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Mobile: păstrăm un mic spațiu de siguranță față de marginea ecranului */
@media (max-width: 768px) {
    :root {
        --mfm-vylto-side-gap: 6px;
    }

    body .mfm-section-heading,
    body .mfm-competition-title,
    body .mfm-competition-season {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

/* MFM 3.3.58 — Ultimele rezultate: ambele echipe aliniate la stanga */
body .mfm-widget-recent-matches .mfm-card-main .mfm-card-team.mfm-team-gazda,
body .mfm-widget-recent-matches .mfm-card-main .mfm-card-team.mfm-team-oaspete {
    justify-content: flex-start !important;
    text-align: left !important;
}

body .mfm-widget-recent-matches .mfm-card-main .mfm-card-team.mfm-team-gazda a,
body .mfm-widget-recent-matches .mfm-card-main .mfm-card-team.mfm-team-oaspete a {
    text-align: left !important;
}


/* MFM 3.3.65 — Arhiva publică inteligentă */
.mfm-public-archive{width:100%;max-width:1200px;margin:0 auto;font-family:inherit;color:inherit}
.mfm-archive-head{text-align:center;margin:0 0 28px}.mfm-archive-head h2{margin:0 0 8px;font-size:clamp(26px,3vw,38px);line-height:1.15}.mfm-archive-head p{margin:0;opacity:.72}
.mfm-archive-season-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 26px}
.mfm-archive-season{display:inline-flex;align-items:center;gap:7px;padding:10px 16px;border:1px solid rgba(30,70,105,.22);background:#fff;color:#173d5d;text-decoration:none!important;font-weight:700;transition:.18s ease}
.mfm-archive-season:hover,.mfm-archive-season.is-active{background:#174a70;color:#fff;border-color:#174a70}.mfm-archive-season small{font-size:9px;letter-spacing:.08em;padding:2px 5px;background:#74b85a;color:#fff}
.mfm-archive-competitions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 34px}
.mfm-archive-card{display:flex;min-height:145px;flex-direction:column;justify-content:flex-end;padding:20px;border:1px solid rgba(30,70,105,.18);background:#fff;color:#173d5d;text-decoration:none!important;box-shadow:0 8px 28px rgba(17,45,68,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.mfm-archive-card:hover,.mfm-archive-card.is-active{transform:translateY(-2px);box-shadow:0 12px 32px rgba(17,45,68,.13);border-color:#174a70}.mfm-archive-card-type{font-size:11px;text-transform:uppercase;letter-spacing:.08em;opacity:.62;margin-bottom:7px}.mfm-archive-card strong{font-size:20px;line-height:1.2}.mfm-archive-card-link{font-size:12px;margin-top:18px;font-weight:700}.mfm-archive-selected{margin-top:38px}.mfm-archive-selected-title{text-align:center;margin:0 0 30px}.mfm-archive-selected-title h2{font-size:clamp(28px,3.5vw,42px);margin:0}.mfm-archive-selected-title p{margin:6px 0 0;opacity:.65;font-weight:600}.mfm-archive-empty{text-align:center;padding:24px;border:1px dashed rgba(30,70,105,.25)}
@media(max-width:900px){.mfm-archive-competitions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mfm-archive-season-bar{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.mfm-archive-season{white-space:nowrap}.mfm-archive-competitions{grid-template-columns:1fr}.mfm-archive-card{min-height:120px}}

/* MFM 3.3.66 — Arhivă publică: finisare vizuală */
.mfm-public-archive{width:100%;max-width:1240px;margin:0 auto;box-sizing:border-box}
.mfm-public-archive .mfm-archive-head{max-width:760px;margin:0 auto 30px;text-align:center}
.mfm-public-archive .mfm-archive-eyebrow{display:block;margin:0 0 8px;font-size:11px;font-weight:800;letter-spacing:.14em;color:#287bb5}
.mfm-public-archive .mfm-archive-head h2{margin:0 0 8px!important;font-size:clamp(30px,3.2vw,42px)!important;line-height:1.08!important;font-weight:700!important;color:#1f2933!important}
.mfm-public-archive .mfm-archive-head p{margin:0!important;font-size:15px;line-height:1.55;color:#65727e!important;opacity:1!important}
.mfm-public-archive .mfm-archive-season-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 auto 28px;padding:0}
.mfm-public-archive .mfm-archive-season{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 13px!important;border:1px solid #ccd8e1!important;background:#fff!important;color:#214a69!important;text-decoration:none!important;font-size:13px;font-weight:800!important;line-height:1;box-shadow:0 3px 12px rgba(18,52,77,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.mfm-public-archive .mfm-archive-season span{color:inherit!important;text-decoration:none!important}
.mfm-public-archive .mfm-archive-season em{font-style:normal;font-size:10px;font-weight:600;opacity:.62;color:inherit!important}
.mfm-public-archive .mfm-archive-season small{display:inline-flex;align-items:center;min-height:18px;padding:2px 6px!important;background:#b7d334!important;color:#173d5d!important;font-size:8px!important;font-weight:900!important;letter-spacing:.06em}
.mfm-public-archive .mfm-archive-season:hover{transform:translateY(-1px);border-color:#236a9b!important;box-shadow:0 6px 18px rgba(18,52,77,.10)}
.mfm-public-archive .mfm-archive-season.is-active{background:#174a70!important;border-color:#174a70!important;color:#fff!important;box-shadow:0 7px 20px rgba(23,74,112,.20)}
.mfm-public-archive .mfm-archive-season.is-active span,.mfm-public-archive .mfm-archive-season.is-active em{color:#fff!important}
.mfm-public-archive .mfm-archive-competitions{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,320px));justify-content:center;gap:14px;margin:0 auto 34px}
.mfm-public-archive .mfm-archive-card{position:relative;display:flex;min-height:116px!important;flex-direction:column;justify-content:center;padding:18px 20px 16px!important;border:1px solid #ccd8e1!important;border-top:3px solid #2b7eb7!important;background:#fff!important;color:#173d5d!important;text-decoration:none!important;box-shadow:0 7px 24px rgba(17,45,68,.07)!important;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.mfm-public-archive .mfm-archive-card:hover{transform:translateY(-2px);border-color:#2b7eb7!important;box-shadow:0 11px 28px rgba(17,45,68,.12)!important}
.mfm-public-archive .mfm-archive-card.is-active{background:#f5f9fc!important;border-color:#174a70!important;border-top-color:#b7d334!important}
.mfm-public-archive .mfm-archive-card-type{margin:0 0 5px!important;font-size:10px!important;font-weight:800;letter-spacing:.10em;color:#6f8798!important;opacity:1!important}
.mfm-public-archive .mfm-archive-card strong{font-size:18px!important;line-height:1.25!important;color:#0d6098!important}
.mfm-public-archive .mfm-archive-card-link{display:inline-flex;align-items:center;gap:5px;margin-top:12px!important;font-size:11px!important;font-weight:800!important;color:#236a9b!important}
.mfm-public-archive .mfm-archive-selected{margin-top:42px!important;padding-top:34px;border-top:1px solid #d9e2e8}
.mfm-public-archive .mfm-archive-selected-title{text-align:center;margin:0 0 26px!important}
.mfm-public-archive .mfm-archive-selected-title>span{display:block;margin-bottom:7px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#7b8994}
.mfm-public-archive .mfm-archive-selected-title h2{margin:0!important;font-size:clamp(28px,3vw,38px)!important;line-height:1.12!important;font-weight:700!important;color:#1f2933!important}
.mfm-public-archive .mfm-archive-selected-title p{display:inline-block;margin:8px 0 0!important;padding:4px 9px;background:#eef3f6;color:#51616d!important;font-size:12px!important;font-weight:700!important;opacity:1!important}
.mfm-public-archive .mfm-archive-empty{max-width:720px;margin:0 auto;text-align:center;padding:22px;border:1px dashed #bdcbd5;background:#f8fafb;color:#65727e}
@media(max-width:700px){.mfm-public-archive .mfm-archive-head{margin-bottom:22px}.mfm-public-archive .mfm-archive-season-bar{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px}.mfm-public-archive .mfm-archive-season{white-space:nowrap}.mfm-public-archive .mfm-archive-competitions{grid-template-columns:1fr}.mfm-public-archive .mfm-archive-card{min-height:104px!important}.mfm-public-archive .mfm-archive-selected{margin-top:30px!important;padding-top:26px}}

/* =========================================================
   v3.3.67 - POLISH PAGINI JUCATOR + MECI
   ========================================================= */
body .mfm-public-wrap .mfm-jucator-profile-card {
    display: grid !important;
    grid-template-columns: 210px minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 28px !important;
    padding: 24px !important;
}
body .mfm-jucator-profile-card .mfm-jucator-photo-col {
    display: flex;
    align-items: stretch;
}
body .mfm-jucator-profile-card .mfm-jucator-foto,
body .mfm-jucator-profile-card .mfm-jucator-foto-placeholder {
    width: 210px !important;
    height: 230px !important;
    min-width: 210px !important;
    min-height: 230px !important;
    max-width: 210px !important;
    max-height: 230px !important;
    margin: 0 !important;
    object-fit: cover !important;
    border-width: 3px !important;
}
body .mfm-jucator-profile-card .mfm-jucator-profile-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body .mfm-jucator-profile-card .mfm-jucator-profile-heading {
    margin-bottom: 18px;
}
body .mfm-jucator-profile-card .mfm-jucator-nume {
    margin: 0 0 9px !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em;
}
body .mfm-jucator-profile-card .mfm-jucator-team-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    font-size: 16px;
}
body .mfm-jucator-profile-card .mfm-jucator-team-line .mfm-link-echipa-bold {
    font-size: 17px !important;
    font-weight: 800 !important;
}
body .mfm-jucator-profile-card .mfm-jucator-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
body .mfm-jucator-profile-card .mfm-jucator-info-item {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
}
body .mfm-jucator-profile-card .mfm-jucator-info-item-wide {
    grid-column: span 2;
}
body .mfm-jucator-profile-card .mfm-jucator-info-label {
    display: block !important;
    margin-bottom: 4px;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .78;
}
body .mfm-jucator-profile-card .mfm-jucator-info-item strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 14px !important;
    line-height: 1.25;
}

body .mfm-meci-detalii-wrapper .mfm-meci-header {
    grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr) !important;
    gap: 24px !important;
    padding: 26px 22px !important;
}
body .mfm-meci-detalii-wrapper .mfm-sigla-large {
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
    min-height: 104px !important;
    max-width: 104px !important;
    max-height: 104px !important;
    margin-bottom: 12px !important;
}
body .mfm-meci-detalii-wrapper .mfm-echipa-titlu,
body .mfm-meci-detalii-wrapper .mfm-echipa-titlu a {
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}
body .mfm-meci-detalii-wrapper .mfm-scor-text {
    min-width: 86px;
    padding: 10px 16px !important;
    font-size: 30px !important;
}
body .mfm-meci-detalii-wrapper .mfm-status-badge {
    margin-top: 9px !important;
    font-size: 11px !important;
    letter-spacing: .05em;
}
body .mfm-meci-detalii-wrapper .mfm-match-meta-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px !important;
    padding: 0 !important;
    border-left-width: 1px !important;
    overflow: hidden;
}
body .mfm-meci-detalii-wrapper .mfm-match-meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 12px 14px;
}
body .mfm-meci-detalii-wrapper .mfm-match-meta-item + .mfm-match-meta-item {
    border-left: 1px solid rgba(127,127,127,.20);
}
body .mfm-meci-detalii-wrapper .mfm-match-meta-icon {
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
}
body .mfm-meci-detalii-wrapper .mfm-match-meta-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
body .mfm-meci-detalii-wrapper .mfm-match-meta-copy small {
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .72;
}
body .mfm-meci-detalii-wrapper .mfm-match-meta-copy strong {
    overflow-wrap: anywhere;
    font-size: 12px !important;
    line-height: 1.25;
}
body .mfm-meci-detalii-wrapper .mfm-events-title {
    margin-top: 24px !important;
    font-size: 18px !important;
    letter-spacing: .02em;
}

@media (max-width: 900px) {
    body .mfm-public-wrap .mfm-jucator-profile-card {
        grid-template-columns: 160px minmax(0, 1fr) !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    body .mfm-jucator-profile-card .mfm-jucator-foto,
    body .mfm-jucator-profile-card .mfm-jucator-foto-placeholder {
        width: 160px !important;
        height: 190px !important;
        min-width: 160px !important;
        min-height: 190px !important;
        max-width: 160px !important;
        max-height: 190px !important;
    }
    body .mfm-jucator-profile-card .mfm-jucator-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body .mfm-meci-detalii-wrapper .mfm-match-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body .mfm-meci-detalii-wrapper .mfm-match-meta-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(127,127,127,.20);
    }
    body .mfm-meci-detalii-wrapper .mfm-match-meta-item:nth-child(4) {
        border-top: 1px solid rgba(127,127,127,.20);
    }
}

@media (max-width: 640px) {
    body .mfm-public-wrap .mfm-jucator-profile-card {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px !important;
    }
    body .mfm-jucator-profile-card .mfm-jucator-photo-col {
        justify-content: center;
    }
    body .mfm-jucator-profile-card .mfm-jucator-foto,
    body .mfm-jucator-profile-card .mfm-jucator-foto-placeholder {
        width: 170px !important;
        height: 200px !important;
        min-width: 170px !important;
        min-height: 200px !important;
        max-width: 170px !important;
        max-height: 200px !important;
    }
    body .mfm-jucator-profile-card .mfm-jucator-profile-heading {
        text-align: center;
    }
    body .mfm-jucator-profile-card .mfm-jucator-team-line {
        justify-content: center;
    }
    body .mfm-jucator-profile-card .mfm-jucator-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body .mfm-jucator-profile-card .mfm-jucator-info-item-wide {
        grid-column: 1 / -1;
    }
    body .mfm-meci-detalii-wrapper .mfm-meci-header {
        grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr) !important;
        gap: 8px !important;
        padding: 14px 8px !important;
    }
    body .mfm-meci-detalii-wrapper .mfm-sigla-large {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        min-height: 64px !important;
        max-width: 64px !important;
        max-height: 64px !important;
    }
    body .mfm-meci-detalii-wrapper .mfm-echipa-titlu,
    body .mfm-meci-detalii-wrapper .mfm-echipa-titlu a {
        font-size: 12px !important;
    }
    body .mfm-meci-detalii-wrapper .mfm-scor-text {
        min-width: 62px;
        padding: 8px 7px !important;
        font-size: 21px !important;
    }
    body .mfm-meci-detalii-wrapper .mfm-match-meta-grid {
        grid-template-columns: 1fr !important;
    }
    body .mfm-meci-detalii-wrapper .mfm-match-meta-item + .mfm-match-meta-item {
        border-left: 0;
        border-top: 1px solid rgba(127,127,127,.20);
    }
}



/* MFM 3.3.70 - navigare vizibila intre fazele competitiei */
.mfm-final-phase-nav.mfm-phase-switcher {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}
.mfm-phase-switcher .mfm-final-phase-card {
    min-height: 82px;
    padding: 16px 18px;
    border-left-width: 5px;
}
.mfm-phase-switcher .mfm-final-phase-card-icon {
    font-size: 25px;
    line-height: 1;
}
.mfm-phase-switcher .mfm-final-phase-card strong,
.mfm-phase-switcher .mfm-final-phase-card small {
    display: block;
}
.mfm-phase-switcher .mfm-final-phase-card strong {
    font-size: 15px;
    letter-spacing: .02em;
}
.mfm-phase-switcher .mfm-final-phase-card small {
    margin-top: 5px;
    opacity: .82;
    font-size: 12px;
}
.mfm-phase-switcher .mfm-final-phase-card.is-active {
    transform: none;
    box-shadow: 0 7px 20px rgba(0,0,0,.12);
}
.mfm-phase-switcher .mfm-final-phase-card.is-disabled {
    cursor: default;
    opacity: .52;
    box-shadow: none;
    filter: grayscale(.2);
}
.mfm-phase-switcher .mfm-final-phase-card.is-disabled:hover {
    transform: none;
    border-color: var(--mfm-border);
    box-shadow: none;
}
@media (max-width: 760px) {
    .mfm-final-phase-nav.mfm-phase-switcher {
        grid-template-columns: 1fr;
        gap: 9px;
    }
    .mfm-phase-switcher .mfm-final-phase-card {
        min-height: 66px;
        padding: 12px 14px;
    }
}
