/* Full player details page */

@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap');

.ahly-player-full-page{
    max-width:1120px;
    margin:24px auto 40px;
    padding:0 14px;
	font-family: "Noto Kufi Arabic", sans-serif !important;
    color:#111827;
}
.ahly-player-full-hero{
    display:grid;
    grid-template-columns:270px minmax(0,1fr);
    gap:28px;
    align-items:center;
    min-height:230px;
    padding:22px;
    border:1px solid #edf0f5;
    border-radius:16px;
    background:url("https://ahlawya.com/wp-content/uploads/2026/08/any-team-banner.webp") center/cover no-repeat;
    box-shadow:0 18px 44px rgba(15,23,42,.08);
}
.ahly-player-full-hero.is-ahly-player{
    position:relative;
    overflow:hidden;
    background:url("https://ahlawya.com/wp-content/uploads/2026/08/Al-Ahly-FC-banner.webp") center/cover no-repeat;
}
.ahly-player-full-hero.is-ahly-player > *{
    position:relative;
    z-index:1;
}
.ahly-player-full-hero.is-ahly-player .ahly-player-full-photo{
    border-color:#fff;
}
.ahly-player-full-hero.is-ahly-player .ahly-player-full-title h1{
    color:#fff;
}
.ahly-player-full-hero.is-ahly-player .ahly-player-full-title span{
    color:#fff;
    text-shadow:0 2px 8px rgba(0,0,0,.35);
}
.ahly-player-card-365-link{
    color:inherit;
    text-decoration:none;
}
.ahly-player-card-365-link:hover .ahly-player-name-365{
    color:#e51b2b;
}
.ahly-player-full-photo{
    width:270px;
    height:auto;
    border:4px solid #e51b2b;
    border-radius:24px;
    background:#fff;
    overflow:hidden;
    box-shadow:0 16px 32px rgba(229,27,43,.16);
}
.ahly-player-full-photo img{
    width:100%;
    height:auto;
    object-fit:contain;
    display:block;
}
.ahly-player-full-photo .ahly-md-photo-fallback{
    display:none;
}
.ahly-player-full-title h1{
    margin:0 0 8px;
    color:#111827;
    font-size:34px;
    font-weight:900;
    line-height:1.25;
}
.ahly-player-full-title span{
    display:block;
    margin-bottom:12px;
    color:#667085;
    font-size:14px;
    font-weight:800;
}
.ahly-player-full-title p{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0;
}
.ahly-player-hero-facts{
    display:none!important;
    flex-wrap:wrap;
    gap:7px;
    margin-top:12px;
}
.ahly-player-hero-facts span{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.92);
    color:#111827;
    font-size:12px;
    font-weight:900;
}
.ahly-player-age-block{
    width:fit-content;
    max-width:100%;
    margin-top:14px;
}
.ahly-player-age-box{
    padding:7px 9px 8px;
    border:1px solid #edf0f5;
    border-radius:14px;
    background:#fff;
    color:#111;
    text-align:center;
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.ahly-player-age-box h2{
    margin:0 0 7px;
    color:#111;
    font-size:13px;
    font-weight:800;
    line-height:1.25;
}
.ahly-player-age-units{
    display:grid;
    grid-template-columns:repeat(3,43px);
    gap:7px;
    align-items:start;
    justify-content:center;
    direction:ltr;
}
.ahly-player-age-units div{
    display:grid;
    gap:5px;
    justify-items:center;
}
.ahly-player-age-units strong{
    display:flex;
    align-items:center;
    justify-content:center;
    width:43px;
    height:43px;
    border-radius:14px;
    background:#ff1f2d;
    color:#fff;
    font-size:28px;
    font-weight:800;
    line-height:1;
}
.ahly-player-age-units span{
    color:#111;
    font-size:11px;
    font-weight:700;
    line-height:1.2;
}
.ahly-player-age-block p{
    margin:4px 0 0;
    color:#fff;
    text-align:center;
    font-size:11px;
    font-weight:800;
    line-height:1.25;
}
.ahly-player-full-title b{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 12px;
    border:1px solid #edf0f5;
    border-radius:999px;
    background:#fff;
    color:#e51b2b;
    font-size:13px;
    font-weight:900;
}
.ahly-player-profile-card{
    margin-top:14px;
}
.ahly-player-profile-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    padding:14px;
}
.ahly-player-profile-item{
    min-height:126px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:9px;
    padding:14px 12px;
    border:1px solid #edf0f5;
    border-radius:14px;
    background:
        linear-gradient(145deg,rgba(229,27,43,.07),rgba(255,255,255,0) 48%),
        #fbfcff;
    box-shadow:0 10px 22px rgba(15,23,42,.04);
}
.ahly-player-profile-item span{
    color:#111827;
    font-size:12px;
    font-weight:900;
}
.ahly-player-profile-item strong{
    color:#e51b2b;
    font-size:24px;
    font-weight:900;
    line-height:1.15;
    word-break:break-word;
}
.ahly-player-profile-item em{
    min-height:32px;
    color:#667085;
    font-size:10px;
    font-style:normal;
    font-weight:800;
    line-height:1.6;
}
.ahly-player-insight-grid{
    display:grid;
    grid-template-columns:.85fr 1.15fr 1.15fr;
    gap:14px;
    margin-top:14px;
}
.ahly-player-insight-grid .ahly-player-full-card{
    margin-top:0;
}
.ahly-player-compare-card{
    grid-column:span 2;
}
.ahly-player-feature-grid{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
    gap:14px;
    margin-top:14px;
}
.ahly-player-feature-grid .ahly-player-full-card{
    margin-top:0;
}
.ahly-player-recent-table-wrap{
    overflow-x:auto;
}
.ahly-player-recent-table{
    width:100%;
    min-width:760px;
    border-collapse:collapse;
    font-size:12px;
}
.ahly-player-recent-table th,
.ahly-player-recent-table td{
    padding:10px 9px;
    border-bottom:1px solid #edf0f5;
    text-align:center;
    font-weight:900;
    vertical-align:middle;
}
.ahly-player-recent-table th:first-child,
.ahly-player-recent-table td:first-child{
    text-align:right;
}
.ahly-player-recent-table thead th{
    background:#fbfcff;
    color:#667085;
    font-size:11px;
}
.ahly-player-recent-table strong{
    display:block;
    color:#111827;
    font-size:13px;
    line-height:1.35;
}
.ahly-player-recent-table small{
    display:block;
    margin-top:4px;
    color:#667085;
    font-size:11px;
    font-weight:800;
}
.ahly-player-recent-table b{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:50px;
    min-height:28px;
    padding:4px 8px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    direction:ltr;
}
.ahly-player-recent-rating{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    min-height:26px;
    padding:4px 8px;
    border-radius:999px;
    background:#f5b800;
    color:#fff;
    font-size:12px;
    font-weight:900;
    direction:ltr;
}
.ahly-player-trophy-strip{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    padding:14px;
}
.ahly-player-trophy-item{
    position:relative;
    min-height:132px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:14px 10px;
    border:1px solid #edf0f5;
    border-radius:12px;
    background:linear-gradient(180deg,#fff,#fffaf0);
    text-align:center;
}
.ahly-player-trophy-item i{
    width:38px;
    height:38px;
    display:block;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath fill='%23f5b800' d='M21 10h22v8c0 12-5 20-11 20S21 30 21 18v-8Z'/%3E%3Cpath stroke='%23f5b800' stroke-width='5' stroke-linecap='round' d='M21 16H10c0 10 5 16 14 17M43 16h11c0 10-5 16-14 17'/%3E%3Cpath fill='%23f5b800' d='M29 37h6v10h-6zM21 49h22v6H21z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ahly-player-trophy-item strong{
    color:#111827;
    font-size:13px;
    font-weight:900;
    line-height:1.35;
}
.ahly-player-trophy-item span{
    color:#667085;
    font-size:11px;
    font-weight:800;
    line-height:1.45;
}
.ahly-player-trophy-item b{
    position:absolute;
    top:8px;
    left:8px;
    min-width:24px;
    height:24px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#111827;
    color:#fff;
    font-size:11px;
}
.ahly-player-social-list{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
    padding:14px;
}
.ahly-player-social-link{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:92px;
    padding:12px 10px;
    border:1px solid #edf0f5;
    border-radius:14px;
    background:linear-gradient(180deg,#fff,#fbfcff);
    color:#111827!important;
    text-decoration:none!important;
    text-align:center;
    font-size:12px;
    font-weight:900;
    box-shadow:0 10px 22px rgba(15,23,42,.04);
}
.ahly-player-social-link:hover{
    border-color:rgba(229,27,43,.35);
    background:#fff7f8;
    transform:translateY(-1px);
}
.ahly-player-social-link i{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 34px;
    border-radius:50%;
    background:#111827;
    color:#fff;
    font-size:13px;
    font-style:normal;
    font-weight:900;
    line-height:1;
}
.ahly-player-social-link span{
    color:#111827!important;
    line-height:1.25;
}

/*
.ahly-player-social-link.instagram i{background:#c13584}
.ahly-player-social-link.facebook i{background:#1877f2}
.ahly-player-social-link.x i,
.ahly-player-social-link.twitter i{background:#111827}
.ahly-player-social-link.youtube i{background:#ff0000}
.ahly-player-social-link.tiktok i{background:#000}
.ahly-player-social-link.website i{background:#e51b2b}
*/

.ahly-player-social-link i,
.ahly-player-social-link .ahly-player-social-icon{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    min-height:50px!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:red!important;
    color:#ffffff!important;
    font-size:0!important;
    line-height:0!important;
    margin:0 auto 8px!important;
    overflow:hidden!important;
}

.ahly-player-social-link i svg,
.ahly-player-social-link .ahly-player-social-icon svg{
    width:30px!important;
    height:30px!important;
    display:block!important;
    fill:currentColor!important;
    color:#fff!important;
}

.ahly-player-social-link i,
.ahly-player-social-link .ahly-player-social-icon{
    border:1px solid red!important;
    transition:all 0.25s ease!important;
}

.ahly-player-social-link:hover i,
.ahly-player-social-link:hover .ahly-player-social-icon{
    background:#fff!important;
    color:red!important;
    border:2px solid red!important;
}

.ahly-player-social-link:hover i svg,
.ahly-player-social-link:hover .ahly-player-social-icon svg{
    fill:currentColor!important;
    color:red!important;
}

.ahly-player-recent-list{
    display:grid;
    gap:9px;
    padding:14px;
}
.ahly-player-recent-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:10px;
    align-items:center;
    padding:10px 12px;
    border:1px solid #edf0f5;
    border-radius:10px;
    background:#fbfcff;
}
.ahly-player-recent-row strong{
    display:block;
    color:#111827;
    font-size:13px;
    font-weight:900;
}
.ahly-player-recent-row span{
    display:block;
    margin-top:4px;
    color:#667085;
    font-size:11px;
    font-weight:800;
}
.ahly-player-recent-row b{
    min-width:54px;
    padding:5px 8px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    text-align:center;
    font-size:13px;
}
.ahly-player-recent-row small{
    min-width:82px;
    color:#e51b2b;
    font-size:12px;
    font-weight:900;
    text-align:left;
}
.ahly-player-rating-gauge{
    --rating-color:#16a34a;
    width:166px;
    height:166px;
    display:grid;
    place-items:center;
    margin:20px auto 12px;
    border-radius:50%;
    background:
        radial-gradient(circle at center,#fff 0 58%,transparent 59%),
        conic-gradient(var(--rating-color) 0 var(--rating-percent),#eef1f5 var(--rating-percent) 100%);
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.05),0 16px 34px rgba(15,23,42,.08);
}
.ahly-player-rating-gauge.good{--rating-color:#16a34a}
.ahly-player-rating-gauge.mid{--rating-color:#f59e0b}
.ahly-player-rating-gauge.low{--rating-color:#ef4444}
.ahly-player-rating-gauge > div{
    width:112px;
    height:112px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.ahly-player-rating-gauge strong{
    color:#111827;
    font-size:31px;
    font-weight:900;
    line-height:1;
}
.ahly-player-rating-gauge span{
    margin-top:7px;
    color:#667085;
    font-size:12px;
    font-weight:900;
}
.ahly-player-rating-scale{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    padding:0 14px 4px;
}
.ahly-player-rating-scale span{
    padding:6px 5px;
    border-radius:999px;
    background:#f6f7f9;
    color:#667085;
    font-size:10px;
    font-weight:900;
    text-align:center;
}
.ahly-player-rating-scale span:nth-child(1){
    background:#fff0f1;
    color:#dc2626;
}
.ahly-player-rating-scale span:nth-child(2){
    background:#fff7e6;
    color:#b45309;
}
.ahly-player-rating-scale span:nth-child(3){
    background:#e7f7ed;
    color:#15803d;
}
.ahly-player-chart-note{
    margin:0 16px 16px;
    color:#667085;
    font-size:11px;
    font-weight:800;
    line-height:1.7;
    text-align:center;
}
.ahly-player-compare-table{
    width:100%;
    border-collapse:collapse;
    font-size:12px;
}
.ahly-player-compare-table th,
.ahly-player-compare-table td{
    padding:11px 10px;
    border-bottom:1px solid #edf0f5;
    text-align:center;
    font-weight:900;
}
.ahly-player-compare-table th:first-child{
    text-align:right;
}
.ahly-player-compare-table tbody tr:nth-child(even){
    background:#fbfcff;
}
.ahly-player-compare-table tbody tr:hover{
    background:#fff7f8;
}
.ahly-player-delta{
    display:inline-flex;
    min-width:44px;
    justify-content:center;
    padding:4px 8px;
    border-radius:999px;
    background:#f3f4f6;
    color:#667085;
}
.ahly-player-delta.up{
    background:#e7f7ed;
    color:#09843f;
}
.ahly-player-delta.down{
    background:#fff0f1;
    color:#d71920;
}
.ahly-player-full-grid{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
    gap:14px;
    margin-top:14px;
}
.ahly-player-full-card{
    margin-top:14px;
    border:1px solid #edf0f5;
    border-radius:14px;
    background:#fff;
    overflow:hidden;
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.ahly-player-full-card h2{
    margin:0;
    padding:15px 18px;
    border-bottom:1px solid #edf0f5;
    color:#111827;
    font-size:19px;
    font-weight:900;
}
.ahly-player-season-stats-card h2{
    text-align:center;
    font-size:23px;
}
.ahly-player-full-info{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.ahly-player-full-info div{
    min-height:72px;
    padding:14px 16px;
    border-bottom:1px solid #f1f3f6;
    border-left:1px solid #f1f3f6;
}
.ahly-player-full-info span{
    display:block;
    margin-bottom:7px;
    color:#667085;
    font-size:12px;
    font-weight:800;
}
.ahly-player-full-info strong{
    color:#111827;
    font-size:15px;
    font-weight:900;
}
.ahly-player-full-teams{
    display:grid;
    gap:10px;
    padding:14px;
    max-height:520px;
    overflow:auto;
}
.ahly-player-full-teams .ahly-player-team-item{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    align-items:center;
    gap:10px;
    min-height:62px;
    padding:10px;
    border:1px solid #edf0f5;
    border-radius:10px;
    background:#fbfcff;
}
.ahly-player-full-teams .ahly-player-team-item.current{
    border-color:rgba(229,27,43,.24);
    background:linear-gradient(135deg,#fff,#fff7f8);
}
.ahly-player-full-teams .ahly-player-team-item.national{
    background:linear-gradient(135deg,#fff,#f7fbff);
}
.ahly-player-full-teams img{
    width:34px;
    height:34px;
    object-fit:contain;
}
.ahly-player-team-logo-empty{
    width:34px;
    height:34px;
    display:block;
}
.ahly-player-full-teams strong{
    grid-column:2;
    font-size:14px;
    font-weight:900;
}
.ahly-player-full-teams small{
    grid-column:2;
    margin-top:-4px;
    color:#667085;
    font-size:11px;
    font-weight:800;
    line-height:1.4;
}
.ahly-player-full-stats{
    border:0!important;
    border-radius:0!important;
}
.ahly-player-page-empty{
    padding:24px 18px;
    border:1px solid #edf0f5;
    border-radius:14px;
    background:#fff;
    color:#667085;
    font-size:14px;
    font-weight:800;
    text-align:center;
}
.ahly-player-page-empty.small{
    margin:14px;
    padding:18px 14px;
}
.ahly-player-debug{
    margin-top:14px;
    padding:14px;
    border:1px solid #f4c430;
    border-radius:12px;
    background:#fff8db;
    color:#111827;
}
.ahly-player-debug > strong{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    font-weight:900;
}
.ahly-player-debug p{
    margin:0 0 10px;
    color:#475467;
    font-size:12px;
    font-weight:800;
}
.ahly-player-debug pre{
    max-height:520px;
    overflow:auto;
    margin:0;
    padding:12px;
    border:1px solid #efd97d;
    border-radius:8px;
    background:#fff;
    direction:ltr;
    text-align:left;
    white-space:pre-wrap;
    font-size:12px;
    line-height:1.55;
}
@media(max-width:980px){
    .ahly-player-social-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
    .ahly-player-full-hero{grid-template-columns:1fr;text-align:center}
    .ahly-player-full-photo{margin:0 auto;width:220px;height:auto}
    .ahly-player-full-title h1{font-size:26px}
    .ahly-player-full-title p{justify-content:center}
    .ahly-player-hero-facts{justify-content:center}
    .ahly-player-age-block{margin-right:auto;margin-left:auto}
    .ahly-player-age-box{padding:7px 9px 8px}
    .ahly-player-age-box h2{font-size:13px}
    .ahly-player-age-units{grid-template-columns:repeat(3,43px);gap:7px}
    .ahly-player-age-units strong{width:43px;height:43px;font-size:28px}
    .ahly-player-age-units span,
    .ahly-player-age-block p{font-size:11px}
    .ahly-player-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ahly-player-insight-grid{grid-template-columns:1fr}
    .ahly-player-feature-grid{grid-template-columns:1fr}
    .ahly-player-trophy-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ahly-player-social-list{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ahly-player-full-grid{grid-template-columns:1fr}
    .ahly-player-full-info{grid-template-columns:1fr}
    .ahly-player-recent-row{grid-template-columns:1fr auto}
    .ahly-player-recent-row small{grid-column:1 / -1;text-align:right}
    .ahly-player-recent-table{
        min-width:0;
        border-collapse:separate;
        border-spacing:0 10px;
    }
    .ahly-player-recent-table thead{
        display:none;
    }
    .ahly-player-recent-table,
    .ahly-player-recent-table tbody,
    .ahly-player-recent-table tr,
    .ahly-player-recent-table td{
        display:block;
        width:100%;
    }
    .ahly-player-recent-table tr{
        padding:10px;
        border:1px solid #edf0f5;
        border-radius:14px;
        background:#fff;
        box-shadow:0 10px 22px rgba(15,23,42,.04);
    }
    .ahly-player-recent-table td{
        min-height:34px;
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        padding:8px 4px;
        border-bottom:1px solid #f1f3f6;
        text-align:left;
    }
    .ahly-player-recent-table td:first-child{
        display:block;
        text-align:right;
    }
    .ahly-player-recent-table td:first-child:before{
        display:none;
    }
    .ahly-player-recent-table td:last-child{
        border-bottom:0;
    }
    .ahly-player-recent-table td:before{
        content:attr(data-label);
        color:#667085;
        font-size:11px;
        font-weight:900;
    }
    .ahly-player-compare-table thead{
        display:none;
    }
    .ahly-player-compare-table,
    .ahly-player-compare-table tbody,
    .ahly-player-compare-table tr,
    .ahly-player-compare-table td,
    .ahly-player-compare-table th{
        display:block;
        width:100%;
    }
    .ahly-player-compare-table tr{
        padding:10px;
        border-bottom:1px solid #edf0f5;
    }
    .ahly-player-compare-table th{
        padding:0 0 8px;
        border-bottom:0;
        color:#111827;
        font-size:13px;
    }
    .ahly-player-compare-table td{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        padding:7px 0;
        border-bottom:0;
    }
    .ahly-player-compare-table td:before{
        content:attr(data-label);
        color:#667085;
        font-size:11px;
        font-weight:900;
    }
}

.ahly-player-full-page,
.ahly-player-full-page * {
    font-family: "Noto Kufi Arabic", sans-serif !important;
}