/* White performance cards */
.ahly-md-stat-motifs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;
    padding:24px 18px 14px!important;
    background:#fff!important;
}

.ahly-md-stat-donut{
    --p:50;
    min-height:360px!important;
    border:1px solid #e6e9f0!important;
    border-radius:18px!important;
    background:
        radial-gradient(circle at 24px 22px,rgba(229,27,43,.16) 0 2px,transparent 3px),
        linear-gradient(145deg,#fff 0%,#fbfcff 54%,#fff5f6 100%)!important;
    background-size:22px 22px,auto!important;
    box-shadow:0 18px 42px rgba(15,23,42,.10)!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    padding:28px 20px 18px!important;
    position:relative!important;
    overflow:hidden!important;
}

.ahly-md-stat-donut:after{
    content:"";
    position:absolute;
    top:-70px;
    left:-80px;
    width:190px;
    height:190px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(229,27,43,.16),transparent 68%);
    pointer-events:none;
}

.ahly-md-stat-donut i{
    position:relative!important;
    top:auto!important;
    width:72px!important;
    height:72px!important;
    margin:0 auto 26px!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:linear-gradient(145deg,#fff,#f3f6fb)!important;
    border:1px solid #d9dee9!important;
    box-shadow:inset 0 0 0 10px #eef2f8,0 14px 26px rgba(229,27,43,.16)!important;
    color:#e51b2b!important;
    font-size:34px!important;
    font-style:normal!important;
    line-height:1!important;
}

.ahly-md-stat-donut:before{
    content:""!important;
    width:176px!important;
    height:176px!important;
    flex:0 0 176px!important;
    border-radius:50%!important;
    background:conic-gradient(#ff3347 calc(var(--p) * 1%), #e9edf5 0)!important;
    box-shadow:inset 0 0 0 28px #fff,0 12px 30px rgba(229,27,43,.14)!important;
    margin:0 auto!important;
    order:2!important;
}

.ahly-md-stat-donut b{
    position:absolute!important;
    top:166px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    color:#111827!important;
    font-size:46px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:0!important;
    text-shadow:0 2px 0 #fff!important;
    z-index:2!important;
}

.ahly-md-stat-donut span{
    order:3!important;
    margin-top:30px!important;
    color:#111827!important;
    font-size:22px!important;
    font-weight:900!important;
    line-height:1.25!important;
    text-align:center!important;
}

.ahly-md-stat-donut em{
    order:4;
    margin-top:9px;
    color:#697586;
    font-size:13px;
    font-style:normal;
    font-weight:700;
    line-height:1.5;
    text-align:center;
}

.ahly-md-stat-split{
    order:5;
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:auto;
    padding-top:18px;
}

.ahly-md-stat-split strong{
    min-width:0;
    border:1px solid #edf0f5;
    border-radius:12px;
    background:#fff;
    box-shadow:0 8px 20px rgba(15,23,42,.05);
    color:#e51b2b;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    padding:9px 6px;
    font-size:18px;
    font-weight:900;
    line-height:1;
}

.ahly-md-stat-split small{
    max-width:100%;
    color:#667085;
    font-size:10px;
    font-weight:800;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

@media(max-width:900px){
    .ahly-md-stat-motifs{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

@media(max-width:560px){
    .ahly-md-stat-motifs{
        grid-template-columns:1fr!important;
        padding:14px 12px!important;
    }

    .ahly-md-stat-donut{
        min-height:320px!important;
        padding:22px 16px 16px!important;
    }

    .ahly-md-stat-donut:before{
        width:156px!important;
        height:156px!important;
        flex-basis:156px!important;
        box-shadow:inset 0 0 0 25px #fff,0 12px 26px rgba(229,27,43,.12)!important;
    }

    .ahly-md-stat-donut b{
        top:151px!important;
        font-size:40px!important;
    }
}

/* Final match details overrides v3.7.1 */
.ahly-md-timeline-row.goal .ahly-md-event-icon{background:#fff7ed!important;border-color:#fb923c!important;box-shadow:0 0 0 4px rgba(251,146,60,.12)!important}
.ahly-md-timeline-row.own-goal .ahly-md-event-icon{background:#fef2f2!important;border-color:#ef4444!important;box-shadow:0 0 0 4px rgba(239,68,68,.12)!important}
.ahly-md-timeline-row.yellow .ahly-md-event-icon{background:#fffbeb!important;border-color:#f59e0b!important;box-shadow:0 0 0 4px rgba(245,158,11,.14)!important}
.ahly-md-timeline-row.red .ahly-md-event-icon{background:#fef2f2!important;border-color:#dc2626!important;box-shadow:0 0 0 4px rgba(220,38,38,.14)!important}
.ahly-md-timeline-row.var .ahly-md-event-icon{background:#eff6ff!important;border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important}
.ahly-md-timeline-row.injury .ahly-md-event-icon,.ahly-md-timeline-row.missed .ahly-md-event-icon{background:#f8fafc!important;border-color:#64748b!important;box-shadow:0 0 0 4px rgba(100,116,139,.12)!important}

/* White performance cards final override */
.ahly-md-stat-motifs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;padding:24px 18px 14px!important;background:#fff!important}
.ahly-md-stat-donut{--p:50;min-height:360px!important;border:1px solid #e6e9f0!important;border-radius:18px!important;background:radial-gradient(circle at 24px 22px,rgba(229,27,43,.16) 0 2px,transparent 3px),linear-gradient(145deg,#fff 0%,#fbfcff 54%,#fff5f6 100%)!important;background-size:22px 22px,auto!important;box-shadow:0 18px 42px rgba(15,23,42,.10)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;padding:28px 20px 18px!important;position:relative!important;overflow:hidden!important}
.ahly-md-stat-donut:after{content:"";position:absolute;top:-70px;left:-80px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(229,27,43,.16),transparent 68%);pointer-events:none}
.ahly-md-stat-donut i{position:relative!important;top:auto!important;width:72px!important;height:72px!important;margin:0 auto 26px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(145deg,#fff,#f3f6fb)!important;border:1px solid #d9dee9!important;box-shadow:inset 0 0 0 10px #eef2f8,0 14px 26px rgba(229,27,43,.16)!important;color:#e51b2b!important;font-size:34px!important;font-style:normal!important;line-height:1!important}
.ahly-md-stat-donut:before{content:""!important;width:176px!important;height:176px!important;flex:0 0 176px!important;border-radius:50%!important;background:conic-gradient(#ff3347 calc(var(--p) * 1%), #e9edf5 0)!important;box-shadow:inset 0 0 0 28px #fff,0 12px 30px rgba(229,27,43,.14)!important;margin:0 auto!important;order:2!important}
.ahly-md-stat-donut b{position:absolute!important;top:166px!important;left:50%!important;transform:translateX(-50%)!important;color:#111827!important;font-size:46px!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important;text-shadow:0 2px 0 #fff!important;z-index:2!important}
.ahly-md-stat-donut span{order:3!important;margin-top:30px!important;color:#111827!important;font-size:22px!important;font-weight:900!important;line-height:1.25!important;text-align:center!important}
.ahly-md-stat-donut em{order:4;margin-top:9px;color:#697586;font-size:13px;font-style:normal;font-weight:700;line-height:1.5;text-align:center}
.ahly-md-stat-split{order:5;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:18px}
.ahly-md-stat-split strong{min-width:0;border:1px solid #edf0f5;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.05);color:#e51b2b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 6px;font-size:18px;font-weight:900;line-height:1}
.ahly-md-stat-split small{max-width:100%;color:#667085;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.ahly-md-stat-motifs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.ahly-md-stat-motifs{grid-template-columns:1fr!important;padding:14px 12px!important}.ahly-md-stat-donut{min-height:320px!important;padding:22px 16px 16px!important}.ahly-md-stat-donut:before{width:156px!important;height:156px!important;flex-basis:156px!important;box-shadow:inset 0 0 0 25px #fff,0 12px 26px rgba(229,27,43,.12)!important}.ahly-md-stat-donut b{top:151px!important;font-size:40px!important}}

/* White performance cards final override */
.ahly-md-stat-motifs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;padding:24px 18px 14px!important;background:#fff!important}
.ahly-md-stat-donut{--p:50;min-height:360px!important;border:1px solid #e6e9f0!important;border-radius:18px!important;background:radial-gradient(circle at 24px 22px,rgba(229,27,43,.16) 0 2px,transparent 3px),linear-gradient(145deg,#fff 0%,#fbfcff 54%,#fff5f6 100%)!important;background-size:22px 22px,auto!important;box-shadow:0 18px 42px rgba(15,23,42,.10)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;padding:28px 20px 18px!important;position:relative!important;overflow:hidden!important}
.ahly-md-stat-donut:after{content:"";position:absolute;top:-70px;left:-80px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(229,27,43,.16),transparent 68%);pointer-events:none}
.ahly-md-stat-donut i{position:relative!important;top:auto!important;width:72px!important;height:72px!important;margin:0 auto 26px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(145deg,#fff,#f3f6fb)!important;border:1px solid #d9dee9!important;box-shadow:inset 0 0 0 10px #eef2f8,0 14px 26px rgba(229,27,43,.16)!important;color:#e51b2b!important;font-size:34px!important;font-style:normal!important;line-height:1!important}
.ahly-md-stat-donut:before{content:""!important;width:176px!important;height:176px!important;flex:0 0 176px!important;border-radius:50%!important;background:conic-gradient(#ff3347 calc(var(--p) * 1%), #e9edf5 0)!important;box-shadow:inset 0 0 0 28px #fff,0 12px 30px rgba(229,27,43,.14)!important;margin:0 auto!important;order:2!important}
.ahly-md-stat-donut b{position:absolute!important;top:166px!important;left:50%!important;transform:translateX(-50%)!important;color:#111827!important;font-size:46px!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important;text-shadow:0 2px 0 #fff!important;z-index:2!important}
.ahly-md-stat-donut span{order:3!important;margin-top:30px!important;color:#111827!important;font-size:22px!important;font-weight:900!important;line-height:1.25!important;text-align:center!important}
.ahly-md-stat-donut em{order:4;margin-top:9px;color:#697586;font-size:13px;font-style:normal;font-weight:700;line-height:1.5;text-align:center}
.ahly-md-stat-split{order:5;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:18px}
.ahly-md-stat-split strong{min-width:0;border:1px solid #edf0f5;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.05);color:#e51b2b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 6px;font-size:18px;font-weight:900;line-height:1}
.ahly-md-stat-split small{max-width:100%;color:#667085;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.ahly-md-stat-motifs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.ahly-md-stat-motifs{grid-template-columns:1fr!important;padding:14px 12px!important}.ahly-md-stat-donut{min-height:320px!important;padding:22px 16px 16px!important}.ahly-md-stat-donut:before{width:156px!important;height:156px!important;flex-basis:156px!important;box-shadow:inset 0 0 0 25px #fff,0 12px 26px rgba(229,27,43,.12)!important}.ahly-md-stat-donut b{top:151px!important;font-size:40px!important}}

/* Goal image icon v3.9.4 */
html body .ahly-md-event-icon img{
  width:34px!important;
  height:34px!important;
  display:block!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .ahly-md-source-copy{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  margin:3px 6px 0!important;
  padding:4px 7px!important;
  border:1px solid #d7dde8!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#334155!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
}
html body .ahly-md-source-copy:hover{
  border-color:#e51b2b!important;
  color:#e51b2b!important;
}
html body .ahly-md-event-assist{
  display:block!important;
  margin-top:2px!important;
  color:#6b7280!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
html body .ahly-md-sub-player{
  display:block!important;
  margin:2px 0!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
html body .ahly-md-sub-player.out{
  color:#6b7280!important;
}
html body .ahly-md-sub-player i{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  margin-left:5px!important;
  border-radius:50%!important;
  color:#fff!important;
  font-style:normal!important;
  font-size:0!important;
  line-height:1!important;
}
html body .ahly-md-sub-player.in i{background:#16a34a!important}
html body .ahly-md-sub-player.out i{background:#dc2626!important}
html body .ahly-md-sub-player i:before{
  content:""!important;
  display:block!important;
  width:12px!important;
  height:12px!important;
  background:center/contain no-repeat!important;
}
html body .ahly-md-sub-player.in i:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 7 7 17'/%3E%3Cpath d='M7 10v7h7'/%3E%3C/svg%3E")!important;
}
html body .ahly-md-sub-player.out i:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M10 7h7v7'/%3E%3C/svg%3E")!important;
}
html body .ahly-md-away-event .ahly-md-sub-player{
  display:flex!important;
  flex-direction:row-reverse!important;
  align-items:center!important;
  gap:5px!important;
}
html body .ahly-md-away-event .ahly-md-sub-player i{
  margin-left:0!important;
}

/* Final timeline icon cleanup v3.9.1 */
html body .ahly-md-event-icon{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:34px!important;
  line-height:1!important;
}
html body .ahly-md-timeline-row.goal .ahly-md-event-icon,
html body .ahly-md-timeline-row.own-goal .ahly-md-event-icon,
html body .ahly-md-timeline-row.yellow .ahly-md-event-icon,
html body .ahly-md-timeline-row.red .ahly-md-event-icon,
html body .ahly-md-timeline-row.var .ahly-md-event-icon,
html body .ahly-md-timeline-row.injury .ahly-md-event-icon,
html body .ahly-md-timeline-row.missed .ahly-md-event-icon,
html body .ahly-md-timeline-row.substitution .ahly-md-event-icon,
html body .ahly-md-timeline-row.corner .ahly-md-event-icon,
html body .ahly-md-timeline-row.offside .ahly-md-event-icon{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Final timeline icon cleanup v3.9.1 */
.ahly-md-event-icon{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:34px!important;
  line-height:1!important;
}
.ahly-md-timeline-row.goal .ahly-md-event-icon,
.ahly-md-timeline-row.own-goal .ahly-md-event-icon,
.ahly-md-timeline-row.yellow .ahly-md-event-icon,
.ahly-md-timeline-row.red .ahly-md-event-icon,
.ahly-md-timeline-row.var .ahly-md-event-icon,
.ahly-md-timeline-row.injury .ahly-md-event-icon,
.ahly-md-timeline-row.missed .ahly-md-event-icon,
.ahly-md-timeline-row.substitution .ahly-md-event-icon,
.ahly-md-timeline-row.corner .ahly-md-event-icon,
.ahly-md-timeline-row.offside .ahly-md-event-icon{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Final timeline icon cleanup v3.9 */
.ahly-md-event-icon{width:auto!important;height:auto!important;min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:30px!important;line-height:1!important}
.ahly-md-timeline-row.goal .ahly-md-event-icon,.ahly-md-timeline-row.own-goal .ahly-md-event-icon,.ahly-md-timeline-row.yellow .ahly-md-event-icon,.ahly-md-timeline-row.red .ahly-md-event-icon,.ahly-md-timeline-row.var .ahly-md-event-icon,.ahly-md-timeline-row.injury .ahly-md-event-icon,.ahly-md-timeline-row.missed .ahly-md-event-icon,.ahly-md-timeline-row.substitution .ahly-md-event-icon{border:0!important;background:transparent!important;box-shadow:none!important}
.ahly-md-event-minute{margin-top:3px!important;font-size:13px!important}
@media(max-width:768px){.ahly-md-event-icon{font-size:26px!important}}

/* Final timeline icon cleanup v3.9 */
.ahly-md-event-icon{width:auto!important;height:auto!important;min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:30px!important;line-height:1!important}
.ahly-md-timeline-row.goal .ahly-md-event-icon,.ahly-md-timeline-row.own-goal .ahly-md-event-icon,.ahly-md-timeline-row.yellow .ahly-md-event-icon,.ahly-md-timeline-row.red .ahly-md-event-icon,.ahly-md-timeline-row.var .ahly-md-event-icon,.ahly-md-timeline-row.injury .ahly-md-event-icon,.ahly-md-timeline-row.missed .ahly-md-event-icon,.ahly-md-timeline-row.substitution .ahly-md-event-icon{border:0!important;background:transparent!important;box-shadow:none!important}
.ahly-md-event-minute{margin-top:3px!important;font-size:13px!important}
@media(max-width:768px){.ahly-md-event-icon{font-size:26px!important}}

/* Timeline icon cleanup v3.9 */
.ahly-md-event-icon{
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:30px!important;
    line-height:1!important;
}

.ahly-md-timeline-row.goal .ahly-md-event-icon,
.ahly-md-timeline-row.own-goal .ahly-md-event-icon,
.ahly-md-timeline-row.yellow .ahly-md-event-icon,
.ahly-md-timeline-row.red .ahly-md-event-icon,
.ahly-md-timeline-row.var .ahly-md-event-icon,
.ahly-md-timeline-row.injury .ahly-md-event-icon,
.ahly-md-timeline-row.missed .ahly-md-event-icon,
.ahly-md-timeline-row.substitution .ahly-md-event-icon{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

.ahly-md-event-minute{
    margin-top:3px!important;
    font-size:13px!important;
}

@media(max-width:768px){
    .ahly-md-event-icon{font-size:26px!important}
}

/* Match details v3.8 */
.ahly-md-period-separator{
    position:relative;
    z-index:2;
    width:100%;
    max-width:100%;
    margin:14px auto 10px;
    padding:0;
    background:transparent;
    font-size:12px;
    font-weight:900;
    box-shadow:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    overflow:visible;
}
.ahly-md-period-separator:before,
.ahly-md-period-separator:after{
    content:none!important;
    display:none!important;
}
.ahly-md-period-separator span{
    min-height:32px;
    padding:7px 16px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 6px 16px rgba(17,24,39,.14);
}

.ahly-md-lineup-block-pro li{
    min-height:54px!important;
    gap:10px!important;
}

.ahly-md-player-photo{
    width:48px!important;
    height:48px!important;
    flex-basis:48px!important;
    border-width:3px!important;
}

.ahly-md-player-photo b{
    font-size:18px!important;
}

.ahly-md-player-name{
    font-size:14px!important;
}

.ahly-md-lineup-block-pro small{
    padding:4px 8px;
    border-radius:999px;
    background:#f3f4f6;
    color:#475467;
    font-size:11px;
}

.ahly-md-stat-motifs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:16px!important;
    padding:20px 18px 8px!important;
}

.ahly-md-stat-donut{
    min-height:260px!important;
    border-radius:18px!important;
    background:radial-gradient(circle at top,#fff 0,#fff7f7 52%,#fff 100%)!important;
    box-shadow:0 14px 34px rgba(15,23,42,.09);
}

.ahly-md-stat-donut:before{
    width:156px!important;
    height:156px!important;
    box-shadow:inset 0 0 0 26px #fff,0 8px 26px rgba(229,27,43,.12)!important;
}

.ahly-md-stat-donut i{
    top:62px!important;
    font-size:42px!important;
}

.ahly-md-stat-donut b{
    font-size:38px!important;
}

.ahly-md-stat-donut span{
    font-size:16px!important;
}

@media(max-width:768px){
    .ahly-md-stat-motifs{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:10px!important;
    }

    .ahly-md-stat-donut{
        min-height:190px!important;
    }

    .ahly-md-stat-donut:before{
        width:112px!important;
        height:112px!important;
        box-shadow:inset 0 0 0 20px #fff,0 8px 20px rgba(229,27,43,.10)!important;
    }

    .ahly-md-stat-donut i{
        top:47px!important;
        font-size:30px!important;
    }

    .ahly-md-player-photo{
        width:42px!important;
        height:42px!important;
        flex-basis:42px!important;
    }
}

/* Match details refinements v3.7.1 */
.ahly-md-timeline-row.goal .ahly-md-event-icon{
    background:#fff7ed!important;
    border-color:#fb923c!important;
    box-shadow:0 0 0 4px rgba(251,146,60,.12);
}

.ahly-md-timeline-row.own-goal .ahly-md-event-icon{
    background:#fef2f2!important;
    border-color:#ef4444!important;
    box-shadow:0 0 0 4px rgba(239,68,68,.12);
}

.ahly-md-timeline-row.yellow .ahly-md-event-icon{
    background:#fffbeb!important;
    border-color:#f59e0b!important;
    box-shadow:0 0 0 4px rgba(245,158,11,.14);
}

.ahly-md-timeline-row.red .ahly-md-event-icon{
    background:#fef2f2!important;
    border-color:#dc2626!important;
    box-shadow:0 0 0 4px rgba(220,38,38,.14);
}

.ahly-md-timeline-row.var .ahly-md-event-icon{
    background:#eff6ff!important;
    border-color:#3b82f6!important;
    box-shadow:0 0 0 4px rgba(59,130,246,.12);
}

.ahly-md-timeline-row.injury .ahly-md-event-icon,
.ahly-md-timeline-row.missed .ahly-md-event-icon{
    background:#f8fafc!important;
    border-color:#64748b!important;
    box-shadow:0 0 0 4px rgba(100,116,139,.12);
}

.ahly-md-player-photo{
    width:34px;
    height:34px;
    border-radius:50%;
    overflow:hidden;
    flex:0 0 34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#fff,#f3f4f6);
    border:2px solid #fff;
    box-shadow:0 0 0 1px #e5e7eb,0 3px 8px rgba(0,0,0,.08);
}

.ahly-md-player-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.ahly-md-player-photo b{
    color:#e51b2b;
    font-size:14px;
}

.ahly-md-stat-motifs{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    padding:14px 16px 2px;
}

.ahly-md-stat-donut{
    --p:50;
    min-height:122px;
    border:1px solid #eee;
    border-radius:10px;
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    position:relative;
    overflow:hidden;
}

.ahly-md-stat-donut:before{
    content:"";
    width:58px;
    height:58px;
    border-radius:50%;
    background:conic-gradient(#e51b2b calc(var(--p) * 1%), #e5e7eb 0);
    box-shadow:inset 0 0 0 11px #fff;
}

.ahly-md-stat-donut i{
    position:absolute;
    top:24px;
    font-style:normal;
    font-size:20px;
}

.ahly-md-stat-donut b{
    color:#111;
    font-size:18px;
    line-height:1;
}

.ahly-md-stat-donut span{
    color:#667085;
    font-size:12px;
    font-weight:700;
}

.ahly-md-info-grid div{
    position:relative;
}

.ahly-md-info-grid div:before{
    content:"";
    position:absolute;
    right:0;
    top:14px;
    bottom:14px;
    width:3px;
    border-radius:4px;
    background:#e51b2b;
}

@media(max-width:768px){
    .ahly-md-stat-motifs{
        grid-template-columns:repeat(2,minmax(0,1fr));
        padding:12px 12px 0;
    }

    .ahly-md-player-photo{
        width:30px;
        height:30px;
        flex-basis:30px;
    }
}

/* Match details pro layout v3.7 */
.ahly-md-pro{
    background:#f2f2f2!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
	font-family: "Noto Kufi Arabic", sans-serif !important;
}

.ahly-md-pro-hero{
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(90deg,rgba(229,27,43,.10),rgba(255,255,255,.98) 34%,rgba(255,255,255,.98) 66%,rgba(48,117,255,.10)),
        #fff;
    border:1px solid #eee;
    border-radius:8px 8px 0 0;
    padding:22px 20px 20px;
    text-align:center;
}

.ahly-md-competition{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    color:#111827;
    font-size:12px;
    margin-bottom:16px;
}

.ahly-md-competition span{
    background:rgba(255,255,255,.72);
    border:1px solid #ececec;
    border-radius:999px;
    padding:5px 10px;
    color:#111827;
}

.ahly-md-pro-scoreboard{
    display:grid;
    grid-template-columns:minmax(0,1fr) 136px minmax(0,1fr);
    align-items:center;
    gap:18px;
    max-width:760px;
    margin:0 auto;
}

.ahly-md-team-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:0;
}

.ahly-md-team-card img{
    width:78px;
    height:78px;
    object-fit:contain;
}

.ahly-md-team-card strong{
    max-width:100%;
    color:#111;
    font-size:16px;
    line-height:1.35;
    white-space:normal;
}

.ahly-md-pro-score{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}

.ahly-md-pro-score strong{
    min-width:116px;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#121826;
    font-size:36px;
    font-weight:900;
    direction:ltr;
    letter-spacing:0;
}

.ahly-md-pro-score span{
    color:#475467;
    font-size:13px;
}

.ahly-md-pro-venue{
    margin-top:14px;
    color:#667085;
    font-size:13px;
}

.ahly-md-tabs{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0;
    background:#fff;
    border:1px solid #eee;
    border-top:0;
    overflow-x:auto;
}

.ahly-md-tabs button{
    appearance:none;
    border:0;
    border-bottom:2px solid transparent;
    background:#fff;
    color:#475467;
    cursor:pointer;
    min-width:116px;
    padding:13px 16px 11px;
    font-weight:700;
    font-size:13px;
    font-family: "Noto Kufi Arabic", sans-serif !important;
    white-space:nowrap;
}

.ahly-md-tabs button:hover,
.ahly-md-tabs button.is-active{
    color:#e51b2b;
    border-bottom-color:#e51b2b;
}

.ahly-md-panel{
    display:none;
}

.ahly-md-panel.is-active{
    display:block;
}

.ahly-md-card{
    background:#fff;
    border:1px solid #eee;
    margin-top:10px;
}

.ahly-md-card > h3{
    margin:0;
    padding:14px 16px;
    border-bottom:1px solid #eee;
    color:#111;
    font-size:15px;
    font-weight:800;
    text-align:right;
}

.ahly-md-empty.inner{
    border:0;
    border-radius:0;
    padding:22px 16px;
    text-align:center;
}

.ahly-md-motm-widget{
    position:relative;
    margin-top:10px;
    padding:30px 26px 26px;
    background:
        radial-gradient(circle at 28% 30%,rgba(201,150,72,.12) 0 2px,transparent 3px),
        linear-gradient(135deg,#ffffff 0%,#fbfbfc 54%,#f7f8fb 100%);
    background-size:22px 22px,auto;
    border:1px solid #e4e7ec;
    border-radius:18px;
    box-shadow:0 18px 42px rgba(15,23,42,.10);
    overflow:hidden;
    text-align:center;
}
.ahly-md-motm-widget:before{
    content:"MOM";
    position:absolute;
    left:34px;
    top:92px;
    color:rgba(15,23,42,.035);
    font-size:96px;
    font-weight:900;
    line-height:1;
    pointer-events:none;
}
.ahly-md-motm-head{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin:0 auto 24px;
}
.ahly-md-motm-head:before,
.ahly-md-motm-head:after{
    content:"";
    width:76px;
    height:2px;
    background:linear-gradient(90deg,transparent,#c99648,transparent);
}
.ahly-md-motm-head span{
    min-height:42px;
    padding:0 24px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:20px;
    font-weight:900;
    box-shadow:0 12px 26px rgba(15,23,42,.25);
}
.ahly-md-motm-head span i{
    color:#d6a85c;
    font-style:normal;
}
.ahly-md-motm-head strong{
	display:none!important;
    position:absolute;
    top:22px;
    left:22px;
    min-width:54px;
    height:34px;
    padding:0 12px;
    border-radius:999px;
    background:#d6a85c;
    color:#111827;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    font-weight:900;
    box-shadow:0 10px 22px rgba(201,150,72,.24);
}
.ahly-md-motm-match-label{
    margin:-14px 0 16px!important;
    color:#667085!important;
    font-size:13px!important;
    font-weight:800!important;
    text-align:center!important;
    line-height:1.4!important;
    font-family: "Noto Kufi Arabic", sans-serif !important;
}
.ahly-md-motm-rating{
    height:34px!important;
    min-width:62px!important;
    width:max-content!important;
    padding:0 13px!important;
    margin:-18px auto 8px!important;
    border-radius:999px!important;
    background:#d6a85c!important;
    color:#111827!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:15px!important;
    font-weight:900!important;
    line-height:1!important;
    box-shadow:0 10px 22px rgba(201,150,72,.24)!important;
    position:relative!important;
    z-index:5!important;
    opacity:1!important;
    visibility:visible!important;
    font-family: "Noto Kufi Arabic", sans-serif !important;
}
.ahly-md-motm-body{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    padding:0;
    z-index:1;
}
.ahly-md-motm-photo{
    width:178px;
    height:178px;
    border-radius:50%;
    overflow:hidden;
    flex:0 0 178px;
    background:#f2f4f7;
    border:5px solid #fff;
    outline:2px solid rgba(201,150,72,.52);
    box-shadow:0 20px 42px rgba(15,23,42,.16);
}
.ahly-md-motm-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.ahly-md-motm-info{
    min-width:0;
    width:100%;
}
.ahly-md-motm-info h4{
    margin:2px 0 10px;
    color:#111827;
    font-size:42px;
    font-weight:900;
    line-height:1.25;
}
.ahly-md-motm-info p{
    margin:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}
.ahly-md-motm-widget .ahly-md-motm-info>img,
.ahly-md-motm-widget .ahly-md-motm-info p img{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    object-fit:contain!important;
    flex:0 0 34px!important;
}
.ahly-md-motm-line{
    width:62px;
    height:2px;
    background:linear-gradient(90deg,transparent,#c99648,transparent);
}
.ahly-md-motm-team{
    color:#667085;
    font-size:18px;
    font-weight:800;
    flex-wrap:wrap;
}
.ahly-md-motm-team small{
    color:#98a2b3;
    font-size:14px;
    font-weight:800;
}
.ahly-md-motm-metrics{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-top:24px;
}
.ahly-md-motm-metrics span{
    min-width:0;
    min-height:112px;
    padding:16px 12px 14px;
    text-align:center;
    border:1px solid #e4e7ec;
    border-radius:14px;
    background:rgba(255,255,255,.82);
    box-shadow:0 12px 24px rgba(15,23,42,.06);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.ahly-md-motm-metrics i{
    color:#c99648;
    font-size:24px;
    font-style:normal;
    line-height:1;
    margin-bottom:9px;
}
.ahly-md-motm-metrics b{
    display:block;
    color:#111827;
    font-size:36px;
    font-weight:900;
    line-height:1;
}
.ahly-md-motm-metrics small{
    display:block;
    margin-top:7px;
    color:#667085;
    font-size:15px;
    font-weight:800;
    line-height:1.25;
    white-space:nowrap;
}
@media(max-width:768px){
    .ahly-md-motm-widget{
        padding:24px 16px 18px;
        border-radius:14px;
    }
    .ahly-md-motm-widget:before{
        display:none;
    }
    .ahly-md-motm-head{
        margin-bottom:18px;
    }
    .ahly-md-motm-head:before,
    .ahly-md-motm-head:after{
        width:34px;
    }
    .ahly-md-motm-head span{
        min-height:38px;
        padding:0 18px;
        font-size:18px;
    }
    .ahly-md-motm-head strong{
        top:14px;
        left:14px;
    }
    .ahly-md-motm-photo{
        width:132px;
        height:132px;
        flex-basis:132px;
    }
    .ahly-md-motm-info h4{
        font-size:30px;
        margin-top:0;
    }
    .ahly-md-motm-team{
        font-size:15px;
    }
    .ahly-md-motm-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        margin-top:18px;
    }
    .ahly-md-motm-metrics span{
        min-height:92px;
        padding:12px 8px;
    }
    .ahly-md-motm-metrics b{
        font-size:28px;
    }
    .ahly-md-motm-metrics small{
        font-size:13px;
    }
}

.ahly-md-ahly-stars-widget{
    margin:0!important;
    padding:18px!important;
    background:radial-gradient(circle at 28% 30%,rgba(201,150,72,.12) 0 2px,transparent 3px),linear-gradient(135deg,#fff 0%,#fbfbfc 54%,#f7f8fb 100%)!important;
    background-size:22px 22px,auto!important;
    border:1px solid #e4e7ec!important;
    border-radius:14px!important;
    box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
    direction:rtl!important;
    font-family: "Noto Kufi Arabic", sans-serif !important;
}
.ahly-md-ahly-stars-widget>h3{
    margin:0 0 14px!important;
    padding:0!important;
    color:red!important;
    font-size:17px!important;
    font-weight:700!important;
    text-align:center!important;
    line-height:1.35!important;
    font-family: "Noto Kufi Arabic", sans-serif !important;
}
.ahly-md-ahly-stars-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
}
.ahly-md-ahly-star-card{
    min-width:0!important;
    padding:16px 12px!important;
    border:1px solid #e4e7ec!important;
    border-radius:12px!important;
    background:linear-gradient(145deg,#fff,#fbfcff)!important;
    text-align:center!important;
    box-shadow:0 10px 22px rgba(15,23,42,.04)!important;
    font-family: "Noto Kufi Arabic", sans-serif !important;
}
.ahly-md-ahly-star-label{
    display:block!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    min-height:24px!important;
    padding:0 2px!important;
    margin:0 0 12px!important;
    color:#111827!important;
    font-size:12px!important;
    font-weight:900!important;
    line-height:1.3!important;
    text-align:center!important;
    white-space:nowrap!important;
    font-family: "Noto Kufi Arabic", sans-serif !important;
}
.ahly-md-ahly-star-label:before,
.ahly-md-ahly-star-label:after{
    content:none!important;
}
.ahly-md-ahly-star-label i{
    color:#c99648!important;
    font-style:normal!important;
}
.ahly-md-ahly-star-photo{
    width:82px!important;
    height:82px!important;
    margin:0 auto!important;
    border-radius:50%!important;
    overflow:hidden!important;
    background:#f2f4f7!important;
    border:3px solid #fff!important;
    outline:1px solid rgba(201,150,72,.55)!important;
    box-shadow:0 10px 22px rgba(15,23,42,.12)!important;
}
.ahly-md-ahly-star-photo img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    display:block!important;
}
.ahly-md-ahly-star-rating{
    height:26px!important;
    min-width:48px!important;
    width:max-content!important;
    padding:0 10px!important;
    margin:-13px auto 8px!important;
    border-radius:999px!important;
    background:#d6a85c!important;
    color:#111827!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:12px!important;
    font-weight:900!important;
    box-shadow:0 8px 18px rgba(201,150,72,.22)!important;
    position:relative!important;
    z-index:2!important;
}
.ahly-md-ahly-star-card h4{
    display:block!important;
    min-height:28px!important;
    margin:0 0 7px!important;
    color:#111827!important;
    font-size:18px!important;
    font-weight:900!important;
    line-height:1.35!important;
    font-family: "Noto Kufi Arabic", sans-serif !important;
    position:relative!important;
    z-index:3!important;
}
.ahly-md-ahly-star-meta{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    margin:0 0 12px!important;
    color:#667085!important;
    font-size:12px!important;
    font-weight:800!important;
}
.ahly-md-ahly-star-meta img{
    width:20px!important;
    height:20px!important;
    object-fit:contain!important;
}
.ahly-md-ahly-star-metrics{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
}
.ahly-md-ahly-star-metrics span{
    min-width:0!important;
    min-height:62px!important;
    padding:8px 5px!important;
    border:1px solid #edf0f5!important;
    border-radius:9px!important;
    background:#fff!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
}
.ahly-md-ahly-star-metrics b{
    color:#111827!important;
    font-size:18px!important;
    font-weight:900!important;
    line-height:1!important;
}
.ahly-md-ahly-star-metrics small{
    margin-top:5px!important;
    color:#667085!important;
    font-size:10px!important;
    font-weight:800!important;
    line-height:1.2!important;
    white-space:nowrap!important;
}
@media(max-width:768px){
    .ahly-md-ahly-stars-widget{padding:14px!important}
    .ahly-md-ahly-stars-grid{grid-template-columns:1fr!important;gap:10px!important}
    .ahly-md-ahly-star-card{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
    .ahly-md-ahly-star-label{width:100%!important;margin-bottom:10px!important}
    .ahly-md-ahly-star-photo{width:82px!important;height:82px!important;margin:0 auto!important}
    .ahly-md-ahly-star-rating{margin:0 auto 8px!important;transform:translateY(-1px)!important}
    .ahly-md-ahly-star-card h4{margin:0 0 7px!important;text-align:center!important}
    .ahly-md-ahly-star-meta{justify-content:center!important;margin-bottom:12px!important;text-align:center!important}
    .ahly-md-ahly-star-metrics{width:100%!important;margin-top:0!important}
}

.ahly-md-timeline{
    position:relative;
    padding:10px 0;
}

.ahly-md-timeline:before{
    content:none;
    display:none;
}

.ahly-md-timeline-row{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);
    align-items:center;
    min-height:48px;
    padding:4px 16px;
}

.ahly-md-event-side{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
}

.ahly-md-home-event{
    align-items:flex-end;
    text-align:right;
    padding-left:12px;
}

.ahly-md-away-event{
    align-items:flex-start;
    text-align:left;
    padding-right:12px;
}

.ahly-md-event-title{
    color:#111;
    font-size:13px;
    font-weight:800;
    line-height:1.35;
}

.ahly-md-event-label{
    color:#667085;
    font-size:13px;
    font-weight:400;
}

.ahly-md-event-center{
    position:relative;
    z-index:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:2px;
}

.ahly-md-event-icon{
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fff;
    border:1px solid #d9d9d9;
    color:#111;
    font-size:13px;
    line-height:1;
}

.ahly-md-timeline-row.goal .ahly-md-event-icon,
.ahly-md-timeline-row.own-goal .ahly-md-event-icon{
    border-color:#111;
}

.ahly-md-timeline-row.yellow .ahly-md-event-icon{
    color:#f4b400;
    border-color:#f4b400;
}

.ahly-md-timeline-row.red .ahly-md-event-icon{
    color:#d92d20;
    border-color:#d92d20;
}

.ahly-md-timeline-row.substitution .ahly-md-event-icon{
    color:#16a34a;
    border-color:#bbf7d0;
    background:#f0fdf4;
}

.ahly-md-event-minute{
    color:#111;
    font-size:11px;
    font-weight:800;
    direction:ltr;
}

.ahly-md-stats-list{
    padding:12px 16px;
}

.ahly-md-stat-row{
    display:grid;
    grid-template-columns:64px minmax(0,1fr) 64px;
    align-items:center;
    gap:12px;
    min-height:50px;
    border-bottom:1px solid #f0f0f0;
}

.ahly-md-stat-row:last-child{
    border-bottom:0;
}

.ahly-md-stat-value{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
}

.ahly-md-stat-value.home{
    color:#fff;
    background:#e51b2b;
}

.ahly-md-stat-value.away{
    color:#fff;
    background:#344054;
}

.ahly-md-stat-main strong{
    display:block;
    color:#111;
    font-size:13px;
    text-align:center;
    margin-bottom:8px;
}

.ahly-md-stat-bars{
    display:flex;
    height:8px;
    gap:3px;
    direction:ltr;
}

.ahly-md-stat-bars i{
    display:block;
    height:8px;
}

.ahly-md-stat-bars .home{
    margin-left:auto;
    background:#e51b2b;
    border-radius:8px 0 0 8px;
}

.ahly-md-stat-bars .away{
    background:#344054;
    border-radius:0 8px 8px 0;
}

.ahly-md-pitches-pro{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    padding:12px 12px 0;
    align-items:stretch;
}

.ahly-md-pitch-card{
    display:flex;
    flex-direction:column;
    border:1px solid #e6e9ee;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
}

.ahly-md-pitch-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    border-bottom:1px solid #edf0f3;
    background:#fbfbfb;
}

.ahly-md-pitch-head strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#111;
    font-size:14px;
    font-weight:900;
}

.ahly-md-pitch-head span,
.ahly-md-formation-badge{
    direction:ltr;
    unicode-bidi:embed;
    border-radius:999px;
    background:#102718;
    color:#fff;
    font-size:12px;
    font-weight:900;
    line-height:1;
    padding:6px 10px;
    white-space:nowrap;
}

.ahly-md-pitch{
    position:relative;
    height:430px;
    min-height:430px;
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:16px;
    padding:44px 14px 24px;
    overflow:hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.08) 0 12.5%, transparent 12.5% 25%, rgba(255,255,255,.08) 25% 37.5%, transparent 37.5% 50%, rgba(255,255,255,.08) 50% 62.5%, transparent 62.5% 75%, rgba(255,255,255,.08) 75% 87.5%, transparent 87.5%),
        linear-gradient(180deg, #246f36 0%, #2f8844 52%, #247237 100%);
}

.ahly-md-pitch:before,
.ahly-md-pitch:after{
    content:"";
    position:absolute;
    inset:24px 18px;
    pointer-events:none;
    border:2px solid rgba(255,255,255,.35);
}

.ahly-md-pitch:after{
    inset:50% 18px auto;
    height:0;
    border-width:1px 0 0;
}

.ahly-md-pitch-row{
    position:relative;
    z-index:2;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px 14px;
}

.ahly-md-pitch-row-gk{
    min-height:74px;
    align-items:center;
}

.ahly-md-pitch-row-gk .ahly-md-pitch-player{
    transform:translateY(-2px);
}

.ahly-md-pitch-player{
    position:relative;
    width:72px;
    text-align:center;
    color:#fff;
    cursor:pointer;
}

.ahly-md-pitch-photo{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    margin:0 auto;
    border:3px solid #e51b2b;
    border-radius:50%;
    background:#fff;
    color:#111;
    box-shadow:0 4px 14px rgba(0,0,0,.24);
    overflow:hidden;
}

.ahly-md-pitch-photo img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
}

.ahly-md-pitch-photo b{
    font-size:22px;
    font-weight:900;
}

.ahly-md-pitch-photo em{
    position:absolute;
    top:-5px;
    left:-4px;
    min-width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid #fff;
    border-radius:50%;
    background:#101828;
    color:#fff;
    font-size:10px;
    font-style:normal;
    font-weight:900;
}

.ahly-md-captain-badge{
    position:absolute;
    right:-6px;
    top:-6px;
    z-index:4;
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid #fff;
    border-radius:50%;
    background:#f59e0b;
    color:#111827;
    font-size:10px;
    font-weight:900;
    line-height:1;
    box-shadow:0 2px 7px rgba(0,0,0,.22);
}

.ahly-md-captain-inline,
.ahly-player-captain-inline-365{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:17px;
    height:17px;
    margin-right:5px;
    border-radius:50%;
    background:#f59e0b;
    color:#111827;
    font-size:10px;
    font-weight:900;
    vertical-align:middle;
}

.ahly-md-pitch-icon{
    position:absolute;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border:2px solid #fff;
    border-radius:50%;
    box-shadow:0 2px 6px rgba(0,0,0,.25);
}

.ahly-md-pitch-icon:after{
    content:attr(data-tip);
    position:absolute;
    right:50%;
    bottom:calc(100% + 7px);
    transform:translateX(50%);
    display:none;
    min-width:max-content;
    max-width:150px;
    padding:5px 8px;
    border-radius:6px;
    background:#111827;
    color:#fff;
    font-size:10px;
    font-weight:800;
    line-height:1.3;
    white-space:nowrap;
    box-shadow:0 4px 12px rgba(0,0,0,.22);
}

.ahly-md-pitch-icon:hover:after{
    display:block;
}

.ahly-md-pitch-icon.goal{
    right:-8px;
    bottom:0;
    background:#fff;
}

.ahly-md-pitch-icon.goal img{
    width:16px;
    height:16px;
    object-fit:contain;
}

.ahly-md-pitch-icon.goal small{
    position:absolute;
    right:-6px;
    top:-8px;
    min-width:16px;
    height:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid #fff;
    border-radius:50%;
    background:#e51b2b;
    color:#fff;
    font-size:9px;
    font-weight:900;
    line-height:1;
}

.ahly-md-pitch-icon.yellow,
.ahly-md-pitch-icon.red{
    left:-8px;
    bottom:2px;
    width:12px;
    height:18px;
    border-radius:3px;
}

.ahly-md-pitch-icon.yellow{
    background:#ffc22d;
}

.ahly-md-pitch-icon.red{
    background:#e51b2b;
}

.ahly-md-pitch-icon.sub{
    right:-8px;
    top:2px;
    background:#fff;
    color:#22c55e;
    font-size:13px;
    font-style:normal;
    font-weight:900;
}

.ahly-md-pitch-name{
    display:block;
    margin-top:6px;
    overflow:hidden;
    text-overflow:ellipsis;
    color:#fff;
    font-size:11px;
    font-weight:900;
    line-height:1.35;
    text-shadow:0 1px 3px rgba(0,0,0,.65);
}

.ahly-md-pitch-rating{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:28px;
    height:17px;
    margin-top:3px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:10px;
    font-weight:900;
    line-height:1;
    box-shadow:0 2px 6px rgba(0,0,0,.18);
}

.ahly-md-pitch-rating.high{
    background:#16a34a;
}

.ahly-md-pitch-rating.ok{
    background:#f59e0b;
}

.ahly-md-pitch-rating.low{
    background:#ef4444;
}

.ahly-md-formation-badge{
    position:absolute;
    z-index:3;
    right:12px;
    bottom:10px;
    background:rgba(0,0,0,.42);
}

.ahly-md-pitch-logo{
    position:absolute;
    z-index:3;
    left:12px;
    bottom:8px;
    width:92px;
    max-height:38px;
    object-fit:contain;
    filter:brightness(0) invert(1);
    opacity:.68;
    pointer-events:none;
}

.ahly-md-pitch-subbed{
    border-top:1px solid #edf0f3;
    background:#fff;
    padding:10px 12px 12px;
}

.ahly-md-pitch-subbed > strong{
    display:block;
    margin-bottom:8px;
    color:#111827;
    font-size:12px;
    font-weight:900;
}

.ahly-md-pitch-subbed > div{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.ahly-md-pitch-subbed .ahly-md-pitch-player{
    width:58px;
    color:#111;
}

.ahly-md-pitch-subbed .ahly-md-pitch-photo{
    width:42px;
    height:42px;
}

.ahly-md-pitch-subbed .ahly-md-pitch-name{
    color:#111;
    font-size:10px;
    text-shadow:none;
}

.ahly-md-pitch-subbed .ahly-md-pitch-rating{
    height:15px;
    min-width:25px;
    font-size:9px;
}

.ahly-md-lineups-pro{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    padding:12px;
}

.ahly-md-lineup-team-pro{
    border:1px solid #eee;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
}

.ahly-md-lineup-team-pro > h3{
    margin:0;
    padding:12px;
    background:#fbfbfb;
    border-bottom:1px solid #eee;
    font-size:15px;
    text-align:center;
}

.ahly-md-lineup-block-pro{
    padding:12px;
    border-bottom:1px solid #f2f2f2;
}

.ahly-md-lineup-block-pro:last-child{
    border-bottom:0;
}

.ahly-md-lineup-block-pro h4{
    margin:0 0 10px;
    color:#e51b2b;
    font-size:13px;
}

.ahly-md-lineup-group-title{
    margin:12px 0 6px;
    padding:6px 10px;
    border-radius:6px;
    background:#f3f4f6;
    color:#111827;
    font-size:12px;
    font-weight:900;
}

.ahly-md-lineup-block-pro h4 + .ahly-md-lineup-group-title{
    margin-top:0;
}

.ahly-md-lineup-block-pro ul{
    margin:0;
    padding:0;
    list-style:none;
}

.ahly-md-lineup-block-pro li{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    border-bottom:1px solid #f5f5f5;
    color:#111;
    font-size:13px;
}

.ahly-md-lineup-player-open{
    cursor:pointer;
}

.ahly-md-lineup-player-open:hover .ahly-md-player-name,
.ahly-md-pitch-player:hover .ahly-md-pitch-name{
    text-decoration:underline;
}

.ahly-md-lineup-block-pro li:last-child{
    border-bottom:0;
}

.ahly-md-player-name{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-weight:700;
}

.ahly-md-muted{
    color:#98a2b3;
    font-size:13px;
}

.ahly-player-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
}

.ahly-player-modal.is-open{
    display:flex;
}

.ahly-player-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.55);
}

.ahly-player-modal-dialog{
    position:relative;
    z-index:2;
    width:min(430px,100%);
    max-height:min(680px,90vh);
    overflow:auto;
    border-radius:10px;
    background:#fff;
    box-shadow:0 22px 60px rgba(0,0,0,.28);
	font-family: "Noto Kufi Arabic", sans-serif !important;
}

.ahly-player-modal-close{
    position:absolute;
    top:8px;
    left:8px;
    width:30px;
    height:30px;
    border:0;
    border-radius:50%;
    background:#f3f4f6;
    color:#111;
    font-size:20px;
    line-height:1;
    cursor:pointer;
}

.ahly-player-modal-head{
    display:flex;
    align-items:center;
    gap:12px;
    padding:20px 18px 16px;
    border-bottom:1px solid #eee;
}

.ahly-player-modal-photo{
    display:flex;
    align-items:center;
    justify-content:center;
    width:62px;
    height:62px;
    border:3px solid #e51b2b;
    border-radius:50%;
    background:#fff;
    overflow:hidden;
    flex:0 0 auto;
}

.ahly-player-modal-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.ahly-player-modal-photo b{
    color:#111;
    font-size:24px;
    font-weight:900;
}

.ahly-player-modal-name{
    display:block;
    color:#111;
    font-size:15px;
    font-weight:900;
}

.ahly-player-modal-meta{
    display:block;
    margin-top:4px;
    color:#667085;
    font-size:12px;
}

.ahly-player-modal-rating{
    margin-right:auto;
    min-width:34px;
    height:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:12px;
    font-weight:900;
}
.ahly-player-modal-rating.high{background:#16a34a}
.ahly-player-modal-rating.ok{background:#f59e0b}
.ahly-player-modal-rating.low{background:#ef4444}

.ahly-player-modal-events{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1px;
    background:#eee;
    border-bottom:1px solid #eee;
}

.ahly-player-modal-events span{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:58px;
    background:#fff;
    color:#667085;
    font-size:11px;
}

.ahly-player-modal-events b{
    color:#111;
    font-size:16px;
}

.ahly-player-modal-section-title{
    padding:12px 16px;
    border-bottom:1px solid #eee;
    color:#111;
    font-size:13px;
    font-weight:900;
}

.ahly-player-modal-stats div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:11px 16px;
    border-bottom:1px solid #f1f1f1;
    font-size:12px;
}

.ahly-player-modal-stats span{
    color:#111;
}

.ahly-player-modal-stats strong{
    color:#0f172a;
    font-weight:800;
    direction:ltr;
    unicode-bidi:embed;
}

.ahly-player-modal-empty{
    padding:16px;
    color:#667085;
    font-size:13px;
}

.ahly-md-info-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    background:#eee;
}

.ahly-md-info-grid div{
    background:#fff;
    padding:14px 16px;
}

.ahly-md-info-grid span{
    display:block;
    color:#667085;
    font-size:12px;
    margin-bottom:5px;
}

.ahly-md-info-grid strong{
    color:#111;
    font-size:14px;
}

.ahly-md-officials-card{
    margin:14px 16px 16px;
    border:1px solid #eceff3;
    border-radius:10px;
    background:#fff;
    overflow:hidden;
}

.ahly-md-officials-title{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border-bottom:1px solid #f0f2f5;
    color:#101828;
}

.ahly-md-officials-title i{
    position:relative;
    width:46px;
    height:46px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff1f2;
    color:#e51b2b;
    font-style:normal;
    font-size:0;
    flex:0 0 46px;
    border:1px solid rgba(229,27,43,.16);
    box-shadow:0 8px 18px rgba(229,27,43,.12);
}

.ahly-md-officials-title i:before{
    content:"";
    width:34px;
    height:34px;
    background:url("https://ahlawya.com/wp-content/uploads/2026/08/whistle.png") center/contain no-repeat;
}

.ahly-md-officials-title i:after{
    content:"";
    display:none;
}

.ahly-md-officials-title strong{
    font-size:14px;
    font-weight:800;
}

.ahly-md-officials-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    background:#eef0f3;
}

.ahly-md-official-item{
    background:#fff;
    padding:12px 14px;
    min-height:62px;
}

.ahly-md-official-item span{
    display:block;
    color:#667085;
    font-size:12px;
    margin-bottom:5px;
}

.ahly-md-official-item strong{
    color:#111827;
    font-size:14px;
    font-weight:800;
}

@media(max-width:768px){
    .ahly-md-pro-hero{
        padding:18px 12px;
    }

    .ahly-md-pro-scoreboard{
        grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);
        gap:8px;
    }

    .ahly-md-team-card img{
        width:58px;
        height:58px;
    }

    .ahly-md-team-card strong{
        font-size:13px;
    }

    .ahly-md-officials-list{
        grid-template-columns:1fr;
    }

    .ahly-md-pro-score strong{
        min-width:88px;
        min-height:44px;
        font-size:27px;
    }

    .ahly-md-tabs{
        justify-content:flex-start;
    }

    .ahly-md-tabs button{
        min-width:105px;
        padding:12px 12px 10px;
        font-size:12px;
    }

    .ahly-md-timeline-row{
        grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);
        padding:5px 8px;
    }

    .ahly-md-event-title{
        font-size:12px;
    }

    .ahly-md-event-label{
        font-size:12px;
    }

    .ahly-md-stat-row{
        grid-template-columns:48px minmax(0,1fr) 48px;
        gap:8px;
    }

    .ahly-md-pitches-pro,
    .ahly-md-lineups-pro,
    .ahly-md-info-grid{
        grid-template-columns:1fr;
    }

    .ahly-md-pitch{
        height:400px;
        min-height:400px;
        padding:40px 10px 24px;
    }

    .ahly-md-pitch-row{
        gap:10px 8px;
    }

    .ahly-md-pitch-player{
        width:62px;
    }

    .ahly-md-pitch-photo{
        width:46px;
        height:46px;
    }

    .ahly-md-pitch-name{
        font-size:10px;
    }

    .ahly-md-pitch-logo{
        width:72px;
        max-height:30px;
    }
}

/* match-details.php */
.ahly-match-details-365{
    background:#fff;
    color:#111;
    border:1px solid #e8e8e8;
    border-radius:8px;
    overflow:hidden;
	font-family: "Noto Kufi Arabic", sans-serif !important;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
}

.ahly-md-header{
    background:#fff;
    border-bottom:1px solid #eee;
    padding:16px;
}

.ahly-md-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
    color:#666;
    font-size:12px;
}

.ahly-md-meta span{
    background:#f7f7f7;
    border:1px solid #eee;
    border-radius:16px;
    padding:5px 10px;
}

.ahly-md-scoreboard{
    display:grid;
    grid-template-columns:1fr 92px 1fr;
    align-items:center;
    gap:14px;
}

.ahly-md-score{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    border-radius:22px;
    background:#e51b2b;
    color:#fff;
    font-size:18px;
    font-weight:800;
    direction:ltr;
}

.ahly-md-venue{
    margin-top:12px;
    color:#777;
    font-size:13px;
    text-align:center;
}

.ahly-md-section{
    border-bottom:1px solid #eee;
    background:#fff;
}

.ahly-md-section:last-child{
    border-bottom:0;
}

.ahly-md-section > h3{
    margin:0;
    padding:13px 16px;
    background:#f7f7f7;
    border-bottom:1px solid #e9e9e9;
    font-size:17px;
    font-weight:800;
}

.ahly-md-empty{
    padding:16px;
    color:#777;
    background:#fff;
    border:1px solid #eee;
    border-radius:8px;
	font-family: "Noto Kufi Arabic", sans-serif !important;
}

.ahly-md-debug{
    margin:12px 0 0;
    padding:12px;
    border:1px solid #ffe08a;
    border-radius:8px;
    background:#fff8dd;
    color:#111;
    direction:ltr;
    text-align:left;
    font-size:13px;
	font-family: "Noto Kufi Arabic", sans-serif !important;
}

.ahly-md-debug p{
    margin:6px 0;
}

.ahly-md-debug pre{
    max-height:240px;
    overflow:auto;
    background:#fff;
    border:1px solid #eee;
    padding:8px;
}

.ahly-md-events{
    padding:12px 16px;
}

.ahly-md-event{
    display:grid;
    grid-template-columns:54px 108px 1fr;
    align-items:center;
    gap:10px;
    min-height:42px;
    border-bottom:1px solid #f0f0f0;
    font-size:13px;
}

.ahly-md-event:last-child{
    border-bottom:0;
}

.ahly-md-event.away{
    direction:ltr;
    text-align:left;
}

.ahly-md-event.away .ahly-md-event-player,
.ahly-md-event.away .ahly-md-event-type{
    direction:rtl;
}

.ahly-md-minute{
    color:#777;
    font-weight:700;
    direction:ltr;
}

.ahly-md-event-type{
    display:inline-flex;
    justify-content:center;
    border-radius:16px;
    padding:5px 8px;
    background:#f1f1f1;
    color:#444;
    font-size:12px;
    white-space:nowrap;
}

.ahly-md-event.goal .ahly-md-event-type,
.ahly-md-event.own-goal .ahly-md-event-type{
    background:#e51b2b;
    color:#fff;
}

.ahly-md-event.yellow .ahly-md-event-type{
    background:#f9d65c;
    color:#222;
}

.ahly-md-event.red .ahly-md-event-type{
    background:#d32f2f;
    color:#fff;
}

.ahly-md-event.substitution .ahly-md-event-type{
    background:#e8f5ee;
    color:#157a3d;
}

.ahly-md-event-player{
    font-weight:700;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.ahly-md-lineups{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    padding:16px;
}

.ahly-md-lineup-team{
    border:1px solid #eee;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
}

.ahly-md-lineup-team > h3{
    margin:0;
    padding:12px;
    background:#fbfbfb;
    border-bottom:1px solid #eee;
    font-size:16px;
}

.ahly-md-lineup-block{
    padding:12px;
    border-bottom:1px solid #f1f1f1;
}

.ahly-md-lineup-block:last-child{
    border-bottom:0;
}

.ahly-md-lineup-block h4{
    margin:0 0 8px;
    font-size:13px;
    color:#e51b2b;
}

.ahly-md-lineup-block ul{
    list-style:none;
    margin:0;
    padding:0;
}

.ahly-md-lineup-block li{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:30px;
    border-bottom:1px solid #f5f5f5;
    font-size:13px;
}

.ahly-md-lineup-block li:last-child{
    border-bottom:0;
}

.ahly-md-shirt{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:24px;
    border-radius:6px;
    border:1px solid #e5e5e5;
    color:#e51b2b;
    font-weight:800;
    flex:0 0 auto;
}

.ahly-md-lineup-block small{
    margin-right:auto;
    color:#888;
    font-size:11px;
}

@media(max-width:768px){
    .ahly-md-scoreboard{
        grid-template-columns:1fr;
        gap:10px;
    }

    .ahly-md-score{
        width:92px;
        margin:0 auto;
        order:2;
    }

    .ahly-md-event{
        grid-template-columns:42px 92px 1fr;
        gap:7px;
        font-size:12px;
    }

    .ahly-md-event-type{
        font-size:11px;
        padding:5px 6px;
    }

    .ahly-md-lineups{
        grid-template-columns:1fr;
        padding:12px;
        gap:12px;
    }
}


/* 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-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;
}

/* Next match shortcode table-style polish v3.10.7.191 */
html body .ahly-next-match-widget{
    width:100%!important;
    max-width:920px!important;
    margin:0 auto 14px!important;
    border:1px solid #e5e7eb!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:0 2px 8px rgba(0,0,0,.04)!important;
    font-family:"Noto Kufi Arabic", sans-serif!important;
}
html body .ahly-next-match-widget > h3{
    margin:0!important;
    padding:22px 16px!important;
    color:#111827!important;
    font-size:30px!important;
    font-weight:900!important;
    line-height:1.25!important;
    text-align:center!important;
    border-bottom:1px solid #edf0f5!important;
}
html body .ahly-next-match-widget .ahly-next-match-card{
    padding:0!important;
    background:#fff!important;
}
html body .ahly-next-match-widget .ahly-next-match-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(96px,auto) minmax(0,1fr)!important;
    gap:20px!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-height:98px!important;
    padding:22px 30px 10px!important;
    box-sizing:border-box!important;
}
html body .ahly-next-match-widget .ahly-team{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-width:0!important;
    max-width:100%!important;
    color:#111!important;
    font-size:25px!important;
    font-weight:900!important;
    line-height:1.25!important;
}
html body .ahly-next-match-widget .ahly-team.team-left{
    justify-content:flex-start!important;
    flex-direction:row!important;
}
html body .ahly-next-match-widget .ahly-team.team-right{
    justify-content:flex-end!important;
    flex-direction:row!important;
}
html body .ahly-next-match-widget .ahly-team.team-left img,
html body .ahly-next-match-widget .ahly-team.team-right img,
html body .ahly-next-match-widget .ahly-team.team-left span,
html body .ahly-next-match-widget .ahly-team.team-right span{
    order:0!important;
}
html body .ahly-next-match-widget .ahly-team img{
    width:64px!important;
    height:64px!important;
    object-fit:contain!important;
    flex:0 0 auto!important;
}
html body .ahly-next-match-widget .ahly-team span{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100% - 76px)!important;
    color:#111!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
html body .ahly-next-match-widget .ahly-score-pill.vs{
    min-width:92px!important;
    min-height:54px!important;
    padding:0 22px!important;
    border-radius:999px!important;
    background:#f3f4f6!important;
    color:#333!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:25px!important;
    font-weight:900!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
}
html body .ahly-next-match-widget .ahly-next-match-meta{
    margin:0!important;
    padding:0 16px 24px!important;
    color:#667085!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    flex-wrap:wrap!important;
    font-size:22px!important;
    font-weight:900!important;
    line-height:1.6!important;
    text-align:center!important;
}
html body .ahly-next-match-widget .ahly-next-match-meta span+span:before{
    content:"-"!important;
    margin-left:8px!important;
    color:#98a2b3!important;
}
@media(max-width:768px){
    html body .ahly-next-match-widget > h3{
        padding:16px 10px!important;
        font-size:24px!important;
    }
    html body .ahly-next-match-widget .ahly-next-match-main{
        grid-template-columns:minmax(0,1fr) minmax(66px,auto) minmax(0,1fr)!important;
        gap:8px!important;
        min-height:74px!important;
        padding:16px 10px 8px!important;
    }
    html body .ahly-next-match-widget .ahly-team{
        gap:6px!important;
        font-size:15px!important;
    }
    html body .ahly-next-match-widget .ahly-team.team-left,
    html body .ahly-next-match-widget .ahly-team.team-right{
        flex-direction:row!important;
        align-items:center!important;
    }
    html body .ahly-next-match-widget .ahly-team img{
        width:34px!important;
        height:34px!important;
    }
    html body .ahly-next-match-widget .ahly-team span{
        max-width:calc(100% - 40px)!important;
        display:block!important;
        white-space:nowrap!important;
        -webkit-line-clamp:initial!important;
    }
    html body .ahly-next-match-widget .ahly-score-pill.vs{
        min-width:58px!important;
        min-height:38px!important;
        padding:0 12px!important;
        font-size:16px!important;
    }
    html body .ahly-next-match-widget .ahly-next-match-meta{
        padding:0 10px 16px!important;
        gap:6px!important;
        font-size:13px!important;
    }
}

/* Next match final ordering and sizing v3.10.7.192 */
html body section.ahly-next-match-widget > h3{
    padding:22px 16px!important;
    font-size:30px!important;
    font-weight:900!important;
    text-align:center!important;
}
html body section.ahly-next-match-widget .ahly-team{
    font-size:25px!important;
    font-weight:900!important;
}
html body section.ahly-next-match-widget .ahly-team img{
    width:64px!important;
    height:64px!important;
}
html body section.ahly-next-match-widget .ahly-team.team-left{
    flex-direction:row!important;
}
html body section.ahly-next-match-widget .ahly-team.team-left span{
    order:1!important;
}
html body section.ahly-next-match-widget .ahly-team.team-left img{
    order:2!important;
}
html body section.ahly-next-match-widget .ahly-team.team-right span{
    order:1!important;
}
html body section.ahly-next-match-widget .ahly-team.team-right img{
    order:2!important;
}
@media(max-width:768px){
    html body section.ahly-next-match-widget > h3{
        font-size:24px!important;
    }
    html body section.ahly-next-match-widget .ahly-team{
        font-size:15px!important;
    }
    html body section.ahly-next-match-widget .ahly-team img{
        width:34px!important;
        height:34px!important;
    }
}
