/* ==========================================================
   Alba Live Matches 3.0 — "Premium cards" match table skin.
   Loaded after front.css; every rule is scoped to .alm-v3 so it
   wins over the older layers without !important.
   Font: Cairo (SIL Open Font License, bundled in assets/fonts).
   ========================================================== */
@font-face{font-family:'ALM Cairo';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cairo-arabic-600-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'ALM Cairo';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/cairo-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'ALM Cairo';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/cairo-arabic-800-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'ALM Cairo';font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/cairo-arabic-900-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'ALM Cairo';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cairo-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'ALM Cairo';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/cairo-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'ALM Cairo';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/cairo-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'ALM Cairo';font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/cairo-latin-900-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- tokens (light) ---------- */
.AlbaSportFixture.alm-v3{
	--v-bg:#f2f2f4;--v-card:#ffffff;--v-card2:#f6f6f8;--v-line:rgba(16,18,24,.08);--v-ink:#101218;--v-muted:#80838e;
	--v-chip:#efeff2;--v-chip-ink:#4b4f5c;--v-thumb:#101218;--v-thumb-ink:#ffffff;--v-thumb-shadow:0 8px 22px rgba(16,18,24,.22);
	--v-live:#e5212f;--v-live-soft:rgba(229,33,47,.11);--v-soon:#c26a00;--v-soon-soft:rgba(217,119,6,.13);
	--v-mask:rgba(255,255,255,.62);--v-card-shadow:0 1px 2px rgba(16,18,24,.04);
	--v-font:'ALM Cairo','Cairo',Tahoma,'Segoe UI',Arial,sans-serif;
}
/* ---------- tokens (dark) ---------- */
html[data-theme="dark"] .AlbaSportFixture.alm-auto-theme.alm-v3,
.AlbaSportFixture.aspwp_dark_style.alm-v3{
	--v-bg:#09090b;--v-card:#141417;--v-card2:#1b1b1f;--v-line:rgba(255,255,255,.075);--v-ink:#f5f5f7;--v-muted:#8f8f99;
	--v-chip:#202025;--v-chip-ink:#c9c9d1;--v-thumb:#f5f5f7;--v-thumb-ink:#0b0b0d;--v-thumb-shadow:0 8px 24px rgba(0,0,0,.55);
	--v-live:#ff3b47;--v-live-soft:rgba(255,59,71,.14);--v-soon:#f5a524;--v-soon-soft:rgba(245,165,36,.14);
	--v-mask:rgba(9,9,11,.62);--v-card-shadow:0 1px 0 rgba(255,255,255,.02);
}

/* ---------- shell ---------- */
.AlbaSportFixture.alm-v3{max-width:900px;margin:0 auto 24px;padding:22px;border:0;border-radius:28px;background:var(--v-bg);color:var(--v-ink);box-shadow:none;overflow:hidden;font-family:var(--v-font)}
.AlbaSportFixture.alm-v3,
.AlbaSportFixture.alm-v3 .asp-font,
.AlbaSportFixture.alm-v3 button,
.AlbaSportFixture.alm-v3 .asp-title,
.AlbaSportFixture.alm-v3 .AF_EvTime,
.AlbaSportFixture.alm-v3 .AF_EventResult .result{font-family:var(--v-font)}

/* ---------- header ---------- */
.AlbaSportFixture.alm-v3 .AF_Title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:2px 4px 18px;padding:0;min-height:0;border:0;background:transparent}
.AlbaSportFixture.alm-v3 .alm-title-icon{display:none}
.AlbaSportFixture.alm-v3 .alm-title-copy{min-width:0}
.AlbaSportFixture.alm-v3 .AF_Title .asp-title{margin:0;font-size:30px;font-weight:900;line-height:1.15;letter-spacing:-.3px;color:var(--v-ink)}
.AlbaSportFixture.alm-v3 .alm-current-date{display:block;margin-top:4px;font-size:13px;font-weight:600;line-height:1.4;color:var(--v-muted)}
.AlbaSportFixture.alm-v3 .alm-match-count{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;padding:6px 13px;border:1px solid var(--v-line);border-radius:999px;background:var(--v-card);color:var(--v-muted);font-size:12px;font-weight:700;line-height:1.3;box-shadow:none}
.AlbaSportFixture.alm-v3 .alm-match-count b{min-width:0;height:auto;padding:0;background:transparent;box-shadow:none;color:var(--v-ink);font-size:12px;font-weight:900}
.AlbaSportFixture.alm-v3 .alm-timezone{display:none}

