/* Shared compact list layout for both appearances, including archived details. */
.match.compact-match,
html[data-appearance=sport] .match.compact-match{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:10px 12px;margin-bottom:5px;min-width:0}
.compact-match>*{min-width:0}
.compact-match .time,
html[data-appearance=sport] .compact-match .time{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:21px;line-height:1.35}
.compact-match .time small{display:inline;margin:0;font-size:11px}
.compact-match .match-note,
html[data-appearance=sport] .compact-match .match-note{margin:0;padding:5px 8px;border-radius:5px;background:#fff6df;color:#855500;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
html[data-appearance=sport] .compact-match .match-note{background:#352c1d;color:#ffd185}
.compact-match .tags{align-items:center;gap:5px;margin:0;min-width:0}
.compact-match .tags .tag,
html[data-appearance=sport] .compact-match .tags .tag{font-size:12px;line-height:1.4;padding:3px 7px;border-radius:5px;max-width:100%;overflow-wrap:anywhere}
.compact-match .tags .group-badge{min-width:0;box-shadow:none}
.compact-match .tags .event-roster-link{white-space:normal;text-align:left;min-width:0}
.compact-match .match-number{white-space:nowrap;font-weight:600}
.compact-match .teams,
html[data-appearance=sport] .compact-match .teams{gap:8px 12px;font-size:17px;line-height:1.5;padding:2px 0;flex-wrap:wrap;overflow-wrap:anywhere}
.compact-match .teams>span{min-width:0;max-width:100%}
.compact-match .location{display:flex;flex-direction:column;gap:4px;text-align:left;margin:0;grid-column:auto}
.compact-match .match-place{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}
.compact-match .location .venue-detail,
html[data-appearance=sport] .compact-match .location .venue-detail{display:inline;margin:0;font-size:13px;min-width:0;overflow-wrap:anywhere}
.compact-match .match-detail{margin:0;padding:2px 6px;font-size:12px}
.compact-match .pitch-actions-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.compact-match .pitch-actions-row>.match-detail{min-width:0;flex:0 1 auto;overflow-wrap:anywhere;align-items:baseline}
.compact-match .pitch-actions-row>.match-detail strong{min-width:0;overflow-wrap:anywhere}
.compact-match .match-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:4px;margin:0;flex:0 0 auto}
.compact-match .match-actions .live-slot,
.compact-match .match-actions .match-like-slot{display:flex;align-items:center;margin:0;flex-shrink:0}
.compact-match .location .match-actions button{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:32px;height:auto;width:auto;flex:0 0 auto;margin:0;padding:4px 6px;font-size:11px;font-weight:700;line-height:1.3;border-radius:6px;white-space:nowrap;box-shadow:none}
.compact-match .match-actions .match-share svg{width:12px;height:12px}
.compact-match .match-admin-actions{display:flex;gap:6px}
.compact-match .match-admin-actions button{margin:0}
#list .date-title,
html[data-appearance=sport] #list .date-title{font-size:18px;margin:18px 0 8px;padding:9px 12px;gap:6px 12px;border-left-width:4px;line-height:1.4}
#list .date-title small{font-size:13px}
@media(max-width:760px){
 .match.compact-match,html[data-appearance=sport] .match.compact-match{padding:9px 10px;gap:4px}
 .compact-match .time,html[data-appearance=sport] .compact-match .time{font-size:20px}
 .compact-match .teams,html[data-appearance=sport] .compact-match .teams{font-size:16px;gap:7px 10px}
}

/* A compact clock and contrasting start-time badge in both appearances. */
.compact-match .time .match-start-time{display:inline-flex;align-items:center;gap:7px;padding:4px 9px;border:1px solid #a9d7c5;border-radius:7px;background:#e5f5ec;color:#075b40;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-appearance=sport] .compact-match .time .match-start-time{background:#243c28;color:#d1fa83;border-color:#54733a}
.compact-match .match-clock{display:block;width:18px;height:18px;flex-shrink:0}

/* Preserve the original button palette; red exclusively marks an available live link. */
.compact-match .location .match-actions .live-slot button.has-live-links{background:#c62828;color:#fff;border-color:#c62828;font-weight:800}

/* Distinguish match numbers from group and event labels. */
.compact-match .tags .match-number{background:#fff0d6;color:#8a3c00;border:1px solid #e6ab58;font-weight:700}
html[data-appearance=sport] .compact-match .tags .match-number{background:#4d351b;color:#ffd08a;border-color:#9f7137}
