.waey-score-filters{display:flex;gap:14px;overflow:auto;padding:0 2px;scrollbar-width:thin;max-width:100%;border-block-end:1px solid #dbe3ef}
.waey-score-filters button{min-height:40px;flex:none;padding:0 2px;border:0;border-block-end:2px solid transparent;font:inherit;font-size:.79rem;color:inherit;background:transparent;cursor:pointer;white-space:nowrap}
.waey-score-filters button[aria-pressed=true]{color:var(--blue,var(--waey-accent,#105bd3));border-block-end-color:currentColor;font-weight:bold}
.hub-score-widget{margin:16px 0}.hub-score-widget .score-group{font-size:.95rem;margin:16px 0 3px}.hub-score-widget .score-league{font-size:.8rem;color:#526581;margin:8px 0}
.hub-score-widget .score-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;border-block-end:1px solid #e1e7f1;padding:8px 0;font-size:.8rem}
.hub-score-widget .score-team{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}.hub-score-widget .score-away{justify-content:flex-end}
.hub-score-widget .score-row img{width:28px;height:28px;object-fit:contain;background:none;flex:none}
.hub-score-widget .score-center{text-align:center;white-space:nowrap}.hub-score-widget .score-status{display:block;color:#526581;font-size:.72rem}.hub-score-widget .score-live{color:#a82032}
.hub-score-widget .score-value{display:flex;justify-content:center;gap:5px;direction:ltr;font-weight:bold}
.hub-score-widget .score-pagination{display:flex;justify-content:space-between;gap:10px;padding-top:12px}

/* MisrNews compact cards, with the existing stacked layout on smaller screens. */
@media (min-width: 768px) {
#football-scores.waey-score-layout{padding:16px}#football-scores.waey-score-layout header{margin-bottom:8px}#football-scores.waey-score-layout h2{font-size:18px}#football-scores.waey-score-layout .score-matches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}#football-scores.waey-score-layout .score-group,#football-scores.waey-score-layout .score-league{display:none}#football-scores.waey-score-layout .score-row{position:relative;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:6px;padding:34px 8px 12px;background:#f7f8f9;border:1px solid #eee;border-radius:4px}#football-scores.waey-score-layout .score-row:before{content:attr(data-league);position:absolute;top:8px;right:6px;left:6px;text-align:center;font-size:10px;line-height:1.8;color:#666}#football-scores.waey-score-layout .score-team{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:32px 3.6em;align-content:start;align-self:start;align-items:start;justify-items:center;justify-content:center;text-align:center;font-size:11px;line-height:1.8;gap:6px}#football-scores.waey-score-layout .score-center{font-size:17px}#football-scores.waey-score-layout .score-actions{margin-top:12px}@media(max-width:1000px){#football-scores.waey-score-layout .score-matches{grid-template-columns:repeat(3,minmax(0,1fr))}}
#football-scores.waey-score-layout .score-team span{min-width:0;max-width:100%;overflow-wrap:anywhere}#football-scores.waey-score-layout .score-team img{grid-column:1;grid-row:1;width:32px;height:32px;object-fit:contain}#football-scores.waey-score-layout .score-team span{grid-column:1;grid-row:2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.8;max-height:3.6em;width:100%;text-align:center}#football-scores.waey-score-layout .score-center{align-self:start;margin-top:5px}
}
#football-scores.waey-score-layout .score-team img[hidden]{display:none}
@media (min-width: 768px) {
    .hub-score-widget #football-scores.waey-score-layout .score-team:last-child {
        justify-content: center;
    }
    .hub-score-widget #football-scores.waey-score-layout .score-row {
        grid-template-areas: "home score away";
    }
    .hub-score-widget #football-scores.waey-score-layout .score-home { grid-area: home; }
    .hub-score-widget #football-scores.waey-score-layout .score-away { grid-area: away; }
    .hub-score-widget #football-scores.waey-score-layout .score-center { grid-area: score; }
}
