/* Aboooda Matches 2.3 — unified schedule */
.aboooda-schedule-heading{
    width:min(560px,100%);margin:2px auto 15px;display:grid;
    grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;text-align:center;direction:rtl;
}
.aboooda-schedule-heading h2{
    margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;
    color:var(--c-text,#f7f8fb)!important;font-size:clamp(1.25rem,2.7vw,1.65rem)!important;line-height:1.4;font-weight:950;white-space:nowrap;
}
.aboooda-schedule-mark{height:2px;border-radius:99px;background:linear-gradient(90deg,transparent,var(--accent,#8b5cf6));opacity:.72}
.aboooda-schedule-mark:last-child{background:linear-gradient(90deg,var(--accent,#8b5cf6),transparent)}

.eni-app{
    --eni-accent:#8b5cf6;--eni-bg:#080d17;--eni-panel:#0d1523;--eni-row:#111b2b;--eni-row-hover:#152236;
    --eni-line:rgba(255,255,255,.08);--eni-text:#f7f8fb;--eni-muted:#8e9ab0;--eni-live:#f04462;
    direction:rtl;color:var(--eni-text);background:linear-gradient(180deg,#0b111d 0%,#070b13 100%);
    border:1px solid var(--eni-line);border-radius:22px;padding:14px;box-shadow:0 22px 60px rgba(0,0,0,.28);overflow:hidden;
}
.eni-app *{box-sizing:border-box}.eni-app a{text-decoration:none}

/* أمس / اليوم / غد */
.eni-days{
    display:grid;grid-template-columns:repeat(3,1fr);gap:7px;width:min(430px,100%);margin:0 auto 14px;padding:5px;
    background:rgba(255,255,255,.035);border:1px solid var(--eni-line);border-radius:15px;
}
.eni-day{min-height:43px;padding:7px 11px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#aeb7c9;font-weight:900;transition:.18s ease}
.eni-day span{font-size:.91rem}.eni-day:hover{background:rgba(255,255,255,.045);color:#fff}
.eni-day.is-active{background:linear-gradient(135deg,color-mix(in srgb,var(--eni-accent) 92%,#000),color-mix(in srgb,var(--eni-accent) 60%,#101827));color:#fff;box-shadow:0 8px 22px color-mix(in srgb,var(--eni-accent) 20%,transparent)}

.eni-content{display:block}
.eni-flat-schedule{width:100%;margin:0}
.eni-match-list-flat{display:flex;flex-direction:column;gap:9px;padding:0}

/* مباراة واحدة — صف واحد مثل المرجع */
.eni-match{
    width:100%;min-height:112px;display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px) minmax(0,1fr);
    align-items:center;gap:12px;padding:14px 18px;color:var(--eni-text);background:var(--eni-row);
    border:1px solid rgba(255,255,255,.045);border-radius:13px;position:relative;transition:.18s ease;
}
.eni-match.is-clickable,.eni-match.is-refresh{cursor:pointer}
.eni-match.is-clickable:hover,.eni-match.is-refresh:hover{background:var(--eni-row-hover);border-color:color-mix(in srgb,var(--eni-accent) 25%,var(--eni-line));transform:translateY(-1px)}
.eni-match.is-live{border-color:rgba(240,68,98,.26);box-shadow:inset 3px 0 rgba(240,68,98,.75)}

.eni-team{min-width:0;display:flex;align-items:center;justify-content:center;gap:10px;text-align:center}
.eni-team-home{flex-direction:column}.eni-team-away{flex-direction:column}
.eni-team img{width:52px;height:52px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.22))}
.eni-team span{max-width:100%;color:#eef2f8;font-size:.88rem;line-height:1.35;font-weight:850;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}

.eni-match-center{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;justify-self:center}
.eni-score-wrap{display:flex;align-items:center;justify-content:center;gap:6px;direction:rtl;width:100%;font-variant-numeric:tabular-nums}
.eni-score{min-width:28px;height:30px;padding:0 4px;border:0;border-radius:0;background:transparent;color:#fff;font-size:1.22rem;font-weight:950;display:flex;align-items:center;justify-content:center}
.eni-score.is-winner{color:#d6c8ff}.eni-score-empty{color:#758199}.eni-vs{color:#dce3ed;font-size:1.08rem;font-weight:900}
.eni-match-meta{min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;text-align:center}
.eni-kickoff{font-size:.94rem;font-weight:950;color:#fff;direction:ltr;font-variant-numeric:tabular-nums}
.eni-countdown{font-size:.61rem;color:#748198;white-space:nowrap}
.eni-status{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:7px;background:#2d3748;color:#cbd5e1;font-size:.68rem;font-weight:900;line-height:1.2}
.eni-status-postponed{background:#4a3720;color:#ffd38a}.eni-status-finished{background:#273142;color:#9faabd}
.eni-live{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:7px;background:#4b2436;color:#fff;font-size:.7rem;font-weight:950;line-height:1.2}
.eni-live i{width:6px;height:6px;border-radius:50%;background:var(--eni-live);box-shadow:0 0 0 4px rgba(240,68,98,.10);animation:eniPulse 1.35s infinite}
@keyframes eniPulse{50%{opacity:.35;transform:scale(.82)}}
.eni-competition{max-width:190px;margin-top:1px;color:#98a4b8;font-size:.64rem;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.eni-empty{min-height:180px;border:1px dashed rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.018);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;text-align:center;padding:24px}
.eni-empty b{font-size:1rem;color:#e4e8ef}.eni-empty span{font-size:.79rem;color:#69758a}

/* نهاري — نفس الهيكل لكن بألوان الصورة المرجعية */
.eni-app.eni-scheme-light{
    --eni-row:#eceff3;--eni-row-hover:#e5e9ef;--eni-line:rgba(15,23,42,.10);--eni-text:#111827;--eni-muted:#64748b;
    color:#111827;background:#fff;border-color:rgba(15,23,42,.12);box-shadow:0 16px 40px rgba(15,23,42,.08);
}
.eni-app.eni-scheme-light .eni-days{background:#f0f2f5;border-color:rgba(15,23,42,.10)}
.eni-app.eni-scheme-light .eni-day{color:#4b5563}.eni-app.eni-scheme-light .eni-day:hover{background:#fff;color:#111827}.eni-app.eni-scheme-light .eni-day.is-active{color:#fff}
.eni-app.eni-scheme-light .eni-match{color:#111827;border-color:transparent}.eni-app.eni-scheme-light .eni-match.is-live{border-color:rgba(168,29,56,.25);box-shadow:inset 3px 0 #a81d38}
.eni-app.eni-scheme-light .eni-team span{color:#0f172a}.eni-app.eni-scheme-light .eni-score{color:#111827}.eni-app.eni-scheme-light .eni-score-empty{color:#64748b}.eni-app.eni-scheme-light .eni-vs{color:#111827}
.eni-app.eni-scheme-light .eni-kickoff{color:#111827}.eni-app.eni-scheme-light .eni-countdown{color:#667085}.eni-app.eni-scheme-light .eni-status{background:#fff;color:#4b5563}.eni-app.eni-scheme-light .eni-live{background:#50283c;color:#fff}.eni-app.eni-scheme-light .eni-competition{color:#4b5563}
.eni-app.eni-scheme-light .eni-empty{background:#f8fafc;border-color:rgba(15,23,42,.12)}.eni-app.eni-scheme-light .eni-empty b{color:#111827}.eni-app.eni-scheme-light .eni-empty span{color:#64748b}

@media(max-width:760px){
    .eni-app{padding:10px;border-radius:17px}.eni-days{gap:5px;padding:4px;margin-bottom:10px}.eni-day{min-height:40px;border-radius:9px}.eni-day span{font-size:.84rem}
    .eni-match-list-flat{gap:7px}.eni-match{min-height:100px;grid-template-columns:minmax(0,1fr) 116px minmax(0,1fr);gap:5px;padding:11px 6px;border-radius:11px}
    .eni-team{gap:5px}.eni-team img{width:39px;height:39px}.eni-team span{font-size:.70rem;line-height:1.28}
    .eni-score-wrap{gap:3px}.eni-score{min-width:22px;height:26px;font-size:1rem}.eni-vs{font-size:.9rem}.eni-kickoff{font-size:.78rem}.eni-live,.eni-status{font-size:.59rem;padding:3px 6px}.eni-countdown{font-size:.52rem}.eni-competition{max-width:110px;font-size:.53rem}
}
@media(max-width:420px){
    .aboooda-schedule-heading{width:min(360px,calc(100% - 16px));gap:9px;margin-bottom:11px}.aboooda-schedule-heading h2{font-size:1.16rem!important}
    .eni-app{padding:7px}.eni-match{grid-template-columns:minmax(0,1fr) 102px minmax(0,1fr);min-height:94px;padding:9px 4px}.eni-team img{width:34px;height:34px}.eni-team span{font-size:.65rem}.eni-score{font-size:.93rem}.eni-competition{max-width:96px}
}
