.match-page {
    max-width: 920px;
    padding-block: 1rem 3rem;
    color: #edf4fa;
}

.match-page-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: .8rem;
}

.match-page-actions a {
    color: #b7c9d5;
    padding: .3rem 0;
}

.match-page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #101e2e, #16372f);
    border: 1px solid #34534f;
    border-radius: 22px;
    padding: clamp(.8rem, 3.5vw, 2rem);
    text-align: center;
}

.match-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, transparent 53px, #a8f16726 54px, transparent 55px),
        linear-gradient(90deg, transparent calc(50% - .5px), #a8f16726 50%, transparent calc(50% + .5px));
}

.match-page-hero > * { position: relative; }
.match-page-hero h1 { font-size: clamp(1.25rem, 4vw, 2.25rem); margin: .35rem 0 1.2rem; }
.match-page-competition { color: #a8f167; margin: 0; font-weight: 650; }

.match-page-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, auto) minmax(0, 1fr);
    grid-template-areas: "home result away";
    align-items: center;
    gap: .5rem;
}

.match-page-team.home { grid-area: home; }
.match-page-team.away { grid-area: away; }
.match-page-team, .match-page-result {
    display: grid;
    justify-items: center;
    overflow-wrap: anywhere;
    gap: .3rem;
}

.match-page-team img { object-fit: contain; }
.match-page-team i { font-size: 2rem; }
.match-page-team-name { color: #edf4fa; font-weight: 700; }
.match-page-country, .match-page-info, .match-page-result span { color: #b7c9d5; font-size: .875rem; }
.match-page-result { grid-area: result; }
.match-page-result strong { font-size: clamp(1.5rem, 5.5vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.match-page-result .is-live { color: #a8f167; font-weight: 700; }
.match-page-info { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1rem; margin-top: .85rem; }
.match-page-timeline { margin-top: 1.35rem; }
.match-page-timeline h2 { font-size: 1.25rem; margin: 0 0 .6rem; }
.match-page-timeline p { color: #b7c9d5; }

.match-page-timeline-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.match-page-timeline:has(.match-page-requested-events[data-loaded="true"]:not([hidden])) .match-page-stored-events { display: none; }
