/* Shared centered tournament and venue lines in upcoming fixtures. */
.fixture-meta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;min-width:0}.fixture-detail{display:flex;align-items:center;justify-content:center;gap:8px;max-width:100%;color:#617b90;font-size:12px;line-height:1.5}.fixture-detail span{min-width:0;overflow-wrap:anywhere}.fixture-detail-trophy{font-weight:600;color:#254b68}.fixture-detail-icon{display:block;width:20px;height:20px;flex:0 0 20px;color:#009ddd}.next.upcoming .match-bottom.fixture-meta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding-top:18px}.next.upcoming .fixture-detail{font-size:13px}.next.upcoming .fixture-gather{font-size:11px;color:#6b8294;text-align:center;max-width:none;margin-top:4px}.next.upcoming .fixture-gather strong{color:#254b68}.weekend-fixture .fixture-meta{margin:12px auto 0;max-width:660px}.weekend-fixture .fixture-detail{font-size:11px}.weekend-fixture .fixture-detail-icon{width:18px;height:18px;flex-basis:18px}
@media(max-width:700px){.next.upcoming .fixture-detail{font-size:11px;gap:7px}.next.upcoming .fixture-detail-icon{width:18px;height:18px;flex-basis:18px}.next.upcoming .fixture-gather{font-size:10px;max-width:none}.weekend-fixture .fixture-detail{font-size:10px;gap:6px}.weekend-fixture .fixture-detail-icon{width:17px;height:17px;flex-basis:17px}.weekend-fixture .fixture-meta{gap:6px;margin-top:10px}}

/* Keep the fixture and its details on the same centered axis. */
.weekend-fixture{min-width:0}
.weekend-fixture .weekend-team{width:100%;margin-inline:auto}
.weekend-fixture .fixture-meta{width:100%}
.next.upcoming .match-bottom.fixture-meta{width:100%;max-width:none}
.next.upcoming .match-bottom .fixture-detail{width:100%;max-width:none;text-align:center}
.next.upcoming .match-bottom .fixture-detail span{max-width:none;text-align:center;flex:0 1 auto}

.weekend-timing{display:none}
@media(max-width:700px){
.upcoming-home .weekend-match{position:relative;display:flex;flex-direction:column;align-items:center;gap:18px;padding:24px 32px}
.upcoming-home .weekend-timing{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:660px;background:#f0f7fb;border:1px solid #e1ebf2;border-radius:10px;padding:12px 16px}
.upcoming-home .weekend-timing-item{display:flex;justify-content:center;align-items:center;gap:12px;min-width:0}
.upcoming-home .weekend-timing-item+ .weekend-timing-item{border-left:1px solid #d3e2ec}
.upcoming-home .weekend-timing-item span{font-size:12px;color:#617b90;white-space:nowrap}
.upcoming-home .weekend-timing-item time{font-size:22px;font-weight:800;line-height:1.2;color:#17324f;white-space:nowrap;font-variant-numeric:tabular-nums}
.upcoming-home .weekend-fixture{width:100%;max-width:660px}
.upcoming-home .weekend-fixture .weekend-team{width:100%;max-width:none;min-height:48px;margin:0;align-items:center}
.upcoming-home .weekend-fixture .fixture-meta{width:100%;max-width:none;margin:14px 0 0;gap:8px}
.upcoming-home .weekend-fixture .fixture-detail-trophy{min-height:20px}
.upcoming-home .weekend-fixture .fixture-detail-stadium{min-height:20px}
.upcoming-home .weekend-arrow{position:absolute;right:24px;top:50%;transform:translateY(-50%)}

.upcoming-home .weekend-match{padding:18px 16px;gap:16px}
.upcoming-home .weekend-timing{padding:11px 8px}
.upcoming-home .weekend-timing-item{gap:9px}
.upcoming-home .weekend-timing-item span{font-size:11px}
.upcoming-home .weekend-timing-item time{font-size:20px}
.upcoming-home .weekend-fixture .weekend-team{min-height:56px;gap:8px;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)}
.upcoming-home .weekend-home,.upcoming-home .weekend-away{font-size:12px;gap:7px}
.upcoming-home .weekend-fixture .weekend-team img{width:28px;height:32px}
.upcoming-home .weekend-fixture .fixture-meta{margin-top:12px;gap:8px}
.upcoming-home .weekend-fixture .fixture-detail-trophy{min-height:30px}
.upcoming-home .weekend-arrow{display:none}

.upcoming-home .weekend-time,.upcoming-home .weekend-gather{display:none}
}

/* Team names share typography in upcoming fixtures and recent results. */
.upcoming-home .weekend-home,.upcoming-home .weekend-away,.home-results .result-home,.home-results .result-away{font-family:inherit;font-size:17px;font-weight:700;line-height:1.4;letter-spacing:normal}
@media(max-width:700px){.upcoming-home .weekend-home,.upcoming-home .weekend-away,.home-results .result-home,.home-results .result-away{font-size:12px}}

/* Mobile results: matchup, time and venue, then competition. */
@media(max-width:700px){
.home-results .result-row{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);gap:12px 8px;padding:18px 16px}
.home-results .result-home{grid-column:1;grid-row:1;flex-direction:row;justify-content:flex-end;text-align:right;gap:6px;min-height:56px}
.home-results .result-away{grid-column:3;grid-row:1;flex-direction:row;justify-content:flex-start;text-align:left;gap:6px;min-height:56px}
.home-results .result-home img,.home-results .result-away img{width:28px;height:32px;flex:0 0 28px;object-fit:contain}
.home-results .result-score{grid-column:2;grid-row:1;font-size:22px}
.home-results .result-date{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;line-height:1.5;white-space:nowrap}
.home-results .result-venue{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:10px;white-space:normal;text-align:left}
.home-results .result-tournament{grid-column:1/-1;grid-row:3;display:block;text-align:center;font-size:10px;line-height:1.6}
.home-results .result-tournament span{display:inline;margin:0;font-size:inherit}
.home-results .result-tournament span::before{content:' · '}
.home-results .result-venue::before,.home-results .result-tournament::before{content:'';display:inline-block;width:18px;height:18px;flex:0 0 18px;background-position:center;background-repeat:no-repeat;background-size:contain;vertical-align:middle}
.home-results .result-venue::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23009ddd%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2210%22%20rx%3D%229%22%20ry%3D%224%22%2F%3E%3Cpath%20d%3D%22M3%2010v7c0%202.2%204%204%209%204s9-1.8%209-4v-7M7%2013v6m5-5v7m5-8v6M6%207V3m12%204V3M4%203h4m8%200h4%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2210%22%20rx%3D%224%22%20ry%3D%221.5%22%2F%3E%3C%2Fsvg%3E")}
.home-results .result-tournament::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23009ddd%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h8v6a4%204%200%200%201-8%200V3ZM8%205H4v2a4%204%200%200%200%204%204m8-6h4v2a4%204%200%200%201-4%204m-4%202v5m-4%203h8m-6-3h4v3h-4z%22%2F%3E%3C%2Fsvg%3E");margin-right:7px}
}

@media(max-width:700px){.home-results .result-home,.home-results .result-away{min-width:0}.home-results .result-home>span,.home-results .result-away>span{min-width:0;overflow-wrap:anywhere}}

/* Distinguish upcoming fixtures from completed results on the homepage. */
#weekend .weekend-day{background:#d9f1ff;color:#102c48;border-bottom:1px solid #b4dff5}
#weekend .weekend-day-number{color:#007cb3}
#weekend .weekend-day div div>span{color:#365e78}
#weekend .weekend-board{border-color:#b4dff5}
#recent-results .result-day{background:#e8edf2;color:#263e52;border-bottom:1px solid #d3dde6}
#recent-results .result-day .weekend-day-number{color:#536d82}
#recent-results .result-day div div>span{color:#536d82}
