/* Measured against the RU FotMob desktop score list, 1280px viewport. */
.leagues-panel{border-radius:16px}
.leagues-panel>.section-title{height:56px;box-sizing:border-box;padding:16px 24px 8px;line-height:16px;display:flex;align-items:center}
.leagues-panel>.league-links{padding:0 0 8px}
.leagues-panel .league-link{height:40px;min-height:40px;padding:8px 24px;border-radius:0;gap:8px}
.leagues-panel .league-link>a{gap:16px;line-height:16px}
.leagues-panel .league-emblem{width:16px;height:16px;min-width:16px}
.favorites-panel:has(.favorite-empty),.sidebar-note{display:none}
body[data-page="matches"] .toolbar,body[data-page="matches"] .league-group{border-radius:16px}
body[data-page="matches"] .chip[hidden]{display:none}
body[data-page="matches"] .chip{font-size:14px;padding:5px 16px}
body[data-page="matches"] .chip[data-toggle="live"][aria-pressed="true"]{background:#d1efcc;border-color:transparent;color:#438e6e}
.dark[data-page="matches"] .chip[data-toggle="live"][aria-pressed="true"]{background:#203e31;color:#8dceaa}
body[data-page="matches"] .match-filter{font-size:14px}
body[data-page="matches"] .match-filter input{font-size:14px}
body[data-page="matches"] .league-title small[hidden]{display:none}
body[data-page="matches"] .league-group-header{gap:16px}
body[data-page="matches"] .league-group-header .flag{width:16px;min-width:16px;flex:0 0 16px}
body[data-page="matches"] .league-group-header .country-flag{width:16px;height:16px;object-fit:cover;border-radius:50%}
body[data-page="matches"] .league-group-header .league-title{line-height:16px}
body[data-page="matches"] .match-row{grid-template-columns:42px minmax(0,1fr) 69px minmax(0,1fr) 42px;gap:0;padding:0;min-height:64px}
body[data-page="matches"] .match-row .team-link{gap:10px;line-height:16px}
body[data-page="matches"] .match-row .team-badge{width:22px;height:22px}
body[data-page="matches"] .match-row .score-link{font-size:14px;line-height:16px;font-weight:500;transform:none}
body[data-page="matches"] .match-row:has(.match-status.live) .score-link{transform:none}
body[data-page="matches"] .match-row .match-status{grid-column:1;grid-row:1;justify-self:center;align-self:center;max-width:none;min-width:25px;height:20px;padding:0 5px;border-radius:10px;background:var(--soft);color:#9f9f9f;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap;transform:none;position:static;text-align:center}
body[data-page="matches"] .match-row .match-status:empty{visibility:hidden}
body[data-page="matches"] .match-row .match-status{justify-self:start;margin-left:16px}
body[data-page="matches"] .match-row .match-status.live{background:#00985f;color:white}
body[data-page="matches"] .match-row>.star{justify-self:center}
.match-list-empty{display:grid;place-items:center;min-height:80px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:16px;font-size:18px;line-height:24px;color:#999;text-align:center}
.calendar-grid button.selected{background:var(--text);color:var(--surface)}
.calendar-grid button.is-today:not(.selected){background:var(--soft)}
.calendar-grid button.selected.is-today{background:var(--text);color:var(--surface)}
#featured .news-story{min-height:105px;gap:10px}
#featured .news-story>img{width:72px;height:72px;border-radius:16px}
@media(max-width:820px){
 body[data-page="matches"] .match-row{grid-template-columns:28px minmax(0,1fr) 60px minmax(0,1fr) 28px}
 body[data-page="matches"] .match-row .team-link{gap:8px}
}
@media(max-width:620px){
 body[data-page="matches"] .chip{font-size:13px;padding:5px 12px}
 body[data-page="matches"] .chip[data-toggle="favoriteFilter"]{padding:0}
 body[data-page="matches"] .match-row{grid-template-columns:8px minmax(0,1fr) 56px minmax(0,1fr) 28px;padding:0 4px}
 body[data-page="matches"] .match-row .team-link{gap:7px;line-height:17px}
 body[data-page="matches"] .match-row .team-badge{width:20px;height:22px}
 body[data-page="matches"] .match-row .match-status{grid-column:3;background:none;color:var(--muted);font-size:11px;height:12px;line-height:12px;padding:0;transform:translateY(12px)}
 body[data-page="matches"] .match-row .match-status{justify-self:center;margin-left:0}
 body[data-page="matches"] .match-row .match-status.live{background:none;color:var(--green)}
 body[data-page="matches"] .match-row .match-status[data-clock-minute="true"]:after{content:"′"}
 body[data-page="matches"] .match-row:has(.match-status:not(:empty)) .score-link{transform:translateY(-7px)}
 body[data-page="matches"] .match-row:has(.match-status.live) .score-link{transform:translateY(-7px)}
}

/* Long pause/postponement labels belong under the kickoff/score. */
body[data-page="matches"] .match-row .match-status[data-static-phase]{grid-column:3;justify-self:center;margin-left:0;background:none;font-size:10px;padding:0;transform:translateY(13px)}
body[data-page="matches"] .match-row:has([data-static-phase]) .score-link{transform:translateY(-7px)}
