/* Phase close polish v3.10.7.93 */
.ahly-match-details-365,
.ahly-player-full-page{
    text-rendering:optimizeLegibility;
}

.ahly-md-card{
    border-color:#e5e7eb;
}

.ahly-md-tabs{
    gap:6px;
    scrollbar-width:thin;
}

.ahly-md-tabs button{
    white-space:nowrap;
}

.ahly-md-info-grid{
    border:1px solid #eceff3;
    border-radius:10px;
    overflow:hidden;
}

.ahly-md-info-grid div{
    min-height:74px;
}

.ahly-md-info-grid strong,
.ahly-md-official-item strong,
.ahly-md-event-title,
.ahly-md-player-name,
.ahly-md-pitch-name{
    overflow-wrap:anywhere;
}

.ahly-md-officials-card{
    box-shadow:0 10px 26px rgba(15,23,42,.04);
}

.ahly-md-officials-title strong{
    font-size:15px;
}

.ahly-md-official-item{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.ahly-md-timeline-row{
    align-items:center;
}

.ahly-md-event-side{
    min-width:0;
}

.ahly-md-event-label{
    margin-top:4px;
}

.ahly-match-details-365 .ahly-md-timeline-row.system-period .ahly-md-event-icon{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent url("https://ahlawya.com/wp-content/uploads/2026/08/whistle.png") center/20px 20px no-repeat!important;
    box-shadow:none!important;
    color:transparent!important;
    font-size:0!important;
    line-height:1!important;
}

.ahly-match-details-365 .ahly-md-timeline-row.system-period .ahly-md-event-icon img{
    display:block!important;
    width:20px!important;
    height:20px!important;
    max-width:20px!important;
    max-height:20px!important;
    object-fit:contain!important;
}

.ahly-md-pitch-player,
.ahly-md-lineup-player-open{
    -webkit-tap-highlight-color:transparent;
}

.ahly-player-full-hero.is-ahly-player .ahly-player-full-title h1,
.ahly-player-full-hero.is-ahly-player .ahly-player-full-title span{
    text-shadow:0 3px 12px rgba(0,0,0,.42);
}

.ahly-player-full-hero.is-ahly-player .ahly-player-full-title b{
    border-color:rgba(255,255,255,.26);
    background:rgba(255,255,255,.92);
    color:#111827!important;
}

.ahly-player-full-hero.is-ahly-player .ahly-player-hero-facts span{
    color:#111827!important;
}
.ahly-player-full-hero.is-ahly-player .ahly-player-age-box,
.ahly-player-full-hero.is-ahly-player .ahly-player-age-box h2,
.ahly-player-full-hero.is-ahly-player .ahly-player-age-units span{
    color:#111!important;
    text-shadow:none!important;
}
.ahly-player-full-hero.is-ahly-player .ahly-player-age-units strong{
    color:#fff!important;
    text-shadow:none!important;
}

.ahly-player-profile-item,
.ahly-player-full-card,
.ahly-player-recent-row{
    border-color:#e8ecf2;
}

.ahly-player-recent-row{
    min-height:68px;
}

@media(max-width:768px){
    .ahly-md-tabs{
        position:sticky;
        top:0;
        z-index:5;
        overflow-x:auto;
        padding:8px 8px 0;
        background:#fff;
    }

    .ahly-md-tabs button{
        min-width:118px;
        flex:0 0 auto;
    }

    .ahly-md-pro-scoreboard{
        grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr);
    }

    .ahly-md-team-card{
        min-width:0;
    }

    .ahly-md-pro-score strong{
        min-width:78px;
        font-size:24px;
    }

    .ahly-md-timeline-row{
        grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);
        gap:6px;
    }

    .ahly-md-event-icon{
        font-size:24px!important;
    }

    .ahly-md-officials-title i{
        width:42px;
        height:42px;
        flex-basis:42px;
    }

    .ahly-md-officials-title i:before{
        width:31px;
        height:31px;
    }

    .ahly-player-full-hero{
        padding:18px 14px;
        border-radius:12px;
    }

    .ahly-player-full-title span{
        line-height:1.5;
    }

    .ahly-player-profile-grid{
        gap:8px;
        padding:10px;
    }

    .ahly-player-profile-item{
        min-height:112px;
        padding:12px 10px;
    }

    .ahly-player-profile-item strong{
        font-size:20px;
    }
}

@media(max-width:480px){
    .ahly-md-pro-hero{
        padding:16px 8px;
    }

    .ahly-md-team-card img{
        width:50px;
        height:50px;
    }

    .ahly-md-team-card strong{
        font-size:12px;
        line-height:1.35;
    }

    .ahly-md-pro-scoreboard{
        gap:5px;
    }

    .ahly-md-info-grid div{
        min-height:66px;
        padding:12px;
    }

    .ahly-md-officials-card{
        margin:12px 10px 14px;
    }

    .ahly-md-pitch{
        height:380px;
        min-height:380px;
    }

    .ahly-md-pitch-player{
        width:58px;
    }

    .ahly-md-pitch-photo{
        width:42px;
        height:42px;
    }

    .ahly-player-full-photo{
        width:190px;
        border-radius:18px;
    }

    .ahly-player-full-title h1{
        font-size:24px;
    }

    .ahly-player-profile-grid{
        grid-template-columns:1fr;
    }
}

/* Mobile timeline spacing v3.10.7.126 */
@media(max-width:768px){
    .ahly-md-timeline-row{
        grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)!important;
        gap:2px!important;
        padding-right:4px!important;
        padding-left:4px!important;
    }

    .ahly-md-home-event{
        padding-left:4px!important;
    }

    .ahly-md-away-event{
        padding-right:4px!important;
    }

    .ahly-md-event-title,
    .ahly-md-sub-player{
        max-width:100%!important;
        white-space:nowrap!important;
    }
}