/* ---------- day tabs (segmented) + status chips ---------- */
.AlbaSportFixture.alm-v3 .alm-controls{padding:0;margin:0 0 6px;border:0;background:transparent}
.AlbaSportFixture.alm-v3 .AF_Filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 12px;padding:5px;border:1px solid var(--v-line);border-radius:16px;background:var(--v-card)}
.AlbaSportFixture.alm-v3 .AF_Filters .tablinks{height:42px;min-height:42px;margin:0;padding:0 8px;border:0;border-radius:12px;background:transparent;color:var(--v-muted);font-size:14.5px;font-weight:800;line-height:1;box-shadow:none;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.AlbaSportFixture.alm-v3 .AF_Filters .tablinks:hover{color:var(--v-ink)}
.AlbaSportFixture.alm-v3 .AF_Filters .tablinks.active{background:var(--v-thumb);color:var(--v-thumb-ink);box-shadow:var(--v-thumb-shadow)}
.AlbaSportFixture.alm-v3 .alm-status-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.AlbaSportFixture.alm-v3 .alm-status-btn{flex:0 0 auto;height:auto;min-height:0;padding:7px 15px;border:1px solid var(--v-line);border-radius:999px;background:transparent;color:var(--v-muted);font-size:13px;font-weight:700;line-height:1.3;box-shadow:none;cursor:pointer}
.AlbaSportFixture.alm-v3 .alm-status-btn:hover{color:var(--v-ink)}
.AlbaSportFixture.alm-v3 .alm-status-btn.active{background:var(--v-card);color:var(--v-ink);border-color:var(--v-line);box-shadow:0 1px 0 var(--v-line)}
.AlbaSportFixture.alm-v3 .alm-status-btn[data-status="live"]::before{content:"";display:inline-block;width:7px;height:7px;margin-inline-end:6px;border-radius:50%;background:var(--v-live);vertical-align:middle}

/* ---------- content + league groups ---------- */
.AlbaSportFixture.alm-v3 .AF_Contents{padding:0;margin:0;border:0;background:transparent}
.AlbaSportFixture.alm-v3 .AF_matches_Row{display:flex;flex-direction:column;gap:0}
.AlbaSportFixture.alm-v3 .AF_LeagueGroup{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.AlbaSportFixture.alm-v3 .AF_League,
.AlbaSportFixture.alm-v3 .AF_LeagueGroup .AF_League{display:flex;align-items:center;gap:10px;min-height:0;margin:20px 6px 10px;padding:0;border:0;border-radius:0;background:transparent;color:var(--v-ink);font-size:15px;font-weight:800;line-height:1.35}
.AlbaSportFixture.alm-v3 .AF_League svg{display:block;box-sizing:border-box;fill:none;stroke:currentColor;stroke-width:1.8;width:28px;height:28px;flex:0 0 28px;padding:6px;border:1px solid var(--v-line);border-radius:9px;background:var(--v-card);color:var(--v-ink);opacity:1}
.AlbaSportFixture.alm-v3 .alm-lg-count{margin-inline-start:auto;font-style:normal;font-size:12px;font-weight:700;color:var(--v-muted)}

/* ---------- match card ---------- */
.AlbaSportFixture.alm-v3 .AF_EvItem,
.AlbaSportFixture.alm-v3 .AF_LeagueGroup .AF_EvItem,
.AlbaSportFixture.alm-v3 .AF_LeagueGroup .AF_EvItem:last-child{position:relative;display:flex;flex-direction:column;width:100%;min-height:0;margin:0 0 10px;padding:18px 18px 14px;border:1px solid var(--v-line);border-radius:22px;background:var(--v-card);color:var(--v-ink);box-shadow:var(--v-card-shadow);overflow:hidden;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.AlbaSportFixture.alm-v3 a.AF_EvItem:hover{background:var(--v-card);transform:translateY(-2px);box-shadow:0 18px 36px -22px rgba(0,0,0,.45)}
.AlbaSportFixture.alm-v3 .AF_EvItem.live{border-color:color-mix(in srgb,var(--v-live) 38%,var(--v-line));box-shadow:0 16px 40px -22px color-mix(in srgb,var(--v-live) 70%,transparent)}
.AlbaSportFixture.alm-v3 .AF_inner{display:grid;grid-template-columns:minmax(0,1fr) 130px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:0;padding:0;margin:0}

.AlbaSportFixture.alm-v3 .AF_Team,
.AlbaSportFixture.alm-v3 .AF_Team:first-child,
.AlbaSportFixture.alm-v3 .AF_Team:last-child{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-width:0;width:auto;text-align:center;overflow:visible}
.AlbaSportFixture.alm-v3 .AF_TeamLogo{width:64px;height:64px;flex:0 0 64px;padding:11px;margin:0;border:1px solid var(--v-line);border-radius:50%;background:var(--v-card2);display:flex;align-items:center;justify-content:center;overflow:hidden}
.AlbaSportFixture.alm-v3 .AF_TeamLogo img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0}
.AlbaSportFixture.alm-v3 .AF_TeamName{max-width:100%;margin:0;color:var(--v-ink);font-size:16px;font-weight:800;line-height:1.35;text-align:center;white-space:normal;text-overflow:clip;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}

/* centre: score / kick-off time + status */
.AlbaSportFixture.alm-v3 .AF_Data{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;padding:0;text-align:center}
.AlbaSportFixture.alm-v3 .match-data{display:flex;flex-direction:column;align-items:center;gap:2px}
.AlbaSportFixture.alm-v3 .AF_EvTime{margin:0;color:var(--v-ink);font-size:24px;font-weight:800;line-height:1.1;letter-spacing:0;white-space:nowrap}
.AlbaSportFixture.alm-v3 .asp-city{display:none}
.AlbaSportFixture.alm-v3 .AF_EventResult{margin:0}
.AlbaSportFixture.alm-v3 .AF_EventResult .result{display:block;color:var(--v-ink);font-size:38px;font-weight:900;line-height:1.05;letter-spacing:1px;white-space:nowrap;font-variant-numeric:tabular-nums}
.AlbaSportFixture.alm-v3 .AF_EvPenalty{margin-top:2px;color:var(--v-muted);font-size:11px;font-weight:700}
.AlbaSportFixture.alm-v3 .AF_PenResult{border-color:var(--v-line)}
.AlbaSportFixture.alm-v3 .AF_EvStat{margin:0}
.AlbaSportFixture.alm-v3 .AF_StaText{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:0;padding:4px 11px;border-radius:999px;background:var(--v-chip);color:var(--v-muted);font-size:11.5px;font-weight:800;line-height:1.4;white-space:nowrap}
.AlbaSportFixture.alm-v3 .AF_EvItem.not-started .AF_StaText{background:var(--v-chip);color:var(--v-chip-ink)}
.AlbaSportFixture.alm-v3 .AF_EvItem.comming-soon .AF_StaText{background:var(--v-soon-soft);color:var(--v-soon)}
.AlbaSportFixture.alm-v3 .AF_EvItem.live .AF_StaText{background:var(--v-live-soft);color:var(--v-live)}
.AlbaSportFixture.alm-v3 .AF_EvItem.live .AF_StaText::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--v-live);animation:almV3Live 1.4s ease-in-out infinite}
@keyframes almV3Live{0%,100%{opacity:1}50%{opacity:.25}}

