.mfa-list { display: grid; gap: 12px; direction: rtl; }

.mfa-fixture { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 12px 14px; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.mfa-fixture .mfa-league { font-weight: 700; margin-bottom: 4px; }
.mfa-fixture .mfa-meta { color: #666; font-size: .9rem; margin-bottom: 6px; }
.mfa-fixture .mfa-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mfa-fixture .score { font-weight: 700; font-size: 1.1rem; }

.mfa-table { width: 100%; border-collapse: collapse; direction: rtl; }
.mfa-table th, .mfa-table td { border-bottom: 1px solid #eee; padding: 8px; text-align: center; }

.mfa-standings-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; direction: rtl; font-family: IRANSans, Vazirmatn, Tahoma, sans-serif; font-feature-settings: "ss01"; }
.mfa-standings-card, .mfa-standings-card * { font-variant-numeric: tabular-nums; }

.mfa-standings-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #e6e6e6; }
.mfa-standings-title { font-size: 16px; font-weight: 700; color: #0b4c5a; }

.mfa-standings-table-wrap { background: #fff; }
.mfa-standings-table { width: 100%; border-collapse: collapse; font-family: IRANSans, Vazirmatn, Tahoma, sans-serif; }
.mfa-standings-table thead th { background: #1f1448; color: #fff; font-size: 13px; padding: 10px 8px; font-weight: 700; }
.mfa-standings-table tbody td { font-size: 13px; padding: 5px 3px; border-bottom: 1px solid #ededed; color: #222; }
.mfa-standings-table tbody tr:nth-child(even) { background: #f6f6f6; }

.mfa-standings-table .col-rank { width: 60px; text-align: center; font-weight: 700; }
.mfa-standings-table .col-team { text-align: right; font-weight: 600; }
.mfa-standings-table .col-played,
.mfa-standings-table .col-points { width: 50px; text-align: center; font-weight: 700; }
.mfa-standings-table .col-gd { direction: ltr; unicode-bidi: isolate; text-align: center; }

.mfa-standings-table-full { min-width: 720px; }
.mfa-standings-table-full th,
.mfa-standings-table-full td { white-space: nowrap; text-align: center; }
.mfa-standings-table-full .col-team { min-width: 180px; text-align: right; }

.mfa-team-cell { display: flex; align-items: center; gap: 8px; }
.mfa-team-logo { width: 20px; height: 20px; object-fit: contain; border-radius: 50%; }
.mfa-team-logo--empty { display: inline-block; width: 20px; height: 20px; background: #eee; border-radius: 50%; }
.mfa-team-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mfa-form { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.mfa-form-dot { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.mfa-form-W { background: #19a35b; }
.mfa-form-D { background: #9aa6b2; }
.mfa-form-L { background: #e11d48; }

.mfa-week-ui { display: grid; gap: 10px; direction: rtl; }

.mfa-week { background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; }
.mfa-week-title { cursor: pointer; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; background: #1f1448; color: #fff; font-weight: 800; font-size: 14px; list-style: none; }
.mfa-week-title::-webkit-details-marker { display: none; }
.mfa-week-title::before { content: "▸"; margin-left: 8px; transition: transform .15s ease; }
.mfa-week[open] .mfa-week-title::before { transform: rotate(90deg); }

.mfa-week-sub { display: flex; align-items: center; gap: 8px; }
.mfa-week-range { font-size: 12px; font-weight: 700; color: #bdbdbd; }
.mfa-week-count { color: #1f1448; font-size: 12px; font-weight: 700; padding: 2px 8px; border: 1px solid #e6e6e6; border-radius: 999px; background: #fff; }

.mfa-day { padding: 10px 12px; border-top: 1px solid #f0f0f0; }
.mfa-day-title { margin: 6px 0 10px; padding: 10px 12px; background: #fca404; color: #0b4c5a; font-weight: 800; border-radius: 12px 12px 0 0; }

.mfa-matches { display: grid; gap: 10px; }

.mfa-row { padding: 10px 12px; border-top: 1px solid #f1f1f1; }
.mfa-row:first-child { border-top: none; }

.mfa-row-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #666; margin-bottom: 8px; }
.mfa-meta-right { text-align: right; }
.mfa-meta-left { text-align: left; font-weight: 800; }

.mfa-row-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }

.mfa-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mfa-team-home { justify-content: flex-end; }
.mfa-team-away { justify-content: flex-end; flex-direction: row-reverse; }

.mfa-score { font-size: 14px; font-weight: 900; padding: 2px 8px; border: 1px solid #eee; border-radius: 999px; background: #fff; white-space: nowrap; }
.mfa-src-info{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    line-height:1;
    cursor: help;
    opacity:.75;
    margin-right:6px; /* چون RTL هستیم */
}
.mfa-src-info:hover{ opacity:1; }
