/* Golf Day Results — shared Match Play public feature
 * Wave 4D.5I.1.8/1.9/1.10
 * Shared by Round Story and Event Hub.
 */

.gdr-match-play-feature {
    width: min(1440px, calc(100% - 2rem));
    margin: clamp(2rem, 4vw, 3.6rem) auto;
}

.gdr-match-play-feature__header {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr);
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.15rem;
}

.gdr-match-play-feature__header > div > span {
    display: block;
    color: #a57d18;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.gdr-match-play-feature__header h2 {
    max-width: 880px;
    margin: .28rem 0 0;
    color: #0b3d2f;
    font-size: clamp(2.15rem,4vw,3.65rem);
    font-weight: 610;
    line-height: .98;
    letter-spacing: -.045em;
}

.gdr-match-play-feature__header p {
    max-width: 560px;
    margin: 0;
    color: #68776f;
    font-size: 1rem;
    line-height: 1.55;
    text-align: right;
}

.gdr-match-play-feature__competitions {
    display: grid;
    gap: 1.2rem;
}

.gdr-match-play-contest-card {
    overflow: hidden;
    border: 1px solid rgba(9,56,43,.13);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(6,39,29,.075);
}

.gdr-match-play-contest-card__hero {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 1.4rem;
    align-items: center;
    padding: 1.35rem 1.45rem;
    background:
        radial-gradient(circle at 90% 14%, rgba(213,173,55,.15), transparent 34%),
        linear-gradient(145deg,#0b4b3a,#07382c);
    color: #fff8e8;
}

.gdr-match-play-feature--primary .gdr-match-play-contest-card__hero {
    min-height: 190px;
    padding: 1.6rem 1.7rem;
}

.gdr-match-play-contest-card__identity > span {
    display: block;
    color: #d5ad37;
    font-size: .77rem;
    font-weight: 900;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.gdr-match-play-contest-card__identity h3 {
    margin: .2rem 0 .28rem;
    color: #fff8e8;
    font-size: clamp(1.8rem,3.2vw,2.65rem);
    font-weight: 610;
    line-height: .98;
}

.gdr-match-play-feature--primary .gdr-match-play-contest-card__identity h3 {
    font-size: clamp(2.2rem,4vw,3.45rem);
}

.gdr-match-play-contest-card__identity p {
    margin: 0;
    color: rgba(255,248,232,.7);
    font-size: .96rem;
}

.gdr-match-play-contest-card__score {
    min-width: 330px;
    text-align: center;
}

.gdr-match-play-contest-card__score > small {
    display: block;
    margin-bottom: .35rem;
    color: rgba(255,248,232,.58);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gdr-match-play-contest-card__score > div {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: .6rem;
    align-items: center;
}

.gdr-match-play-contest-card__score span {
    color: #fff8e8;
    font-size: .92rem;
    font-weight: 850;
}

.gdr-match-play-contest-card__score strong {
    color: #fff8e8;
    font-size: 3rem;
    line-height: .9;
}

.gdr-match-play-feature--primary .gdr-match-play-contest-card__score strong {
    font-size: clamp(3.5rem,6vw,5.1rem);
}

.gdr-match-play-contest-card__score strong em {
    margin: 0 .18rem;
    color: #d5ad37;
    font-style: normal;
}

.gdr-match-play-contest-card__status {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .58rem .75rem;
    border: 1px solid rgba(213,173,55,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #fff8e8;
}

.gdr-match-play-contest-card__sides {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .9rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(9,56,43,.08);
    background: #fbfcfb;
}

.gdr-match-play-feature--primary .gdr-match-play-contest-card__sides {
    padding: 1.25rem 1.4rem;
}

.gdr-match-play-side {
    min-width: 0;
    padding: .82rem;
    border: 1px solid rgba(9,56,43,.1);
    border-radius: 14px;
    background: #f6f9f7;
}

.gdr-match-play-side.is-winner {
    border-color: rgba(11,102,72,.34);
    background:
        radial-gradient(circle at 10% 20%,rgba(11,102,72,.08),transparent 35%),
        #edf7f1;
}

.gdr-match-play-side__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .62rem;
}

.gdr-match-play-side__heading > span {
    color: #0b3d2f;
    font-size: 1.08rem;
    font-weight: 900;
}

.gdr-match-play-side__heading > strong {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    padding: .28rem .48rem;
    border-radius: 999px;
    background: #0b6648;
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gdr-match-play-side__players {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .72rem;
}

.gdr-match-play-player-chip,
.gdr-match-play-match-card__player {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: .42rem;
}

.gdr-match-play-player-chip__avatar,
.gdr-match-play-match-card__player > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    overflow: hidden;
    place-items: center;
    border: 2px solid rgba(213,173,55,.48);
    border-radius: 50%;
    background: #e8efeb;
    color: #0b3d2f;
}

.gdr-match-play-player-chip img,
.gdr-match-play-match-card__player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gdr-match-play-player-chip strong,
.gdr-match-play-match-card__player strong {
    max-width: 130px;
    overflow: hidden;
    color: #17382f;
    font-size: .87rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gdr-match-play-match-rail {
    display: flex;
    flex-wrap: nowrap;
    gap: .8rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 1.15rem 1.15rem;
    background: #f7faf8;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.gdr-match-play-match-card {
    flex: 0 0 320px;
    min-width: 320px;
    scroll-snap-align: start;
    display: grid;
    gap: .7rem;
    padding: .82rem;
    border: 1px solid rgba(9,56,43,.1);
    border-radius: 14px;
    background: #fff;
    color: #15372e;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(6,39,29,.045);
}

.gdr-match-play-feature--primary .gdr-match-play-match-card {
    flex-basis: 350px;
    min-width: 350px;
}

.gdr-match-play-match-card__meta {
    display: flex;
    align-items: baseline;
    gap: .4rem;
}

.gdr-match-play-match-card__meta span {
    color: #a57d18;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gdr-match-play-match-card__meta strong {
    color: #0b3d2f;
    font-size: .82rem;
}

.gdr-match-play-match-card__meta em {
    margin-left: auto;
    color: #75827c;
    font-size: .7rem;
    font-style: normal;
}

.gdr-match-play-match-card__contest {
    display: grid;
    grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr);
    gap: .4rem;
    align-items: center;
}

.gdr-match-play-match-card__entry {
    display: grid;
    gap: .32rem;
    min-width: 0;
    padding: .4rem;
    border: 1px solid transparent;
    border-radius: 10px;
}

.gdr-match-play-match-card__entry.is-winner {
    border-color: rgba(11,102,72,.32);
    background: #eaf5ef;
}

.gdr-match-play-match-card__vs {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #0b4b3a;
    color: #fff;
    font-size: .55rem;
    font-weight: 900;
}

.gdr-match-play-match-card__result small,
.gdr-match-play-match-card__result strong,
.gdr-match-play-match-card__result span {
    display: block;
}

.gdr-match-play-match-card__result small {
    color: #7a8781;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.gdr-match-play-match-card__result strong {
    margin-top: .08rem;
    color: #8a6917;
    font-size: 1rem;
    line-height: 1.25;
}

.gdr-match-play-match-card.is-live .gdr-match-play-match-card__result strong {
    color: #0b6648;
}

.gdr-match-play-match-card__result span {
    margin-top: .08rem;
    color: #6e7d76;
    font-size: .78rem;
}

.gdr-match-play-contest-card__footer {
    display: flex;
    justify-content: flex-end;
    padding: .8rem 1rem;
    border-top: 1px solid rgba(9,56,43,.07);
    background: #fff;
}

.gdr-match-play-contest-card__footer a {
    color: #0b4b3a;
    font-size: .9rem;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 900px) {
    .gdr-match-play-feature__header {
        grid-template-columns: 1fr;
    }
    .gdr-match-play-feature__header p {
        text-align: left;
    }
    .gdr-match-play-contest-card__hero {
        grid-template-columns: 1fr;
    }
    .gdr-match-play-contest-card__score {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .gdr-match-play-feature {
        width: min(calc(100% - 1rem),1440px);
    }
    .gdr-match-play-feature__header h2 {
        font-size: clamp(2rem,10vw,2.8rem);
    }
    .gdr-match-play-contest-card__hero {
        padding: 1.1rem 1rem;
    }
    .gdr-match-play-contest-card__score strong,
    .gdr-match-play-feature--primary .gdr-match-play-contest-card__score strong {
        font-size: 2.6rem;
    }
    .gdr-match-play-contest-card__sides {
        grid-template-columns: 1fr;
        padding: .9rem;
    }
    .gdr-match-play-match-rail {
        padding: .85rem .9rem 1rem;
    }
    .gdr-match-play-match-card,
    .gdr-match-play-feature--primary .gdr-match-play-match-card {
        flex-basis: min(86vw,320px);
        min-width: min(86vw,320px);
    }
}


/* Wave 4D.5I.2 — Event Hub Competition Winners Match Play parity */
.event-hub-match-play-winner-row {
    align-items: center;
}

.event-hub-match-play-winner-mark {
    display: grid;
    width: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: .25rem;
    place-items: center;
    align-content: center;
    gap: .08rem;
    border: 1px solid rgba(213,173,55,.34);
    border-radius: 12px;
    background: radial-gradient(circle at 50% 20%, rgba(213,173,55,.18), transparent 55%), #0b4938;
    color: #fff8e8;
    text-align: center;
}

.event-hub-match-play-winner-mark i {
    color: #d5ad37;
    font-size: .9rem;
}

.event-hub-match-play-winner-mark b {
    color: #fff8e8;
    font-size: .66rem;
    line-height: 1;
}

.event-hub-match-play-winner-row.is-winner .event-hub-match-play-winner-mark {
    border-color: rgba(11,102,72,.34);
    background: #0b6648;
}

.event-hub-match-play-winner-row.is-winner .event-hub-match-play-winner-mark i {
    color: #fff8e8;
}

.event-hub-storyline-mini .bi-diagram-3-fill {
    color: #0b6648;
}

@media (max-width:720px) {
    .event-hub-match-play-winner-mark {
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        border-radius: 10px;
    }
}