/* footer: channel · commentator */
.AlbaSportFixture.alm-v3 .AF_EvItem .AF_Footer{display:block;width:100%;margin:14px 0 0;padding:12px 0 0;border:0;border-top:1px dashed var(--v-line)}
.AlbaSportFixture.alm-v3 .AF_EvItem .AF_Footer:not(:has(.tv,.mic,.cup)){display:none}
.AlbaSportFixture.alm-v3 .AF_LeagueGroup .AF_EvItem .AF_Footer:not(:has(.tv,.mic)){display:none}
.AlbaSportFixture.alm-v3 .AF_LeagueGroup .AF_EvInfo .cup{display:none}
.AlbaSportFixture.alm-v3 .AF_EvInfo{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px}
.AlbaSportFixture.alm-v3 .AF_EvInfo span{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:0;border-radius:0;background:transparent;color:var(--v-muted);font-size:12.5px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.AlbaSportFixture.alm-v3 .AF_EvInfo svg{width:14px;height:14px;flex:0 0 14px;opacity:.7}

/* hover: watch button */
.AlbaSportFixture.alm-v3 .AF_Mask{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--v-mask);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:5}
.AlbaSportFixture.alm-v3 a.AF_EvItem:hover .AF_Mask{opacity:1}
.AlbaSportFixture.alm-v3 .AF_MaskText{padding:10px 22px;border-radius:999px;background:var(--v-thumb);color:var(--v-thumb-ink);font-size:14px;font-weight:800;box-shadow:var(--v-thumb-shadow)}