/* Mobile lineup rows: keep five-player lines on one row. */
@media(max-width:768px){
    .ahly-md-pitch-row{
        flex-wrap:nowrap!important;
        justify-content:center!important;
        gap:0 clamp(2px,1vw,6px)!important;
        width:100%;
    }

    .ahly-md-pitch-row-gk{
        justify-content:center!important;
    }

    .ahly-md-pitch-player{
        flex:0 1 20%!important;
        width:20%!important;
        max-width:58px!important;
        min-width:0!important;
    }
}

/* Phase polish v3.10.7.126 */
.ahly-match-details-365,
.ahly-player-full-page{
    --ahly-inner-box-gap:14px;
}
.ahly-match-details-365 .ahly-md-panel.is-active{
    display:flex!important;
    flex-direction:column;
    gap:var(--ahly-inner-box-gap);
    padding:var(--ahly-inner-box-gap);
    background:#fff;
    border:1px solid #eee;
    border-top:0;
}
.ahly-match-details-365 .ahly-md-panel.is-active > .ahly-md-card,
.ahly-match-details-365 .ahly-md-panel.is-active > .ahly-md-motm-widget,
.ahly-match-details-365 .ahly-md-panel.is-active > .ahly-md-ahly-stars-widget{
    margin:0!important;
}
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="summary"].is-active > .ahly-md-motm-widget{
    margin:0!important;
}
.ahly-md-card > .ahly-md-h2h-widget,
.ahly-md-card > .ahly-md-form-grid,
.ahly-md-card > .ahly-md-empty.inner{
    margin:var(--ahly-inner-box-gap)!important;
}
.ahly-md-card > .ahly-md-empty.inner{
    border:1px solid #edf0f5;
    border-radius:8px;
}
.ahly-md-tabs{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
}
.ahly-md-tabs button{
    white-space:nowrap;
}
.ahly-md-team-card,
.ahly-md-pro-score,
.ahly-md-card,
.ahly-squad-section-365,
.ahly-player-card-365,
.ahly-staff-card-365{
    border-radius:8px!important;
}
.ahly-md-team-card,
.ahly-md-event-side,
.ahly-md-lineup-player-open,
.ahly-md-pitch-player{
    min-width:0;
}
.ahly-md-team-card strong,
.ahly-md-event-title,
.ahly-md-player-name,
.ahly-md-pitch-name,
.ahly-player-name-365,
.ahly-staff-name-365{
    overflow-wrap:anywhere;
}
.ahly-md-h2h-widget{
    margin-top:10px;
    background:#fff;
    border:1px solid #eee;
    border-radius:8px;
    overflow:hidden;
}
.ahly-md-h2h-widget > h3{
    margin:0;
    padding:14px 16px;
    border-bottom:1px solid #eee;
    color:#111;
    font-size:15px;
    font-weight:800;
    text-align:right;
}
.ahly-md-h2h-summary{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    gap:24px;
    padding:22px 18px 24px;
    border-bottom:1px solid #eee;
}
.ahly-md-h2h-team{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-width:0;
}
.ahly-md-h2h-team img{
    width:66px;
    height:66px;
    object-fit:contain;
}
.ahly-md-h2h-team strong{
    max-width:100%;
    color:#111;
    font-size:13px;
    line-height:1.35;
    text-align:center;
    overflow-wrap:anywhere;
}
.ahly-md-h2h-counts{
    display:grid;
    grid-template-columns:auto 1px auto 1px auto;
    align-items:center;
    gap:18px;
    min-width:220px;
}
.ahly-md-h2h-counts span{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
}
.ahly-md-h2h-counts b{
    color:#111827;
    font-size:34px;
    font-weight:500;
    line-height:1;
}
.ahly-md-h2h-counts small{
    color:#667085;
    font-size:10px;
    font-weight:700;
}
.ahly-md-h2h-counts i{
    display:block;
    width:1px;
    height:28px;
    background:#98a2b3;
}
.ahly-md-h2h-list{
    background:#fff;
}
.ahly-md-row-toggle{
    position:absolute;
    inline-size:1px;
    block-size:1px;
    opacity:0;
    pointer-events:none;
}
.ahly-md-h2h-row{
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    align-items:center;
    gap:10px;
    min-height:48px;
    padding:9px 16px;
    border-bottom:1px solid #eee;
}
.ahly-md-h2h-row:last-child{
    border-bottom:0;
}
.ahly-md-h2h-row time{
    color:#667085;
    font-size:11px;
    direction:ltr;
    text-align:left;
}
.ahly-md-h2h-row div{
    min-width:0;
    text-align:center;
}
.ahly-md-h2h-row small{
    display:block;
    color:#98a2b3;
    font-size:10px;
    font-weight:700;
    margin-bottom:3px;
}
.ahly-md-h2h-row p{
    display:grid;
    grid-template-columns:max-content 58px max-content;
    align-items:center;
    justify-content:center;
    gap:18px;
    margin:0;
    color:#111827;
    font-size:12px;
    font-weight:800;
    direction:rtl;
}
.ahly-md-h2h-row span{
    min-width:0;
    max-width:160px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ahly-md-h2h-row p > span:first-child{
    justify-self:center;
    text-align:center;
}
.ahly-md-h2h-row p > span:last-child{
    justify-self:center;
    text-align:center;
}
.ahly-md-h2h-row b{
    min-width:54px;
    color:#111827;
    font-size:16px;
    font-weight:900;
    text-align:center;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    direction:ltr!important;
    unicode-bidi:embed;
    white-space:nowrap;
}
.ahly-md-h2h-row b i,
.ahly-md-form-row b i{
    font-style:normal;
    color:#111827;
}
.ahly-md-h2h-row{
    grid-template-columns:92px minmax(0,1fr) 92px;
}
.ahly-md-form-row{
    grid-template-columns:76px minmax(0,1fr) 80px 34px;
}
.ahly-md-h2h-row em,
.ahly-md-form-row em{
    color:#667085;
    font-size:11px;
    font-style:normal;
    font-weight:700;
    text-align:left;
}
.ahly-md-toggle-list .is-extra{
    display:none;
}
.ahly-md-toggle-list .ahly-md-row-toggle:checked ~ .is-extra,
.ahly-md-h2h-list.is-expanded .is-extra,
.ahly-md-form-list.is-expanded .is-extra{
    display:grid;
}
.ahly-md-toggle-list .ahly-md-row-toggle:checked ~ .ahly-md-more-label .ahly-md-show-more,
.ahly-md-toggle-list .ahly-md-show-less{
    display:none;
}
.ahly-md-toggle-list .ahly-md-row-toggle:checked ~ .ahly-md-more-label .ahly-md-show-less{
    display:inline;
}
.ahly-md-more-rows{
    width:100%;
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-top:1px solid #eee;
    background:#fff;
    color:#475467;
    cursor:pointer;
    font-size:12px;
    font-weight:800;
}
.ahly-md-more-label{
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0;
}
.ahly-md-more-rows:hover{
    color:#e51b2b;
    background:#fbfcff;
}
.ahly-md-more-rows.is-disabled,
.ahly-md-more-rows:disabled{
    cursor:default;
    color:#98a2b3;
    background:#fafafa;
}
.ahly-md-more-rows.is-disabled:hover,
.ahly-md-more-rows:disabled:hover{
    color:#98a2b3;
    background:#fafafa;
}
.ahly-md-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:10px;
}
.ahly-match-details-365 .ahly-md-prematch-stats .ahly-md-form-grid{
    grid-template-columns:1fr;
}
.ahly-md-form-widget{
    border:1px solid #eee;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
}
.ahly-md-form-widget h3{
    margin:0;
    padding:12px 14px 6px;
    border-bottom:0;
    color:#111827;
    font-size:14px;
    font-weight:800;
    text-align:center;
}
.ahly-md-form-strength{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:8px 12px 14px;
    border-bottom:1px solid #eee;
    direction:ltr;
}
.ahly-md-form-strength img{
    width:min(58%,260px);
    min-width:150px;
    height:auto;
    display:block;
}
.ahly-md-form-strength strong{
    color:#8f8f8f;
    font-size:58px;
    font-weight:900;
    line-height:1;
    letter-spacing:0;
    white-space:nowrap;
}
.ahly-md-form-row{
    display:grid;
    align-items:center;
    gap:10px;
    min-height:46px;
    padding:8px 12px;
    border-bottom:1px solid #eee;
}
.ahly-md-form-row:last-child{
    border-bottom:0;
}
.ahly-md-form-row time{
    color:#667085;
    font-size:11px;
    direction:ltr;
    text-align:left;
}
.ahly-md-form-row div{
    min-width:0;
    text-align:center;
}
.ahly-md-form-row p{
    display:grid;
    grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:0;
    color:#111827;
    font-size:12px;
    font-weight:800;
    direction:rtl;
}
.ahly-md-form-row span{
    min-width:0;
    max-width:130px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ahly-match-details-365 .ahly-md-prematch-stats .ahly-md-form-row p > span:first-child{
    width:100%;
    max-width:100%;
    justify-self:stretch;
    text-align:left;
}
.ahly-match-details-365 .ahly-md-prematch-stats .ahly-md-form-row p > span:last-child{
    width:100%;
    max-width:100%;
    justify-self:stretch;
    text-align:right;
}
.ahly-md-form-row b{
    min-width:48px;
    color:#111827;
    font-size:15px;
    font-weight:900;
    text-align:center;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    direction:ltr!important;
    unicode-bidi:embed;
    white-space:nowrap;
}
.ahly-md-score-pair{
    direction:ltr!important;
    unicode-bidi:isolate!important;
    white-space:nowrap!important;
    flex-direction:row!important;
    gap:4px;
}
.ahly-md-h2h-row .ahly-md-score-pair,
.ahly-md-form-row .ahly-md-score-pair{
    direction:ltr!important;
    unicode-bidi:isolate!important;
    flex-direction:row!important;
}
.ahly-md-score-pair span{
    min-width:auto!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
}
.ahly-md-score-pair .ahly-md-score-left{order:1}
.ahly-md-score-pair i{order:2}
.ahly-md-score-pair .ahly-md-score-right{order:3}
.ahly-md-form-row > strong{
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#fff;
    font-size:12px;
    font-weight:900;
}
.ahly-md-form-row.win > strong{background:#3ab54a}
.ahly-md-form-row.draw > strong{background:#f6b800}
.ahly-md-form-row.loss > strong{background:#f05260}
.ahly-md-postmatch-stats{
    margin-top:10px;
}
@media(max-width:768px){
    .ahly-md-form-strength{
        gap:10px;
        padding:6px 10px 12px;
    }
    .ahly-md-form-strength img{
        width:58%;
        min-width:132px;
        max-width:220px;
    }
    .ahly-md-form-strength strong{
        font-size:42px;
    }
    .ahly-matches-box{
        display:block!important;
        box-sizing:border-box!important;
        float:none!important;
        clear:both!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin:0 auto 12px auto!important;
        position:static!important;
        right:auto!important;
        left:auto!important;
        transform:none!important;
    }
    .ahly-match-row{
        padding:10px 6px;
        border-radius:8px;
        margin:8px 6px;
        border:1px solid #edf0f5;
    }
    .ahly-match-main{
        grid-template-columns:minmax(0,1fr) minmax(58px,auto) minmax(0,1fr);
        gap:4px;
    }
    .ahly-team{
        flex-direction:column!important;
        justify-content:flex-start!important;
        align-items:center!important;
        gap:4px!important;
        text-align:center!important;
    }
    .ahly-team.team-left,
    .ahly-team.team-right{
        flex-direction:column!important;
        text-align:center!important;
    }
    .ahly-team.team-right img,
    .ahly-team.team-right span{
        order:initial!important;
    }
    .ahly-team img{
        width:28px!important;
        height:28px!important;
    }
    .ahly-team span{
        display:-webkit-box!important;
        width:100%!important;
        max-width:100%!important;
        white-space:normal!important;
        overflow:hidden!important;
        text-overflow:clip!important;
        overflow-wrap:anywhere;
        word-break:normal;
        line-height:1.35;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
    }
    .ahly-score-pill{
        min-width:58px;
        padding:7px 8px;
        white-space:nowrap;
    }
    .ahly-md-pro-hero{
        padding:14px 10px!important;
    }
    .ahly-md-tabs{
        justify-content:flex-start!important;
        gap:6px!important;
        padding:8px!important;
    }
    .ahly-md-tabs button{
        flex:0 0 auto!important;
        min-width:max-content!important;
        padding:10px 12px!important;
    }
    .ahly-squad-365{
        padding:8px!important;
        border-radius:8px!important;
    }
    .ahly-player-card-365{
        min-height:0!important;
        padding:0 0 12px!important;
    }
    .ahly-player-img-365,
    .ahly-no-player-img-365{
        height:auto!important;
        aspect-ratio:auto;
    }
    .ahly-player-img-365 img,
    .ahly-no-player-img-365 img{
        width:100%!important;
        height:100%!important;
        max-height:none!important;
        object-fit:cover!important;
        object-position:top center!important;
    }
    .ahly-player-name-365{
        padding:12px 10px 4px!important;
        min-height:0!important;
    }
    .ahly-staff-card-365{
        display:grid!important;
        grid-template-columns:74px minmax(0,1fr)!important;
        gap:10px!important;
        align-items:center!important;
    }
    .ahly-staff-img-365{
        width:74px!important;
        min-width:74px!important;
        aspect-ratio:1/1;
    }
    .ahly-staff-img-365 img{
        height:100%!important;
        object-fit:cover!important;
    }
    .ahly-md-h2h-summary{
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        grid-template-areas:
            "home away"
            "counts counts";
        gap:12px 10px;
        padding:18px 10px 16px;
    }
    .ahly-md-h2h-summary .ahly-md-h2h-team:first-child{
        grid-area:home;
    }
    .ahly-md-h2h-summary .ahly-md-h2h-team:last-child{
        grid-area:away;
    }
    .ahly-md-h2h-team img{
        width:54px;
        height:54px;
    }
    .ahly-md-h2h-team strong{
        font-size:12px;
    }
    .ahly-md-h2h-counts{
        grid-area:counts;
        justify-self:center;
        width:100%;
        max-width:260px;
        min-width:0;
        gap:10px;
    }
    .ahly-md-h2h-counts b{
        font-size:26px;
    }
    .ahly-md-h2h-counts small{
        font-size:9px;
    }
    .ahly-md-h2h-counts i{
        height:24px;
    }
    .ahly-md-h2h-row{
        grid-template-columns:1fr;
        gap:4px;
        padding:10px 12px;
    }
    .ahly-md-h2h-row time{
        text-align:center;
    }
    .ahly-md-h2h-row p{
        gap:8px;
    }
    .ahly-md-h2h-row span{
        min-width:0;
        max-width:34vw;
    }
    .ahly-md-h2h-row em,
    .ahly-md-form-row em{
        text-align:center;
    }
    .ahly-md-form-grid{
        grid-template-columns:1fr;
    }
    .ahly-md-form-row{
        grid-template-columns:1fr;
        gap:4px;
        padding:10px 12px;
    }
    .ahly-md-form-row time{
        text-align:center;
    }
    .ahly-md-form-row > strong{
        margin:0 auto;
        order:-1;
    }
    .ahly-md-form-row p{
        gap:8px;
    }
    .ahly-md-form-row span{
        max-width:34vw;
    }
}

@media(max-width:480px){
    .ahly-md-timeline-row{
        grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;
        gap:1px!important;
        padding-right:2px!important;
        padding-left:2px!important;
    }

    .ahly-md-home-event{
        padding-left:3px!important;
    }

    .ahly-md-away-event{
        padding-right:3px!important;
    }

    .ahly-md-event-title,
    .ahly-md-sub-player{
        font-size:12px!important;
        line-height:1.2!important;
    }
}

/* FTP hotfix: mobile Ahly matches widget should not inherit a narrow column width. */
@media(max-width:768px){
    body .ahly-matches-box[dir="rtl"]{
        box-sizing:border-box!important;
        display:block!important;
        float:none!important;
        clear:both!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        position:static!important;
        left:auto!important;
        right:auto!important;
        transform:none!important;
        margin:0 auto 12px auto!important;
    }
    body .ahly-matches-box[dir="rtl"] .ahly-match-row{
        margin:8px 6px!important;
        padding-right:6px!important;
        padding-left:6px!important;
    }
    body .ahly-matches-box[dir="rtl"] .ahly-match-main{
        grid-template-columns:minmax(0,1fr) minmax(58px,auto) minmax(0,1fr)!important;
        gap:4px!important;
    }
    body .ahly-matches-box[dir="rtl"] .ahly-team span{
        display:-webkit-box!important;
        width:100%!important;
        max-width:100%!important;
        white-space:normal!important;
        overflow:hidden!important;
        text-overflow:clip!important;
        overflow-wrap:anywhere!important;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
    }
}


/* ÃƒËœÃ‚ÂµÃƒâ„¢Ã‚ÂÃƒËœÃ‚Â­ÃƒËœÃ‚Â© ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â§ÃƒËœÃ‚Â¹ÃƒËœÃ‚Â¨ - ÃƒËœÃ‚ÂºÃƒâ„¢Ã…Â ÃƒËœÃ‚Â± ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â£Ãƒâ„¢Ã¢â‚¬Â¡Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â§Ãƒâ„¢Ã‹â€ Ãƒâ„¢Ã…Â  Ãƒâ„¢Ã‚ÂÃƒâ„¢Ã¢â‚¬Å¡ÃƒËœÃ‚Â· */
html body .ahly-player-full-page 
.ahly-player-full-hero:not(.is-ahly-player) 
.ahly-player-full-title h1{
    color:#fff !important;
	text-shadow:0 2px 8px rgba(0,0,0,.35);
}
/* ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â§ÃƒËœÃ‚Â³Ãƒâ„¢Ã¢â‚¬Â¦ ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â¥Ãƒâ„¢Ã¢â‚¬Â ÃƒËœÃ‚Â¬Ãƒâ„¢Ã¢â‚¬Å¾Ãƒâ„¢Ã…Â ÃƒËœÃ‚Â²Ãƒâ„¢Ã…Â  - ÃƒËœÃ‚ÂºÃƒâ„¢Ã…Â ÃƒËœÃ‚Â± ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â£Ãƒâ„¢Ã¢â‚¬Â¡Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â§Ãƒâ„¢Ã‹â€ Ãƒâ„¢Ã…Â  Ãƒâ„¢Ã‚ÂÃƒâ„¢Ã¢â‚¬Å¡ÃƒËœÃ‚Â· */
html body .ahly-player-full-page 
.ahly-player-full-hero:not(.is-ahly-player) 
.ahly-player-full-title span{
    color:#fff !important;
	text-shadow:0 2px 8px rgba(0,0,0,.35);
}
html body .ahly-player-full-page
.ahly-player-full-hero:not(.is-ahly-player)
.ahly-player-full-photo{
    border-color:#fff !important;
}

html body .ahly-player-full-page
.ahly-player-age-units span{
    color:#667085 !important;
    text-shadow:none !important;
}
/* Player page hotfix v3.10.7.178 */
html body .ahly-player-full-page .ahly-player-full-hero:not(.is-ahly-player) .ahly-player-full-photo{
    border-color:#fff !important;
}
html body .ahly-player-full-page .ahly-player-full-hero .ahly-player-age-box .ahly-player-age-units span,
html body .ahly-player-full-page .ahly-player-age-box .ahly-player-age-units span{
    color:#667085 !important;
    text-shadow:none !important;
}
/* Player recent result colors v3.10.7.178 */
.ahly-player-recent-table b.ahly-player-recent-score.win{
    background:#3ab54a!important;
    color:#fff!important;
}
.ahly-player-recent-table b.ahly-player-recent-score.draw{
    background:#f6b800!important;
    color:#fff!important;
}
.ahly-player-recent-table b.ahly-player-recent-score.loss{
    background:#f05260!important;
    color:#fff!important;
}

/* Next match shortcodes v3.10.7.178 */
.ahly-next-widget{border:1px solid #edf0f5;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.05);margin:0 0 14px;font-family:"Noto Kufi Arabic", sans-serif !important}
.ahly-next-widget h3{margin:0;padding:10px 14px;border-bottom:1px solid #edf0f5;color:#111827;font-size:16px;font-weight:900;text-align:right;line-height:1.35}
.ahly-next-match-card{padding:0;background:#fff}
.ahly-next-match-main{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(58px,auto) minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;max-width:100%!important;min-height:48px!important;padding:8px 16px 5px!important;box-sizing:border-box!important;background:#fff!important}
.ahly-next-match-widget .ahly-team{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;font-size:14px!important;font-weight:700!important;color:#111!important;line-height:1.35!important}
.ahly-next-match-widget .ahly-team.team-left{justify-content:flex-end!important;flex-direction:row!important;text-align:right!important}
.ahly-next-match-widget .ahly-team.team-right{justify-content:flex-start!important;text-align:right!important;flex-direction:row!important}
.ahly-next-match-widget .ahly-team.team-right img{order:2!important}
.ahly-next-match-widget .ahly-team.team-right span{order:1!important}
.ahly-next-match-widget .ahly-team img{width:30px!important;height:30px!important;object-fit:contain!important;flex:0 0 auto!important}
.ahly-next-match-widget .ahly-team span{display:block!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#111!important}
.ahly-next-match-card .ahly-score-pill{margin:auto!important;min-width:58px!important;height:auto!important;padding:7px 10px!important;border-radius:18px!important;background:#f1f1f1!important;color:#333!important;display:block!important;font-size:14px!important;font-weight:700!important;line-height:1!important;text-align:center!important;white-space:nowrap!important}
.ahly-next-match-meta{margin:0;padding:0 16px 9px;color:#667085;font-size:12px;font-weight:800;text-align:center;line-height:1.7;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.ahly-next-match-meta span+span:before{content:"-";margin-left:8px;color:#98a2b3}
.ahly-next-standings-table{width:100%;border-collapse:collapse;font-size:12px}
.ahly-next-standings-table th,.ahly-next-standings-table td{padding:9px 7px;border-bottom:1px solid #edf0f5;text-align:center;font-weight:900;white-space:nowrap}
.ahly-next-standings-table th{background:#fbfcff;color:#667085;font-size:11px}
.ahly-next-standings-table .team-col{text-align:right;min-width:130px}
.ahly-next-standings-table .team-col img{width:22px;height:22px;object-fit:contain;margin-left:6px;vertical-align:middle}
.ahly-next-standings-table tr.is-ahly td{background:#fff7f8}
@media(max-width:640px){.ahly-next-match-main{grid-template-columns:minmax(0,1fr) minmax(54px,auto) minmax(0,1fr)!important;gap:6px!important;padding:8px 10px 5px!important}.ahly-next-match-widget .ahly-team{font-size:12px!important;gap:5px!important}.ahly-next-match-widget .ahly-team.team-left,.ahly-next-match-widget .ahly-team.team-right{flex-direction:row!important}.ahly-next-match-widget .ahly-team.team-right img{order:2!important}.ahly-next-match-widget .ahly-team.team-right span{order:1!important}.ahly-next-match-widget .ahly-team img{width:24px!important;height:24px!important}.ahly-next-match-widget .ahly-team span{white-space:nowrap!important;text-overflow:ellipsis!important;display:block!important}.ahly-next-match-card .ahly-score-pill{min-width:48px!important;padding:7px 8px!important;font-size:12px!important}.ahly-next-match-meta{font-size:11px;gap:6px;padding:0 10px 9px}.ahly-next-standings-table{font-size:11px}.ahly-next-standings-table th,.ahly-next-standings-table td{padding:8px 4px}.ahly-next-standings-table .team-col{min-width:96px}}
/* Player English name size v3.10.7.178 */
html body .ahly-player-full-page .ahly-player-full-hero .ahly-player-full-title span{
    display:block;
    font-size:18px!important;
    line-height:1.35!important;
    font-weight:900!important;
    margin-top:5px!important;
}
@media(max-width:680px){
    html body .ahly-player-full-page .ahly-player-full-hero .ahly-player-full-title span{
        font-size:16px!important;
    }
}
/* Player page padding v3.10.7.178 */
html body .ahly-player-full-page{
    padding:0!important;
}
@media(max-width:680px){
    html body .ahly-player-full-page{
        padding:0!important;
    }
}



@media(max-width:768px){

    .ahly-squad-head-365 h3{
        font-size:14px !important;
        line-height:1.3 !important;
        white-space:nowrap !important;
    }

    .ahly-count-365{
        font-size:12px !important;
        margin-right:3px !important;
        white-space:nowrap !important;
    }

}


/* ØªÙƒØ¨ÙŠØ± ØµÙˆØ±Ø© Ø§Ù„Ù…Ø¯ÙŠØ± Ø§Ù„ÙÙ†ÙŠ ÙÙ‚Ø· - Ø¯ÙŠØ³ÙƒØªÙˆØ¨ */
.ahly-head-coach-wrap-365 .ahly-staff-img-365 {
    width: 220px !important;
    min-width: 220px !important;
}

/* ==============================
   Ø§Ù„Ù…Ø¯ÙŠØ± Ø§Ù„ÙÙ†ÙŠ + Ø§Ù„Ø¬Ù‡Ø§Ø² Ø§Ù„ÙÙ†ÙŠ
   Ù…ÙˆØ¨Ø§ÙŠÙ„ ÙÙ‚Ø·
   ============================== */
@media (max-width: 767px) {

    /* Ø§Ù„ÙƒØ§Ø±Øª: Ø§Ù„ØµÙˆØ±Ø© ÙÙˆÙ‚ ÙˆØ§Ù„ÙƒÙ„Ø§Ù… ØªØ­Øª */
    .ahly-head-coach-wrap-365 .ahly-staff-card-365,
    .ahly-staff-grid-365 .ahly-staff-card-365 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        text-align: center !important;
    }

    /* Ù…Ù†Ø¹ Ø§Ù„ÙƒÙ„Ø§Ù… Ù…Ù† Ø§Ù„Ø¯Ø®ÙˆÙ„ Ø¹Ù„Ù‰ Ø§Ù„ØµÙˆØ±Ø© */
    .ahly-head-coach-wrap-365 .ahly-staff-info-365,
    .ahly-staff-grid-365 .ahly-staff-info-365 {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }


    /* ===== Ø§Ù„Ù…Ø¯ÙŠØ± Ø§Ù„ÙÙ†ÙŠ ÙÙ‚Ø· ===== */

    .ahly-head-coach-wrap-365 .ahly-staff-img-365 {
        position: static !important;
        width: 220px !important;
        min-width: 220px !important;
        height: 220px !important;
        min-height: 220px !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        flex: none !important;
    }

    .ahly-head-coach-wrap-365 .ahly-staff-img-365 img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }


    /* ===== Ø¨Ø§Ù‚ÙŠ Ø§Ù„Ø¬Ù‡Ø§Ø² Ø§Ù„ÙÙ†ÙŠ ÙÙ‚Ø· ===== */

    .ahly-staff-grid-365 .ahly-staff-img-365 {
        position: static !important;
        width: 150px !important;
        min-width: 150px !important;
        height: 150px !important;
        min-height: 100px !important;
        margin: 0 auto !important;
        flex: none !important;
    }

    .ahly-staff-grid-365 .ahly-staff-img-365 img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
	
	.ahly-head-coach-wrap-365 .ahly-staff-country-365,
    .ahly-staff-grid-365 .ahly-staff-country-365 {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 6px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .ahly-head-coach-wrap-365 .ahly-country-flag,
    .ahly-staff-grid-365 .ahly-country-flag {
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
}




/*========================================*/
/* Next match home card + compact batteries v3.10.7.179 */
.ahly-next-home-widget{
    direction:rtl;
    margin:0 0 14px;
    font-family: "Noto Kufi Arabic", sans-serif !important;
}
.ahly-next-home-card{
    padding:16px 16px 14px;
    border:1px solid #edf0f5;
    border-bottom:0;
    background:linear-gradient(90deg,rgba(196,30,58,.10),#fff 34%,#fff 66%,rgba(30,97,180,.10));
    overflow:hidden;
}
.ahly-next-home-competition{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-bottom:16px;
}
.ahly-next-home-competition span{
    min-height:26px;
    padding:0 12px;
    border:1px solid #e5e7eb;
    border-radius:999px;
    background:#fff;
    color:#111827;
    font-size:12px;
    font-weight:800;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.ahly-next-home-scoreboard{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(88px,auto) minmax(0,1fr);
    align-items:center;
    gap:14px;
}
.ahly-next-home-scoreboard .ahly-team{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    text-align:center!important;
}
.ahly-next-home-scoreboard .ahly-team img{
    width:72px!important;
    height:72px!important;
    object-fit:contain!important;
    margin:0!important;
}
.ahly-next-home-scoreboard .ahly-team span{
    color:#111827!important;
    font-size:14px!important;
    font-weight:900!important;
    line-height:1.35!important;
    text-align:center!important;
    max-width:150px!important;
}
.ahly-next-home-score{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-align:center;
}
.ahly-next-home-score strong{
    color:#050b1f;
    font-size:30px;
    font-weight:900;
    line-height:1;
}
.ahly-next-home-score span,
.ahly-next-home-venue{
    color:#405169;
    font-size:12px;
    font-weight:700;
    line-height:1.7;
}
.ahly-next-home-venue{
    margin-top:12px;
    text-align:center;
}
.ahly-next-home-batteries.ahly-md-form-grid{
    margin-top:0;
    gap:0;
    direction:rtl;
}
.ahly-next-home-batteries .ahly-md-form-widget{
    border-radius:0;
    box-shadow:none;
}
.ahly-next-home-batteries .ahly-md-form-widget-compact .ahly-md-form-list{
    display:none!important;
}
.ahly-next-home-batteries .ahly-md-form-widget-compact h3{
    padding-top:12px;
    font-size:13px;
}
.ahly-next-home-batteries .ahly-md-form-widget-compact .ahly-md-form-strength{
    border-bottom:0;
}
@media(max-width:640px){
    .ahly-next-home-card{
        padding:14px 10px 12px;
    }
    .ahly-next-home-scoreboard{
        grid-template-columns:minmax(0,1fr) minmax(62px,auto) minmax(0,1fr);
        gap:8px;
    }
    .ahly-next-home-scoreboard .ahly-team img{
        width:58px!important;
        height:58px!important;
    }
    .ahly-next-home-scoreboard .ahly-team span{
        max-width:104px!important;
        font-size:12px!important;
    }
    .ahly-next-home-score strong{
        font-size:24px;
    }
    .ahly-next-home-score span,
    .ahly-next-home-venue{
        font-size:11px;
    }
    .ahly-next-home-batteries.ahly-md-form-grid{
        grid-template-columns:1fr;
    }
}



/* Match details layout tuning v3.10.7.178 */
@media(min-width:769px){
    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitches-pro{
        grid-template-columns:minmax(0, max-content)!important;
        justify-content:center!important;
        width:fit-content!important;
        max-width:100%!important;
        margin:0 auto!important;
        gap:18px!important;
    }

    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-card{
        width:fit-content!important;
        max-width:100%!important;
    }

    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch{
        width:min(100%, 420px)!important;
        flex:none!important;
    }
}

.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="stats"] .ahly-md-stat-motifs{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
}

@media(max-width:560px){
    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="stats"] .ahly-md-stat-motifs{
        grid-template-columns:1fr!important;
    }
}

/* Pitch player photo clipping v3.10.7.179 */
.ahly-match-details-365 .ahly-md-pitch-photo{
    overflow:visible!important;
    isolation:isolate;
}

.ahly-match-details-365 .ahly-md-pitch-photo img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    border-radius:50%!important;
    object-fit:cover!important;
    clip-path:circle(50% at 50% 50%);
}

.ahly-match-details-365 .ahly-md-pitch-photo em,
.ahly-match-details-365 .ahly-md-pitch-icon{
    z-index:3;
}


/* Pitch cards natural sizing v3.10.7.180 */
@media(min-width:769px){
    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitches-pro{
        grid-template-columns:minmax(0,560px)!important;
        justify-content:center!important;
        width:100%!important;
        max-width:100%!important;
        margin:0 auto!important;
        gap:20px!important;
    }

    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-card{
        width:100%!important;
        max-width:560px!important;
        margin:0 auto!important;
    }
}

.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:3/4!important;
    flex:none!important;
    overflow:visible!important;
    padding-bottom:42px!important;
}

.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-row{
    gap:18px 14px!important;
}

.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-player{
    width:76px!important;
    max-width:76px!important;
    flex:0 0 76px!important;
}

.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-name{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.25!important;
    min-height:2.5em!important;
}

@media(max-width:560px){
    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch{
        aspect-ratio:3/4!important;
        height:auto!important;
        min-height:0!important;
        overflow:visible!important;
        padding-bottom:42px!important;
    }

    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-player{
        width:20%!important;
        max-width:64px!important;
        flex:0 1 20%!important;
    }

    .ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-name{
        white-space:normal!important;
        overflow:visible!important;
        text-overflow:clip!important;
        min-height:2.5em!important;
    }
}
/* Broken lineup image fallback v3.10.7.181 */
.ahly-match-details-365 .ahly-md-photo-fallback{
    display:none!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:100%!important;
    border-radius:50%!important;
    background:#f2f4f7!important;
    color:#344054!important;
    font-weight:900!important;
    font-style:normal!important;
    line-height:1!important;
}

.ahly-match-details-365 .ahly-md-photo-fallback.is-visible{
    display:flex!important;
}

.ahly-match-details-365 .ahly-md-pitch-photo .ahly-md-photo-fallback,
.ahly-match-details-365 .ahly-md-player-photo .ahly-md-photo-fallback{
    position:absolute!important;
    inset:0!important;
    z-index:1!important;
}
.ahly-match-details-365 .ahly-md-pitch-photo.has-broken-image img,
.ahly-match-details-365 .ahly-md-player-photo.has-broken-image img{
    display:none!important;
}

.ahly-match-details-365 .ahly-md-pitch-photo.has-broken-image .ahly-md-photo-fallback,
.ahly-match-details-365 .ahly-md-player-photo.has-broken-image .ahly-md-photo-fallback{
    display:flex!important;
}

/* Player full photo stability v3.10.7.185 */
html body .ahly-player-full-page .ahly-player-full-photo{
    display:block!important;
    width:270px!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
}
html body .ahly-player-full-page .ahly-player-full-photo img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:top center!important;
    opacity:1!important;
    visibility:visible!important;
}
html body .ahly-player-full-page .ahly-player-full-photo .ahly-md-photo-fallback{
    display:none!important;
}
@media(max-width:760px){
    html body .ahly-player-full-page .ahly-player-full-photo{
        width:220px!important;
        margin-right:auto!important;
        margin-left:auto!important;
    }
}
@media(max-width:480px){
    html body .ahly-player-full-page .ahly-player-full-photo{
        width:190px!important;
    }
}


/* Definitive lineup pitch clipping v3.10.7.188 */
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitches-pro,
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-card,
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch{
    position:relative!important;
    overflow:hidden!important;
}
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch{
    background:url("https://ahlawya.com/wp-content/uploads/2026/08/ahlawya-playground5.webp") center/100% 100% no-repeat!important;
    background-color:#2f8844!important;
}
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch:before,
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch:after{
    content:none!important;
    display:none!important;
}
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-photo{
    position:relative!important;
    overflow:hidden!important;
    contain:paint!important;
}
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-photo img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:cover!important;
    border-radius:50%!important;
    clip-path:none!important;
}

/* Lineup pitch badges outside clipped photos v3.10.7.189 */
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-player > em{
    position:absolute!important;
    top:-5px!important;
    left:calc(50% - 31px)!important;
    z-index:5!important;
}
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-player > .ahly-md-pitch-icon.goal{
    top:36px!important;
    right:calc(50% - 35px)!important;
    bottom:auto!important;
    z-index:5!important;
}
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-player > .ahly-md-pitch-icon.yellow,
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-player > .ahly-md-pitch-icon.red{
    top:34px!important;
    left:calc(50% - 35px)!important;
    bottom:auto!important;
    z-index:5!important;
}
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-player > .ahly-md-pitch-icon.sub{
    top:2px!important;
    right:calc(50% - 35px)!important;
    z-index:5!important;
}

/* Lineup shirt number badge outside clipped photos v3.10.7.190 */
.ahly-match-details-365 .ahly-md-panel[data-ahly-panel="lineups"] .ahly-md-pitch-player > em{
    position:absolute!important;
    top:-5px!important;
    left:calc(50% - 31px)!important;
    z-index:6!important;
    min-width:20px!important;
    height:20px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    border:2px solid #fff!important;
    border-radius:50%!important;
    background:#101828!important;
    color:#fff!important;
    font-size:10px!important;
    font-style:normal!important;
    font-weight:900!important;
    line-height:1!important;
    box-shadow:0 2px 7px rgba(0,0,0,.22)!important;
}

/* H2H article-safe row alignment */
@media(min-width:769px){
    .ahly-md-h2h-row{
        grid-template-columns:92px minmax(0,1fr) 92px!important;
        gap:10px!important;
        padding:9px 16px!important;
    }
    .ahly-md-h2h-row time{
        justify-self:start!important;
        text-align:left!important;
    }
    .ahly-md-h2h-row div{
        min-width:0!important;
        overflow:hidden!important;
    }
    .ahly-md-h2h-row p{
        grid-template-columns:max-content 58px max-content!important;
        gap:18px!important;
        justify-content:center!important;
        width:100%!important;
    }
    .ahly-md-h2h-row span{
        max-width:160px!important;
    }
    .ahly-md-h2h-row em{
        justify-self:end!important;
        text-align:right!important;
        white-space:nowrap!important;
    }
}

@media(max-width:768px){
    .ahly-md-h2h-row em{
        display:block!important;
        width:max-content!important;
        max-width:100%!important;
        margin:0 auto!important;
        padding:0!important;
        text-align:center!important;
        justify-self:center!important;
    }
}
