/* Alba Live Matches — واجهة على طراز AlbaSport (كود أصلي) */
@font-face{font-family:"asp-font-kufi";font-style:normal;font-weight:400;src:url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.woff2)format("woff2");font-display:swap}
@font-face{font-family:"asp-font-kufi";font-style:normal;font-weight:700;src:url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Bold.woff2)format("woff2");font-display:swap}

.AlbaSportFixture,.AspTopSliderMatch,.alm-single{
	--asp-gray:#f9f9f9;--asp-gray2:#e0e0e0;--asp-dark:#474952;--asp-blue:#0277bd;--asp-light:#fff;
	--asp-fxtr:#ed1b24;--asp-sldr:#0277bd;--asp-stat:transparent;--asp-bd:1px;
	direction:rtl;font-family:"asp-font-kufi",Tahoma,sans-serif;max-width:1000px;margin:0 auto 20px
}
.aspwp_dark_style{--asp-gray:#19232d;--asp-gray2:#27313a;--asp-dark:#eee;--asp-blue:#eee;--asp-light:#202a34}
.AlbaSportFixture *{box-sizing:border-box}
.asp-flex{display:flex;align-items:center;justify-content:center}

/* ===== الجدول ===== */
.AlbaSportFixture{overflow:hidden;position:relative;border:1px solid var(--asp-gray2);background:var(--asp-gray)}
.AF_Title{display:flex;align-items:center;height:50px;padding:0 15px;background:var(--asp-light);border-bottom:1px solid var(--asp-gray2)}
.AF_Title .asp-title{margin:0;font-weight:700;flex:1;font-size:18px;line-height:1;color:var(--asp-dark)}
.AF_Title select.change_timezone{height:30px;min-width:150px;padding:0 10px;border-radius:80px;background:var(--asp-gray);border:0;color:var(--asp-blue);font-size:11px;font-weight:700;font-family:inherit;cursor:pointer}
.aspwp_dark_style .AF_Title .asp-title,.aspwp_dark_style .change_timezone{color:#fff}

.AF_Filters{display:flex;justify-content:space-between;padding:10px;gap:2%}
.AF_Filters .tablinks{width:32%;height:40px;text-align:center;background:var(--asp-light);border:1px solid var(--asp-gray2);border-radius:3px;font-size:14px;font-weight:700;color:#385898;cursor:pointer;transition:.2s;font-family:inherit}
.AF_Filters .tablinks.active{background:var(--asp-fxtr);color:#fff;border-color:var(--asp-fxtr)}
.aspwp_dark_style .AF_Filters .tablinks{color:#cfd8e3}

.AF_Contents{padding:0 10px 10px}
.AF_TabCon{display:none}
.AF_TabCon.active{display:block}
.AF_matches_Row{display:flex;flex-direction:column}
.AF_League{background:transparent;color:#c0392b;font-weight:700;font-size:13px;padding:8px 4px 4px;display:flex;align-items:center;gap:5px}
.AF_League svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.aspwp_dark_style .AF_League{color:#e9c34a}
.AF_NoData{height:160px;display:flex;justify-content:center;align-items:center}
.AF_Msg{color:#b4b4b4;font-weight:700}

/* الحالات وترتيبها */
.AF_EvItem.live{--asp-stat:#e00025;order:1}
.AF_EvItem.comming-soon{--asp-stat:#35bd53;order:2}
.AF_EvItem.not-started{--asp-stat:#0277bd;order:3}
.AF_EvItem.gools{--asp-stat:#ffa007;order:4}
.AF_EvItem.finished{--asp-stat:#000;order:5}

.AlbaSportFixture .AF_EvItem{display:block;width:100%;background:var(--asp-light);border:1px solid var(--asp-gray2);padding:0 12px;margin-bottom:8px;position:relative;overflow:hidden;text-decoration:none;color:inherit}
.AlbaSportFixture .AF_inner{display:flex;align-items:center;width:100%;padding:12px 0}
.AlbaSportFixture .AF_Team{width:29%;flex:0 0 29%;text-align:center}
.AlbaSportFixture .AF_TeamLogo img{max-width:46px;max-height:46px;width:auto;height:auto;margin:0 auto;display:block}
.AlbaSportFixture .AF_TeamName{font-size:15px;color:var(--asp-blue);font-weight:700;line-height:1.25;margin-top:6px}
.aspwp_dark_style .AF_TeamName{color:#eee}
.AlbaSportFixture .AF_Data{width:42%;flex:0 0 42%;padding:0 8px;text-align:center}
.AlbaSportFixture .AF_EvTime{direction:ltr;font-family:arial;font-size:22px;letter-spacing:-.5px;color:var(--asp-dark);font-weight:700;line-height:1.1;margin:0 0 2px}
.aspwp_dark_style .AF_EvTime{color:#ddd}
.AlbaSportFixture .asp-city{font-size:11px;color:#d93131;line-height:1.2}
.AlbaSportFixture .AF_EventResult .result{color:var(--asp-blue);font-size:26px;font-family:arial;font-weight:700;line-height:1;display:inline-block}
.aspwp_dark_style .result{color:#eee}
.AlbaSportFixture .AF_EvStat{margin-top:5px}
.AF_StaText,.AF_Timer{display:inline-flex;align-items:center;justify-content:center;color:#fff;padding:4px 10px;border-radius:20px;background:var(--asp-stat);font-weight:700;font-size:12px;min-height:19px;min-width:58px;line-height:1;font-variant-numeric:tabular-nums}
.AF_Timer{direction:ltr;letter-spacing:.5px}
.AF_EvPenalty{margin-top:3px;font-size:11px;color:#6c757d}
.AF_PenResult{display:inline-flex;align-items:center;border:1px solid #ccc;border-radius:50px;overflow:hidden;line-height:1.2}
.AF_PenResult .score{padding:0 8px;color:#666;font-weight:700}
.AF_PenResult .name{font-size:11px;padding:0 4px}

.AlbaSportFixture .AF_Footer{border-top:1px solid var(--asp-gray2);padding:5px 0;margin-top:2px}
.aspwp_dark_style .AF_Footer{border-color:#27313a}
.AF_EvInfo{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.AF_EvInfo span{color:#2b2f47;font-size:11px;display:inline-flex;align-items:center;gap:4px}
.AF_EvInfo svg{width:13px;height:13px}
.aspwp_dark_style .AF_EvInfo span{color:#cfd8e3}

/* ماسك عند المرور (زر المشاهدة) */
.AF_EvItem .AF_Mask{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,80,128,.62);z-index:8}
.AF_EvItem:hover .AF_Mask{display:flex}
.AF_MaskText{background:var(--asp-stat,#0277bd);color:#fff;padding:6px 30px;font-size:14px;font-weight:700;border-radius:3px}

/* ===== صفحة المباراة — full width (زي مواقع البث) ===== */
body.single-alba-matches .main-content{width:100%!important;max-width:100%!important;flex:0 0 100%!important}
body.single-alba-matches #sidebar,body.single-alba-matches .sidebar,body.single-alba-matches .main-content ~ .sidebar{display:none!important}
.alm-single{max-width:1000px;margin:0 auto}

/* المقال */
.alm-desc{margin:22px auto 0;line-height:2;color:#2b2f36;font-size:16px}
.aspwp_dark_style .alm-desc{color:#d7dde5}
.alm-desc h2{font-size:22px;font-weight:800;margin:26px 0 12px;color:#132634;border-right:4px solid var(--asp-fxtr,#ed1b24);padding-right:12px}
.aspwp_dark_style .alm-desc h2{color:#fff}
.alm-desc p{margin:0 0 14px}
.alm-desc strong{color:#0d3b66}
.aspwp_dark_style .alm-desc strong{color:#8fc3ff}

/* ===== صفحة المباراة — الكارت ===== */
.AlbaSportCard{position:relative;margin-bottom:26px}
.AC_Inner{display:flex;align-items:center;justify-content:space-between}
.AC_FTeam,.AC_Data{flex-basis:33.3%;text-align:center;display:flex;flex-direction:column;align-items:center}
.AC_TeamImg{width:92px;height:92px;margin:0 auto;display:flex;align-items:center;justify-content:center}
.AC_TeamImg img{max-height:92px;max-width:100%;object-fit:contain}
.AC_TeamTitle{font-size:16px;font-weight:700;margin:10px 0 0}
.AC_MDay{font-size:13px;margin-bottom:8px}
.AC_Result .asp-flex{justify-content:center;align-items:baseline}
.AC_Score{font-family:Tahoma,arial;font-size:60px;font-weight:700;margin:0 8px;line-height:1}
.AC_Separator{font-size:42px;font-weight:700;line-height:1}
.AC_Timer{display:inline-block;background:#132634;color:#fff;padding:8px 16px;border-radius:6px;font-size:22px;font-weight:700;direction:ltr;letter-spacing:1px}
.AC_Info span{display:inline-flex;align-items:center;gap:6px;font-size:13px}
.AC_Info b{font-weight:700}
.AC_Info svg,.AF_EvInfo svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.8;flex:0 0 auto}

/* لوحة نتيجة فاتحة */
.alm-board{border:6px solid #e9e9e9;border-radius:10px;background:#f4f4f4;padding:22px 16px 16px}
.aspwp_dark_style .alm-board{background:#19232d;border-color:#27313a}
.alm-board .AC_TeamTitle,.alm-board .AC_Score{color:#132634}
.aspwp_dark_style .alm-board .AC_TeamTitle,.aspwp_dark_style .alm-board .AC_Score{color:#fff}
.alm-board .AC_MDay{color:#6b7683}
.alm-board .AC_Separator{color:#b0b0b0}
.alm-board .AC_Info{width:100%;margin-top:16px;padding-top:14px;border-top:1px solid #e2e2e2;display:flex;justify-content:center;gap:26px;flex-wrap:wrap}
.aspwp_dark_style .alm-board .AC_Info{border-color:#2b3742}
.alm-board .AC_Info span{color:#546c82}.alm-board .AC_Info b{color:#132634}
.aspwp_dark_style .alm-board .AC_Info span{color:#c3ccd6}.aspwp_dark_style .alm-board .AC_Info b{color:#fff}

/* خلفية ملعب داكنة */
.alm-stadium{border-radius:10px;overflow:hidden;padding:24px 16px 28px;margin-bottom:42px;background:#2f7d33 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%20400'%20preserveAspectRatio='xMidYMid%20slice'%3E%3Crect%20width='1200'%20height='400'%20fill='%232f7d33'/%3E%3Crect%20width='1200'%20height='122'%20fill='%2326343d'/%3E%3Crect%20y='120'%20width='1200'%20height='8'%20fill='%233a4a55'/%3E%3Cellipse%20cx='250'%20cy='18'%20rx='270'%20ry='85'%20fill='%23cfe3ff'%20opacity='.13'/%3E%3Cellipse%20cx='950'%20cy='18'%20rx='270'%20ry='85'%20fill='%23cfe3ff'%20opacity='.13'/%3E%3Crect%20y='128'%20width='1200'%20height='30'%20fill='%23369a3b'/%3E%3Crect%20y='158'%20width='1200'%20height='34'%20fill='%232f8a34'/%3E%3Crect%20y='192'%20width='1200'%20height='40'%20fill='%23369a3b'/%3E%3Crect%20y='232'%20width='1200'%20height='46'%20fill='%232f8a34'/%3E%3Crect%20y='278'%20width='1200'%20height='54'%20fill='%23369a3b'/%3E%3Crect%20y='332'%20width='1200'%20height='68'%20fill='%232f8a34'/%3E%3Cellipse%20cx='600'%20cy='300'%20rx='120'%20ry='40'%20fill='none'%20stroke='%23ffffff'%20stroke-opacity='.32'%20stroke-width='3'/%3E%3Cline%20x1='600'%20y1='128'%20x2='600'%20y2='400'%20stroke='%23ffffff'%20stroke-opacity='.22'%20stroke-width='3'/%3E%3Crect%20width='1200'%20height='400'%20fill='%230a1f10'%20opacity='.14'/%3E%3C/svg%3E") center/cover no-repeat}
.alm-stadium .AC_TeamImg{background:rgba(255,255,255,.08);border-radius:50%;padding:6px;box-shadow:0 2px 10px rgba(0,0,0,.35)}
.alm-stadium .AC_TeamTitle{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.alm-stadium .AC_MDay{color:#d7e2ee}
.alm-stadium .AC_Score{color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.5)}
.alm-stadium .AC_Separator{color:#e6edf5}
.alm-stadium .AC_Info{width:92%;margin:22px auto 0;transform:translateY(20px);background:#fff;border-radius:6px;height:46px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:26px;flex-wrap:wrap;box-shadow:0 8px 18px rgba(0,0,0,.28)}
.alm-stadium .AC_Info span{color:#5a6b7a}.alm-stadium .AC_Info b{color:#132634}
.alm-stadium .AC_Info svg{stroke:#d19a1e;opacity:1}

/* ===== البث ===== */
.aspwp-match-servers{margin-top:32px}
.asp-server-name{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.asp-server-name a{display:inline-flex;align-items:center;cursor:pointer;font-size:13px;font-weight:700;background:#ececec;color:#150f0f;border-radius:3px;height:34px;padding:0 16px 0 40px;position:relative}
.asp-server-name a::before{content:"";position:absolute;right:0;top:0;width:32px;height:34px;background:#444 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/16px no-repeat}
.asp-server-name a.active,.asp-server-name a:hover{background:#e00025;color:#fff}
.asp-server-body{position:relative;height:0;padding-bottom:56.25%;background:#1f2024;border-radius:4px;overflow:hidden}
.asp-server-embed{display:none;position:absolute;inset:0}
.asp-server-embed.active{display:block}
.asp-server-embed iframe,.asp-server-embed embed,.asp-server-embed video,.asp-server-embed object{position:absolute;inset:0;width:100%!important;height:100%!important;border:0}
.alm-noserver{margin-top:16px;text-align:center;padding:26px;background:var(--asp-gray);border:1px solid var(--asp-gray2);border-radius:6px;color:#888;font-weight:700}

/* ===== صندوق المعلومات ===== */
.AlbaMatchInfo{padding:20px;background:#f7f7f7;margin:15px 0;border-radius:5px}
.aspwp_dark_style .AlbaMatchInfo{background:var(--asp-gray)}
.AlbaMatchInfo h2{display:inline-block;background:#fefefe;padding:6px 26px;border-radius:30px;box-shadow:0 10px 20px rgba(30,30,30,.07);font-weight:700;color:#4d4d54;font-size:19px;margin:0 0 10px}
.AlbaMatchInfo ul{padding:0 20px 0 10px;margin:14px 0;list-style:none}
.AlbaMatchInfo li{margin:10px 0;padding-bottom:10px;border-bottom:1px solid #eee;font-size:14px}
.AlbaMatchInfo li:last-child{border:0;padding:0;margin-bottom:0}
.AlbaMatchInfo i{font-style:normal;margin-left:6px}

/* ===== السلايدر ===== */
.AspTopSliderMatch{position:relative;margin-bottom:12px}
.asp-filter-day{display:flex;justify-content:center}
.asp-filter-day .gotoDay{padding:0 26px;height:30px;line-height:28px;font-size:11px;color:var(--asp-blue);background:var(--asp-light);border:1px solid var(--asp-gray2);border-bottom:0;cursor:pointer;font-family:inherit}
.asp-filter-day .gotoDay.active{background:var(--asp-sldr);color:#fff;border-color:var(--asp-sldr)}
.asp-filter-day .gotoDay:first-child{border-radius:0 4px 0 0}
.asp-filter-day .gotoDay:last-child{border-radius:4px 0 0 0}
.AspSliderInner{position:relative;padding:0 30px;background:var(--asp-light);border:1px solid var(--asp-gray2);border-radius:0 0 6px 6px;overflow:hidden}
.AspMatchSlider{display:flex;gap:0;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory}
.AspMatchSlider::-webkit-scrollbar{height:0}
.AspMatchItem{flex:0 0 25%;min-width:220px;scroll-snap-align:start;height:110px;padding:10px 12px;text-align:center;border-left:2px solid #f2f2f2;text-decoration:none;color:inherit;position:relative}
.aspwp_dark_style .AspMatchItem{border-color:var(--asp-gray2)}
.AspMatchItem .leaguName{font-size:11px;line-height:1.4;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#666}
.AspMatchItem .asps-row{display:flex;align-items:center;justify-content:space-between;gap:6px}
.AspMatchItem .asps-team{width:calc((100% - 66px)/2);text-align:center}
.AspMatchItem .asps-team img{height:28px;max-height:28px;width:auto;display:inline-block}
.AspMatchItem .asps-team span{display:block;margin-top:5px;font-size:11px;line-height:1.2;color:#000}
.aspwp_dark_style .AspMatchItem .asps-team span{color:#eee}
.AspMatchItem .resultDiv{width:66px}
.AspMatchItem .asps-result{font-size:16px;font-weight:700}
.AspMatchItem .AF_EvTime{font-size:13px;color:#888;letter-spacing:0}
.AspMatchItem .asps-status{display:inline-flex;align-items:center;justify-content:center;height:18px;font-size:10px;margin-top:6px;padding:0 8px;border:1px solid #aaa;color:#aaa;border-radius:20px}
.AspMatchItem.live .asps-status{border-color:#fec1c1;background:#fde8e8;color:#9b1c1c}
.AspMatchItem.not-started .asps-status{border-color:#45B3EB;color:#45B3EB}
.AspMatchItem.comming-soon .asps-status{border-color:#35BD53;color:#35BD53}
.asp-sl-nav{position:absolute;top:0;height:100%;width:28px;border:0;background:var(--asp-sldr);color:#fff;font-size:20px;cursor:pointer;z-index:2}
.asp-sl-nav.prev{right:0}.asp-sl-nav.next{left:0}
.nomatchinslide{display:flex;align-items:center;justify-content:center;height:110px;color:#b4b4b4;font-weight:700}

/* ===== موبايل ===== */
@media(max-width:767px){
	.AF_Title{height:45px;padding:0 12px}
	.AF_Title .asp-title{font-size:14px}
	.AF_Filters .tablinks{font-size:12px;height:34px}
	.AF_TeamLogo img{max-width:40px;max-height:40px}
	.AF_TeamName{font-size:12px;letter-spacing:-.5px}
	.AF_EvTime{font-size:20px}
	.result{font-size:26px}
	.AC_Score{font-size:40px;margin:0 6px}
	.AC_Separator{font-size:34px}
	.AC_TeamImg{width:70px}.AC_TeamImg img{max-height:64px}
	.AC_TeamTitle{font-size:13px}
	.AC_Info span{font-size:10px}
	.AspMatchItem{flex-basis:80%;min-width:80%}
	.asp-server-body{padding-bottom:100%}
}