/* empty states */
.AlbaSportFixture.alm-v3 .AF_NoData{min-height:120px;margin:8px 0 0;border:1px dashed var(--v-line);border-radius:22px;background:var(--v-card);display:flex;align-items:center;justify-content:center}
.AlbaSportFixture.alm-v3 .AF_Msg{margin:0;color:var(--v-muted);font-size:14px;font-weight:700}

/* ---------- tablets & phones ---------- */
@media (max-width:767px){
	.AlbaSportFixture.alm-v3{padding:14px;border-radius:22px}
	.AlbaSportFixture.alm-v3 .AF_Title{margin:0 2px 14px}
	.AlbaSportFixture.alm-v3 .AF_Title .asp-title{font-size:24px}
	.AlbaSportFixture.alm-v3 .alm-current-date{font-size:12px}
	.AlbaSportFixture.alm-v3 .AF_Filters .tablinks{height:40px;min-height:40px;font-size:14px}
	.AlbaSportFixture.alm-v3 .alm-status-filters{gap:6px}
	.AlbaSportFixture.alm-v3 .alm-status-btn{padding:6px 12px;font-size:12.5px}
	.AlbaSportFixture.alm-v3 .AF_League,
	.AlbaSportFixture.alm-v3 .AF_LeagueGroup .AF_League{margin:18px 4px 9px;font-size:14.5px}
	.AlbaSportFixture.alm-v3 .AF_EvItem,
	.AlbaSportFixture.alm-v3 .AF_LeagueGroup .AF_EvItem,
	.AlbaSportFixture.alm-v3 .AF_LeagueGroup .AF_EvItem:last-child{padding:14px 10px 12px;border-radius:18px;margin-bottom:8px}
	.AlbaSportFixture.alm-v3 .AF_inner{grid-template-columns:minmax(0,1fr) 98px minmax(0,1fr);gap:4px}
	.AlbaSportFixture.alm-v3 .AF_TeamLogo{width:56px;height:56px;flex-basis:56px;padding:9px}
	.AlbaSportFixture.alm-v3 .AF_TeamName{font-size:14px}
	.AlbaSportFixture.alm-v3 .AF_EventResult .result{font-size:30px}
	.AlbaSportFixture.alm-v3 .AF_EvTime{font-size:20px}
	.AlbaSportFixture.alm-v3 .AF_StaText{font-size:11px;padding:3px 9px}
	.AlbaSportFixture.alm-v3 .AF_EvItem .AF_Footer{margin-top:12px;padding-top:10px}
	.AlbaSportFixture.alm-v3 .AF_EvInfo{gap:4px 12px}
	.AlbaSportFixture.alm-v3 .AF_EvInfo span{font-size:11.5px}
}
@media (max-width:380px){
	.AlbaSportFixture.alm-v3{padding:10px}
	.AlbaSportFixture.alm-v3 .AF_inner{grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr)}
	.AlbaSportFixture.alm-v3 .AF_TeamLogo{width:50px;height:50px;flex-basis:50px;padding:8px}
	.AlbaSportFixture.alm-v3 .AF_TeamName{font-size:13px}
	.AlbaSportFixture.alm-v3 .AF_EventResult .result{font-size:26px}
	.AlbaSportFixture.alm-v3 .AF_EvTime{font-size:18px}
}
@media (prefers-reduced-motion:reduce){
	.AlbaSportFixture.alm-v3 .AF_EvItem,.AlbaSportFixture.alm-v3 .AF_Mask{transition:none}
	.AlbaSportFixture.alm-v3 .AF_EvItem.live .AF_StaText::before{animation:none}
}
