/*
 * Alba YallaShoot — Premium Redesign v2
 * Visual layer only. Match data, ACF, storage, queries, shortcodes and player logic
 * are intentionally left unchanged.
 */
:root {
    --ys-accent: var(--main-color, #f05a28);
    --ys-accent-strong: #db481b;
    --ys-ink: #141b23;
    --ys-ink-soft: #202b37;
    --ys-copy: #26313d;
    --ys-muted: #7c8792;
    --ys-page: #f3f5f7;
    --ys-card: #ffffff;
    --ys-card-soft: #f8f9fa;
    --ys-line: #e6e9ed;
    --ys-shadow: 0 10px 28px rgba(20, 29, 39, .065);
    --ys-shadow-hover: 0 18px 38px rgba(20, 29, 39, .12);
    --ys-radius: 18px;
}

html { scroll-behavior: smooth; }
body {
    background: var(--ys-page) !important;
    color: var(--ys-copy) !important;
    font-family: 'Neo Sans Arabic', Tahoma, Arial, sans-serif !important;
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
body, body * { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus { color: var(--ys-accent); }
img { max-width: 100%; }
.container {
    width: min(100% - 34px, 1200px) !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header: graphite, branded orange edge and a compact navigation row */
.AYaHeader {
    position: relative;
    z-index: 90;
    width: 100%;
    margin: 0 0 26px !important;
    overflow: visible !important;
    background: linear-gradient(115deg, #11171e 0%, #19232d 58%, #202b35 100%) !important;
    border-bottom: 4px solid var(--ys-accent);
    box-shadow: 0 8px 24px rgba(12, 18, 24, .16) !important;
}
.AYaHeader::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 21%;
    height: 4px;
    background: #ffb15b;
    pointer-events: none;
}
.AYaHeader > .container {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.AYaLogo {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 145px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.AYaLogo > a { min-height: 76px; display: flex; align-items: center; justify-content: center; }
.AYaLogo .LogoImage {
    display: block;
    float: none !important;
    width: auto;
    max-width: 205px;
    height: 62px;
    object-fit: contain;
}
.AYaLogo.textlogo > a { align-items: flex-start; justify-content: center; }
.AYaLogo span { color: #fff !important; font-size: 26px; line-height: 1.35; font-weight: 900; }
.AYaLogo span:last-child { color: #aeb9c4 !important; font-size: 11px; font-weight: 500; }
.AYaMainNav {
    width: auto !important;
    min-width: 0;
    flex: 1 1 auto;
    float: none !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.AYaMainNav .HdMenuArea {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent !important;
    box-shadow: none !important;
}
.AYaMainNav .MainMenu {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 5px;
    padding: 0;
    margin: 0;
}
.AYaMainNav .nav li,
.AYaMainNav .MainMenu li,
.AYaMainNav .HdMenuArea li { float: none !important; position: relative; margin: 0 !important; }
.AYaMainNav .nav .MainMenu a,
.AYaMainNav .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 43px !important;
    min-height: 43px;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid transparent !important;
    border-radius: 11px;
    background: transparent !important;
    color: #e8edf1 !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s ease;
}
.AYaMainNav .nav .MainMenu a:hover,
.AYaMainNav .nav .MainMenu a:focus,
.AYaMainNav .nav a:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,.1) !important;
    background: rgba(255,255,255,.09) !important;
}
.AYaMainNav .nav .sub-menu { display: none; }
.AYaMainNav .HeaderSocial {
    display: flex;
    align-items: center;
    gap: 7px;
    float: none !important;
    margin: 0 !important;
    padding: 0;
}
.AYaMainNav .nav .HeaderSocial a,
.AYaMainNav .nav .HeaderSocial li,
.AYaMainNav .ChangStyle {
    float: none !important;
    width: 36px;
    height: 36px;
    margin: 0 !important;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 11px;
    background: rgba(255,255,255,.07) !important;
    transition: .2s ease;
}
.AYaMainNav .nav .HeaderSocial a:hover,
.AYaMainNav .ChangStyle:hover { background: var(--ys-accent) !important; border-color: var(--ys-accent); }
.AYaMainNav .HeaderSocial a .icon,
.AYaMainNav .icon.ChangStylei { width: 17px; height: 17px; margin: 0 auto; }
.AYaMainNav .MobMenuIcon.op,
.AYaMainNav .ChangStyle.mo { display: none; }
.under-header { display: none; }

/* Main section framing */
.BoxContent,
.tabsbox {
    margin: 0 0 25px !important;
    overflow: hidden;
    background: var(--ys-card) !important;
    border: 1px solid var(--ys-line);
    border-radius: var(--ys-radius) !important;
    box-shadow: var(--ys-shadow) !important;
}
.HeadTitle {
    min-height: 67px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 13px;
    padding: 15px 21px !important;
    overflow: visible !important;
    background: var(--ys-ink) !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 3px solid var(--ys-accent) !important;
}
.HeadTitle h1,
.HeadTitle h2,
.HeadTitle h3,
.HeadTitle h2.boxstitle,
.HeadTitle .fixTabs li a {
    display: flex;
    align-items: center;
    gap: 10px;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800;
    line-height: 1.45;
}
.HeadTitle h1::before,
.HeadTitle h2::before,
.HeadTitle h3::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 24px;
    flex: 0 0 5px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffb15b, var(--ys-accent));
}
.HeadTitle strong { font-weight: 900; }
#today .HeadTitle { align-items: center; }
#today .HeadTitle .boxstitle { display: flex; width: auto; text-align: right; }

/* Day navigation */
.AY-FilterDays {
    display: flex !important;
    align-items: center;
    gap: 7px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0;
}
.AY-FilterDays li { float: none !important; margin: 0 !important; }
.AY-FilterDays li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 5px 13px !important;
    color: #e9edf0 !important;
    background: #2b3742 !important;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px !important;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s ease;
}
.AY-FilterDays li a:hover { background: #3a4651 !important; color: #fff !important; }
.AY-FilterDays .toma a { background: var(--ys-accent) !important; border-color: var(--ys-accent) !important; color: #fff !important; }
.AY-FilterDays .yema a { background: #2b3742 !important; }
.AY-FilterDays .tomat a { background: #2b3742 !important; }

/* Match cards: one clean fixture row, centered score/time, compact information footer */
.albaflex { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 16px !important; }
.match-container {
    order: 3;
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 125px minmax(0,1fr);
    align-items: center;
    gap: 0 12px;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 18px 18px 0 !important;
    overflow: hidden;
    text-align: center;
    background: var(--ys-card) !important;
    border: 1px solid var(--ys-line);
    border-radius: 17px !important;
    box-shadow: 0 4px 14px rgba(25,35,45,.035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.match-container:hover {
    border-color: rgba(240,90,40,.34);
    box-shadow: 0 10px 24px rgba(25,35,45,.08);
    transform: translateY(-1px);
}
.right-team,
.left-team,
.match-center {
    float: none !important;
    width: auto !important;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.right-team,
.left-team { min-height: 112px; gap: 4px; }
.team-logo {
    float: none !important;
    width: auto !important;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}
.team-logo img {
    display: block !important;
    width: 66px !important;
    height: 66px !important;
    margin: 0 auto !important;
    padding: 7px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 17px;
    box-shadow: 0 5px 13px rgba(15,25,35,.06);
}
.team-name {
    display: block !important;
    max-width: 100%;
    margin: 7px auto 8px !important;
    color: var(--ys-ink) !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.match-center { align-self: stretch; justify-content: center; }
.match-timing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0 auto !important; }
.match-time {
    color: var(--ys-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}
.result {
    min-width: 90px;
    margin: 0 !important;
    padding: 7px 10px;
    color: #fff !important;
    background: var(--ys-ink) !important;
    border-radius: 11px;
    font-size: 24px !important;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.35;
}
.match-timing .date {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: 0 !important;
    padding: 4px 11px !important;
    color: #fff !important;
    background: #54616d !important;
    border-radius: 8px !important;
    font-size: 10px !important;
    font-weight: 800;
    line-height: 1.5 !important;
    white-space: nowrap;
}
.match-timing .live,
.match-container.live .match-timing .date,
.match-container.started .match-timing .date { background: #d92f37 !important; }
.match-timing .soon,
.match-container.soon .match-timing .date,
.match-container.comming-soon .match-timing .date { background: #d68b20 !important; }
.match-timing .end,
.match-container.end .match-timing .date,
.match-container.gools .match-timing .date,
.match-container.finished .match-timing .date { background: #68737d !important; }
.match-info {
    grid-column: 1 / -1;
    display: block !important;
    width: calc(100% + 36px) !important;
    margin: 13px -18px 0 !important;
    padding: 0 12px;
    overflow: hidden;
    background: #f8f9fa;
    border-top: 1px solid var(--ys-line);
}
.match-info ul { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 0; padding: 0; }
.match-info li {
    float: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto !important;
    min-width: 0;
    min-height: 42px;
    padding: 7px 8px;
    color: #727e89;
    font-size: 11px !important;
    line-height: 1.5;
    border-left: 1px solid #e9ecef;
}
.match-info li:last-child { border-left: 0; }
.match-info li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overlay-match { z-index: 8 !important; border-radius: 16px; }
.overlay-match .text-match { width: 48px; height: 48px; }
.no-data__msg { min-height: 160px; color: var(--ys-muted); }

/* Match details page and content blocks */
.coMatch,
.AY-MatchInfo,
.video-b {
    overflow: hidden;
    background: var(--ys-card) !important;
    border: 1px solid var(--ys-line);
    border-radius: 18px !important;
    box-shadow: var(--ys-shadow) !important;
}
.coMatch { padding: 14px !important; }
.backMatch { border-radius: 15px !important; overflow: hidden; }
.baMatch { background: rgba(10,16,22,.68) !important; }
.teamlogo { background-size: contain; background-repeat: no-repeat; background-position: center; }
.AY-MatchInfo { padding: 19px !important; }
.AY-MatchInfo h2 { color: var(--ys-ink); font-size: 17px; font-weight: 800; }
.table-bordered { border: 1px solid var(--ys-line); border-radius: 12px; overflow: hidden; background: #fff !important; }
.table-bordered tr { border-bottom: 1px solid var(--ys-line) !important; }
.table-bordered td, .table-bordered th { padding: 12px 14px; color: var(--ys-copy); }
.table-bordered td { border-right: 1px solid var(--ys-line) !important; }
.video-b { padding: 12px !important; }
.video-serv { gap: 8px; }
.video-serv a {
    margin: 0 !important;
    padding: 9px 14px !important;
    color: #fff !important;
    background: var(--ys-ink) !important;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px !important;
    text-shadow: none !important;
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}
.video-serv a:hover { background: var(--ys-accent) !important; }
.AlbaEmbed { border-radius: 13px; }

/* Homepage, latest news, widgets and archive cards */
.PostsInner { padding: 19px !important; overflow: hidden; }
.PostsInner > .AlbaGridPosts,
.PostsInner .AlbaGridPosts,
.AlbaGridPosts {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 17px;
    width: 100%;
    margin: 0 !important;
    padding: 0;
}
.AY-PItem {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}
.AY-PInner {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
    overflow: hidden;
    background: var(--ys-card) !important;
    border: 1px solid var(--ys-line);
    border-radius: 15px !important;
    box-shadow: 0 5px 17px rgba(18,28,38,.045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.AY-PInner:hover {
    transform: translateY(-4px);
    border-color: rgba(240,90,40,.35);
    box-shadow: var(--ys-shadow-hover);
}
.AY-PostImg {
    position: relative;
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    margin: 0 !important;
    overflow: hidden;
    background: #e7eaed;
}
.AY-PostImg::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(transparent, rgba(10,15,20,.25));
    pointer-events: none;
}
.AY-PostImg img,
.AY-PostImg .post-thumb {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    transition: transform .45s ease;
}
.AY-PInner:hover .AY-PostImg img { transform: scale(1.045); }
.AY-PostReadHint {
    position: absolute;
    z-index: 2;
    left: 12px;
    bottom: 12px;
    padding: 4px 10px;
    color: #fff;
    background: var(--ys-accent);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(5px);
    transition: .2s ease;
}
.AY-PInner:hover .AY-PostReadHint { opacity: 1; transform: translateY(0); }
.post-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 13px 14px 14px !important;
}
.AY-PostDate {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ys-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}
.AY-PostDateDot { width: 6px; height: 6px; border-radius: 50%; background: var(--ys-accent); }
.AY-PostTitle,
.post-info h3 {
    display: -webkit-box;
    width: 100%;
    height: auto !important;
    min-height: 3.15em;
    margin: 0 !important;
    overflow: hidden;
    color: var(--ys-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.65 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.AY-PostTitle a { color: inherit !important; transition: color .2s ease; }
.AY-PostTitle a:hover { color: var(--ys-accent) !important; }
.AY-PostMore {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding-top: 9px;
    color: var(--ys-accent) !important;
    border-top: 1px solid #eff1f3;
    font-size: 10px;
    font-weight: 800;
}
.AY-PostArrow { font-size: 16px; line-height: 1; transition: transform .2s ease; }
.AY-PostMore:hover .AY-PostArrow { transform: translateX(-4px); }

/* General page and article typography */
.site-content > .BoxContent { margin-bottom: 25px; }
.EntryHeaderOuter { padding: 0 !important; background: var(--ys-card) !important; border-bottom: 1px solid var(--ys-line); }
.EntryHeader { padding: 22px 24px !important; background: #fff !important; }
.EntryTitle {
    margin: 0 !important;
    color: var(--ys-ink) !important;
    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
}
.EntryMeta { margin-top: 10px; color: var(--ys-muted); font-size: 11px; }
.entry-content,
.entry {
    padding: 23px 25px !important;
    color: #34404b !important;
    font-size: 15px;
    line-height: 2.05;
    overflow-wrap: anywhere;
}
.entry-content p,
.entry p { margin: 0 0 17px; }
.entry-content h2,
.entry h2 { margin: 25px 0 13px; color: var(--ys-ink); font-size: 21px; font-weight: 900; line-height: 1.55; }
.entry-content h3,
.entry h3 { margin: 21px 0 11px; color: var(--ys-ink); font-size: 18px; font-weight: 800; }
.entry-content img,
.entry img { max-width: 100%; height: auto; border-radius: 12px; }
.entry-content ul,
.entry-content ol,
.entry ul,
.entry ol { margin: 0 22px 18px 0; padding: 0; }
.entry-content li,
.entry li { margin: 5px 0; list-style: initial; }
.entry-content a,
.entry a { color: var(--ys-accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote,
.entry blockquote { padding: 16px 18px; color: #47525d; background: #f5f6f7 !important; border-right: 4px solid var(--ys-accent); border-radius: 0 12px 12px 0; text-align: right; }
.post-footer { padding: 0 24px 24px !important; }
.post-share,
.post-tags { padding: 12px !important; background: #f5f6f7 !important; border: 1px solid var(--ys-line); border-radius: 12px !important; }
.post-tags li { padding: 4px 11px !important; height: auto !important; color: var(--ys-copy); background: #fff !important; border: 1px solid var(--ys-line); border-radius: 8px !important; }
.tabsbox { margin-top: 18px !important; }
.wdthbox { padding: 20px !important; color: var(--ys-copy); text-align: right; }

/* Sidebar, pagination, notices */
.widget,
.widget-area .widget { margin-bottom: 18px; }
.fo-section { min-width: 0; }
.LoadMOreNews {
    min-width: 165px;
    height: auto;
    padding: 10px 18px !important;
    color: #fff !important;
    background: var(--ys-ink) !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-weight: 800;
    transition: .2s ease;
}
.LoadMOreNews:hover { background: var(--ys-accent) !important; }
.spinner { color: var(--ys-accent); }
.message-box { border-radius: 11px !important; }
.AlbaE3lan.lanheader { margin-bottom: 18px; }

/* Footer with existing widgets/menu and a visible copyright line */
footer {
    position: relative;
    margin-top: 35px !important;
    padding: 26px 0 0 !important;
    overflow: hidden;
    color: #dbe1e6 !important;
    background: #121a22 !important;
    border-top: 4px solid var(--ys-accent);
    box-shadow: 0 -8px 28px rgba(12,18,24,.06) !important;
}
footer > .container {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 !important;
}
.fo-section { width: 25%; padding: 15px 15px 25px !important; box-sizing: border-box; }
.fo-title {
    position: relative;
    margin: 0 0 15px !important;
    padding: 0 0 11px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.13) !important;
    font-size: 14px !important;
    font-weight: 900;
}
.fo-title::before { content: ""; position: absolute; right: 0; bottom: -1px; width: 39px; height: 2px; background: var(--ys-accent); }
.fo-section li { width: 100%; margin: 5px 0 !important; padding: 0 !important; }
.fo-section li a { display: inline-block; color: #aeb9c3 !important; font-size: 12px !important; transition: color .2s ease; }
.fo-section li a:hover { color: #fff !important; }
.footermb {
    margin-top: 8px;
    padding: 12px 0 !important;
    color: #aeb8c1 !important;
    background: #0c1218 !important;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footermb > .container,
.footermb ul.container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footermb li { float: none !important; margin: 0 !important; }
.footermb .weba { float: none !important; }
.footermb a { display: block; margin: 0 4px !important; padding: 4px 7px !important; color: #aeb8c1 !important; font-size: 11px !important; }
.footermb a:hover { color: #fff !important; }
.copyright-bar {
    padding: 13px 0;
    color: #87939e;
    background: #080d12;
    border-top: 1px solid rgba(255,255,255,.055);
    font-size: 11px;
    text-align: center;
}
.copyright-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.copyright-brand { color: #fff; font-weight: 800; }
.copyright-separator { color: var(--ys-accent); font-size: 16px; line-height: 1; }

/* Existing dark-mode switch continues to work */
body.Night {
    --ys-page: #0d141b;
    --ys-card: #17212b;
    --ys-card-soft: #1d2934;
    --ys-line: #2a3742;
    --ys-ink: #f2f5f7;
    --ys-copy: #d7dfe5;
    --ys-muted: #a0abb4;
    --ys-shadow: 0 10px 28px rgba(0,0,0,.18);
    --ys-shadow-hover: 0 18px 38px rgba(0,0,0,.28);
    background: var(--ys-page) !important;
    color: var(--ys-copy) !important;
}
body.Night .BoxContent,
body.Night .tabsbox,
body.Night #the-post,
body.Night .AY-PInner,
body.Night .match-container,
body.Night .coMatch,
body.Night .AY-MatchInfo,
body.Night .video-b { background: var(--ys-card) !important; border-color: var(--ys-line) !important; }
body.Night .team-name,
body.Night .AY-PostTitle,
body.Night .AY-PostTitle a,
body.Night .EntryTitle,
body.Night .AY-MatchInfo h2,
body.Night .entry h2,
body.Night .entry h3 { color: var(--ys-ink) !important; }
body.Night .match-info { background: #121b24 !important; border-top-color: var(--ys-line) !important; }
body.Night .match-info li { color: #aeb9c3; border-left-color: var(--ys-line) !important; }
body.Night .team-logo img { background: #f7f8f9 !important; border-color: #e3e6e8 !important; }
body.Night .result { background: #0d141b !important; }
body.Night .EntryHeader,
body.Night .EntryHeaderOuter { background: var(--ys-card) !important; border-color: var(--ys-line) !important; }
body.Night .entry-content,
body.Night .entry { color: var(--ys-copy) !important; }
body.Night .entry-content blockquote,
body.Night .entry blockquote,
body.Night .post-share,
body.Night .post-tags { background: #111a23 !important; border-color: var(--ys-line) !important; color: var(--ys-copy); }
body.Night .post-tags li { background: #1b2732 !important; border-color: var(--ys-line) !important; color: var(--ys-copy); }
body.Night .AY-PostMore { border-top-color: var(--ys-line); }

/* Tablet */
@media (max-width: 1000px) {
    .AYaHeader { margin-bottom: 20px !important; }
    .AYaHeader > .container {
        position: relative;
        min-height: 78px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .AYaLogo { display: table; min-width: 0; margin: 6px auto !important; }
    .AYaLogo > a { min-height: 62px; }
    .AYaLogo .LogoImage { max-width: 180px; height: 54px; }
    .AYaMainNav { position: static; width: 100% !important; flex: 0 0 auto; }
    .AYaMainNav .MobMenuIcon.op {
        display: block !important;
        position: absolute;
        z-index: 5;
        top: 19px;
        right: 0;
        width: 39px;
        height: 39px;
        cursor: pointer;
        background: #26323d !important;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 11px;
    }
    .AYaMainNav .MobMenuIcon.op .liwte { display: table; margin: 10px auto 0; }
    .AYaMainNav .MobMenuIcon.op .line { display: block; width: 19px; height: 2px; margin: 0 auto 5px; background: #fff; border-radius: 3px; }
    .AYaMainNav .ChangStyle.mo {
        display: grid !important;
        place-items: center;
        position: absolute;
        top: 19px;
        left: 0;
        width: 39px;
        height: 39px;
        margin: 0 !important;
        border-radius: 11px;
        background: #26323d !important;
        border: 1px solid rgba(255,255,255,.12);
    }
    .AYaMainNav .HdMenuArea {
        position: fixed !important;
        z-index: 9999;
        top: 0 !important;
        right: -310px !important;
        display: block !important;
        width: 285px !important;
        height: 100vh !important;
        padding: 18px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: #151e27 !important;
        box-shadow: -12px 0 35px rgba(0,0,0,.25) !important;
        transition: right .28s ease !important;
    }
    .AYaMainNav .HdMenuArea.open { right: 0 !important; }
    .AYaMainNav .menublabel.clo {
        display: block !important;
        position: relative;
        margin: 0 0 16px !important;
        padding: 12px 10px !important;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,.12);
        cursor: pointer;
    }
    .AYaMainNav .menulabc { color: #fff !important; background: transparent !important; font-size: 14px; font-weight: 900; }
    .AYaMainNav .menublabel.clo .liwte { position: absolute; left: 11px; top: 16px; }
    .AYaMainNav .menublabel.clo .line { display: block; width: 19px; height: 2px; background: #fff; }
    .AYaMainNav .menublabel.clo .line-1 { transform: rotate(45deg); position: absolute; }
    .AYaMainNav .menublabel.clo .line-2 { transform: rotate(-45deg); position: absolute; }
    .AYaMainNav .MainMenu { display: block !important; width: 100%; margin: 0 0 15px !important; }
    .AYaMainNav .MainMenu li { display: block; width: 100%; margin: 0 0 7px !important; }
    .AYaMainNav .nav .MainMenu a,
    .AYaMainNav .nav a {
        display: flex !important;
        justify-content: flex-start;
        width: 100%;
        height: auto !important;
        min-height: 43px;
        padding: 9px 12px !important;
        color: #e6edf2 !important;
        background: #202c37 !important;
        border: 1px solid rgba(255,255,255,.06) !important;
        border-radius: 9px !important;
    }
    .AYaMainNav .HeaderSocial { justify-content: flex-start; margin-top: 12px !important; }
    .AYaMainNav .HeaderSocial a,
    .AYaMainNav .ChangStyle { background: #26323d !important; }
    .AYaMainNav .HdMenuArea .ChangStyle { display: none !important; }
    .PostsInner > .AlbaGridPosts,
    .PostsInner .AlbaGridPosts,
    .AlbaGridPosts { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* Mobile */
@media (max-width: 640px) {
    .container { width: min(100% - 22px, 1200px) !important; }
    .AYaHeader { margin-bottom: 15px !important; }
    .AYaHeader > .container { min-height: 68px; }
    .AYaLogo .LogoImage { max-width: 155px; height: 47px; }
    .AYaLogo span { font-size: 19px; }
    .AYaMainNav .MobMenuIcon.op,
    .AYaMainNav .ChangStyle.mo { top: 14px; width: 38px; height: 38px; }
    .BoxContent, .tabsbox { margin-bottom: 16px !important; border-radius: 14px !important; }
    .HeadTitle { min-height: 0; padding: 13px 14px !important; gap: 11px; }
    .HeadTitle h1, .HeadTitle h2, .HeadTitle h3, .HeadTitle h2.boxstitle { font-size: 15px !important; }
    .HeadTitle h1::before, .HeadTitle h2::before, .HeadTitle h3::before { height: 20px; }
    #today .HeadTitle { align-items: stretch; }
    #today .HeadTitle .boxstitle { width: 100%; }
    .AY-FilterDays { width: 100%; gap: 5px !important; }
    .AY-FilterDays li { flex: 1 1 0; min-width: 0; }
    .AY-FilterDays li a { width: 100%; min-height: 34px; padding: 5px 3px !important; font-size: 9px; }
    .albaflex { gap: 9px; padding: 10px !important; }
    .match-container {
        grid-template-columns: minmax(0,1fr) 78px minmax(0,1fr);
        gap: 0 4px;
        padding: 12px 7px 0 !important;
        border-radius: 13px !important;
    }
    .right-team, .left-team { min-height: 93px; }
    .team-logo { min-height: 49px; }
    .team-logo img { width: 47px !important; height: 47px !important; padding: 5px; border-radius: 12px; }
    .team-name { margin: 6px auto 8px !important; font-size: 10px; line-height: 1.45; }
    .match-timing { gap: 6px; }
    .match-time { font-size: 9px; }
    .result { min-width: 61px; padding: 5px 6px; border-radius: 9px; font-size: 18px !important; }
    .match-timing .date { min-height: 22px; padding: 3px 6px !important; font-size: 8px !important; }
    .match-info { width: calc(100% + 14px) !important; margin: 10px -7px 0 !important; padding: 0 2px; }
    .match-info ul { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .match-info li { min-height: 35px; gap: 3px; padding: 6px 2px; font-size: 8px !important; }
    .match-info li::before { margin: 0 !important; font-size: 9px; }
    .PostsInner { padding: 11px !important; }
    .PostsInner > .AlbaGridPosts,
    .PostsInner .AlbaGridPosts,
    .AlbaGridPosts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    .AY-PInner { border-radius: 11px !important; }
    .AY-PostImg { aspect-ratio: 4 / 3; }
    .AY-PostReadHint { display: none; }
    .post-info { gap: 6px; padding: 9px 9px 10px !important; }
    .AY-PostDate { font-size: 9px; }
    .AY-PostTitle, .post-info h3 { min-height: 3.1em; font-size: 10px !important; line-height: 1.6 !important; }
    .AY-PostMore { padding-top: 7px; font-size: 9px; }
    .EntryHeader { padding: 15px !important; }
    .EntryTitle { font-size: 18px !important; }
    .EntryMeta { padding: 0 15px 10px; }
    .entry-content, .entry { padding: 15px !important; font-size: 13px !important; }
    .post-footer { padding: 0 15px 15px !important; }
    .AY-MatchInfo { padding: 12px !important; }
    .AY-MatchInfo h2 { font-size: 14px; }
    .table-bordered td, .table-bordered th { padding: 8px 7px !important; font-size: 10px; }
    .video-b { padding: 8px !important; }
    .video-serv { gap: 6px; }
    .video-serv a { flex: 1 1 90px; min-height: 37px; padding: 8px !important; font-size: 10px; }
    .wdthbox { padding: 14px !important; font-size: 12px; }
    footer { margin-top: 22px !important; padding-top: 12px !important; }
    .fo-section { width: 50%; padding: 10px 8px 16px !important; }
    .fo-title { font-size: 12px !important; }
    .footermb > .container,
    .footermb ul.container { justify-content: center; }
    .copyright-bar { padding: 12px 0; font-size: 10px; }
    .copyright-inner { gap: 6px; }
}

@media (max-width: 380px) {
    .match-container { grid-template-columns: minmax(0,1fr) 66px minmax(0,1fr); }
    .team-logo img { width: 42px !important; height: 42px !important; }
    .team-name { font-size: 9px; }
    .result { min-width: 55px; font-size: 16px !important; }
    .match-info li { font-size: 7px !important; }
    .PostsInner > .AlbaGridPosts,
    .PostsInner .AlbaGridPosts,
    .AlbaGridPosts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .AY-PostTitle, .post-info h3 { font-size: 9px !important; }
    .fo-section { width: 100%; }
}


/* ================================================================
   Alba YallaShoot — Monochrome Light / Dark refinement (v3)
   Visual-only overrides; match storage, querying and status logic stay intact.
   ================================================================ */
:root {
    --ys-accent: #202428;
    --ys-accent-strong: #111417;
    --MainColor: #202428;
    --main-color: #202428;
    --Wtitle-bg: #252a30;
    --todaybg: #252a30;
    --yrsdaybg: #e7e9eb;
    --tomorobg: #e7e9eb;
    --ServerBtn: #30363c;
    --ServerBtnHvr: #111417;
    --ys-ink: #171a1e;
    --ys-ink-soft: #252a30;
    --ys-copy: #333940;
    --ys-muted: #7b838c;
    --ys-page: #f4f5f6;
    --ys-card: #ffffff;
    --ys-card-soft: #f8f9fa;
    --ys-line: #e2e5e8;
    --ys-shadow: 0 9px 28px rgba(18, 22, 27, .055);
    --ys-shadow-hover: 0 16px 34px rgba(18, 22, 27, .11);
}

/* Monochrome header and social links shifted slightly to the physical left */
.AYaHeader {
    background: linear-gradient(112deg, #111417 0%, #1d2227 55%, #292e33 100%) !important;
    border-bottom-color: #454b51 !important;
}
.AYaHeader::after { background: #f4f5f6 !important; }
.AYaMainNav .HeaderSocial {
    position: relative;
    left: -13px;
    transform: translateX(-4px);
}
.AYaMainNav .nav .HeaderSocial a,
.AYaMainNav .nav .HeaderSocial li,
.AYaMainNav .ChangStyle {
    color: #f4f5f6 !important;
    background: rgba(255,255,255,.075) !important;
    border-color: rgba(255,255,255,.16) !important;
}
.AYaMainNav .nav .HeaderSocial a:hover,
.AYaMainNav .ChangStyle:hover {
    color: #111417 !important;
    background: #f1f2f3 !important;
    border-color: #f1f2f3 !important;
}

/* Neutral section headings and tabs */
.HeadTitle {
    background: linear-gradient(110deg, #171b1f, #292e33) !important;
    border-bottom-color: #60666d !important;
}
.HeadTitle h1::before,
.HeadTitle h2::before,
.HeadTitle h3::before { background: #e8eaec !important; }
.AY-FilterDays li a {
    color: #30363c !important;
    background: #f0f1f2 !important;
    border: 1px solid #d8dce0 !important;
    box-shadow: none !important;
}
.AY-FilterDays li a:hover,
.AY-FilterDays .toma a {
    color: #fff !important;
    background: #252a2f !important;
    border-color: #252a2f !important;
}
.AY-FilterDays .yema a,
.AY-FilterDays .tomat a { color: #363c42 !important; background: #e7e9eb !important; }
.AY-FilterDays .yema a:hover,
.AY-FilterDays .tomat a:hover { color: #fff !important; background: #252a2f !important; }

/* Small local-time note directly above yesterday / today / tomorrow links */
#today .HeadTitle { align-items: center; }
.match-day-tools {
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}
.match-timezone-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #c5cbd0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.match-timezone-note span { color: #fff; font-size: 13px; line-height: 1; }

/* Match table: cleaner fixture tiles, stronger score focus, monochrome states */
.albaflex { gap: 13px; padding: 17px !important; background: #fafbfc; }
.match-container {
    isolation: isolate;
    padding: 19px 20px 0 !important;
    background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%) !important;
    border: 1px solid #e0e3e6 !important;
    border-radius: 16px !important;
    box-shadow: 0 3px 12px rgba(18,22,27,.035) !important;
}
.match-container::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: #d5d9dd;
}
.match-container:hover {
    border-color: #b9c0c6 !important;
    box-shadow: 0 12px 28px rgba(18,22,27,.085) !important;
    transform: translateY(-2px);
}
.match-container > .right-team,
.match-container > .left-team,
.match-container > .match-center,
.match-container > .match-info { position: relative; z-index: 1; }
.team-logo img {
    width: 68px !important;
    height: 68px !important;
    padding: 7px;
    background: #f5f6f7 !important;
    border: 1px solid #e7e9eb !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 12px rgba(20,24,29,.045) !important;
}
.team-name { color: #252a30 !important; font-size: 14px; font-weight: 850; }
.match-center { position: relative; }
.match-time { color: #7b838b !important; font-size: 11px; font-weight: 700; }
.result {
    min-width: 94px;
    padding: 8px 12px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #171b1f, #30363c) !important;
    border: 1px solid #30363c !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 13px rgba(12,15,18,.12);
    font-size: 25px !important;
    letter-spacing: 3px;
}
.match-timing .date {
    min-height: 25px;
    padding: 4px 12px !important;
    color: #30363c !important;
    background: #eceef0 !important;
    border: 1px solid #dfe2e5;
    border-radius: 7px !important;
    font-size: 10px !important;
    font-weight: 800;
}
.match-timing .live,
.match-container.live .match-timing .date,
.match-container.started .match-timing .date { color: #fff !important; background: #20252a !important; border-color: #20252a !important; }
.match-timing .soon,
.match-container.soon .match-timing .date,
.match-container.comming-soon .match-timing .date { color: #252a30 !important; background: #e3e6e9 !important; border-color: #d2d7dc !important; }
.match-timing .end,
.match-container.end .match-timing .date,
.match-container.gools .match-timing .date,
.match-container.finished .match-timing .date { color: #fff !important; background: #747c84 !important; border-color: #747c84 !important; }
.match-container.live::before,
.match-container.started::before { background: #20252a; }
.match-info {
    background: #f4f5f6 !important;
    border-top: 1px solid #e5e8eb !important;
}
.match-info li { color: #68717a !important; border-left-color: #e2e5e8 !important; }
.match-info li::before { color: #343a40; font-size: 12px; font-weight: 800; }
.match-info li:nth-child(1)::before { content: "▣"; }
.match-info li:nth-child(2)::before { content: "◉"; }
.match-info li:nth-child(3)::before { content: "◆"; }

/* Remove the previous warm accent from cards, links and footer */
.AY-PInner:hover { border-color: #c7ccd1 !important; }
.AY-PostReadHint { background: #252a30 !important; }
.AY-PostDateDot { background: #555d65 !important; }
.AY-PostTitle a:hover,
.AY-PostMore,
.entry-content a,
.entry a { color: #242a30 !important; }
.AY-PostMore { border-top-color: #e7e9eb !important; }
.LoadMOreNews:hover,
.video-serv a:hover { background: #4a5158 !important; }
.spinner { color: #444b52 !important; }
.entry-content blockquote,
.entry blockquote { border-right-color: #50575e !important; }
footer { border-top-color: #555c63 !important; }
.fo-title::before { background: #d8dce0 !important; }
.copyright-separator { color: #d5d9dd !important; }

/* Dark mode: same restrained black / charcoal / silver palette */
body.Night {
    --ys-accent: #e4e7ea;
    --ys-accent-strong: #f3f4f5;
    --MainColor: #e4e7ea;
    --main-color: #e4e7ea;
    --Wtitle-bg: #30373e;
    --todaybg: #e4e7ea;
    --yrsdaybg: #353d44;
    --tomorobg: #353d44;
    --ServerBtn: #3a4249;
    --ServerBtnHvr: #e4e7ea;
    --ys-ink: #f0f2f4;
    --ys-ink-soft: #dce0e4;
    --ys-copy: #d4d9de;
    --ys-muted: #9ca5ae;
    --ys-page: #101316;
    --ys-card: #1b2025;
    --ys-card-soft: #22282e;
    --ys-line: #343b42;
    --ys-shadow: 0 9px 28px rgba(0,0,0,.22);
    --ys-shadow-hover: 0 16px 34px rgba(0,0,0,.34);
}
body.Night .albaflex { background: #14191e !important; }
body.Night .match-container {
    background: linear-gradient(180deg, #20262c 0%, #1a2025 100%) !important;
    border-color: #343c43 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.17) !important;
}
body.Night .match-container:hover { border-color: #626b74 !important; }
body.Night .match-container::before { background: #646d76; }
body.Night .team-name { color: #edf0f2 !important; }
body.Night .team-logo img { background: #f5f6f7 !important; border-color: #e1e4e7 !important; }
body.Night .match-time { color: #aeb6bd !important; }
body.Night .result { color: #171b1f !important; background: #eef0f2 !important; border-color: #eef0f2 !important; }
body.Night .match-timing .date { color: #e5e8eb !important; background: #3a4249 !important; border-color: #4a535b !important; }
body.Night .match-timing .live,
body.Night .match-container.live .match-timing .date,
body.Night .match-container.started .match-timing .date { color: #171b1f !important; background: #e9ecef !important; border-color: #e9ecef !important; }
body.Night .match-timing .soon,
body.Night .match-container.soon .match-timing .date,
body.Night .match-container.comming-soon .match-timing .date { color: #171b1f !important; background: #c6cdd3 !important; border-color: #c6cdd3 !important; }
body.Night .match-timing .end,
body.Night .match-container.end .match-timing .date,
body.Night .match-container.gools .match-timing .date,
body.Night .match-container.finished .match-timing .date { color: #fff !important; background: #555e66 !important; border-color: #555e66 !important; }
body.Night .match-info { background: #171c21 !important; border-top-color: #353d44 !important; }
body.Night .match-info li { color: #adb6be !important; border-left-color: #353d44 !important; }
body.Night .match-info li::before { color: #e0e4e7; }
body.Night .AY-PostReadHint { background: #e6e9ec !important; color: #171b1f !important; }
body.Night .AY-PostDateDot { background: #c6cbd0 !important; }
body.Night .AY-PostMore,
body.Night .AY-PostTitle a:hover,
body.Night .entry-content a,
body.Night .entry a { color: #edf0f2 !important; }
body.Night .AY-PostMore { border-top-color: #343b42 !important; }
body.Night .entry-content blockquote,
body.Night .entry blockquote { border-right-color: #c3c9ce !important; }
body.Night .copyright-separator { color: #e0e4e7 !important; }

@media (max-width: 1000px) {
    .AYaMainNav .HeaderSocial { left: auto; transform: none; }
}
@media (max-width: 640px) {
    #today .HeadTitle { align-items: stretch; }
    .match-day-tools { width: 100%; align-items: flex-start; gap: 6px; }
    .match-timezone-note { font-size: 9px; }
    .AY-FilterDays { width: 100%; }
    .AY-FilterDays li a { font-size: 10px !important; }
    .AYaMainNav .HeaderSocial { left: auto; transform: none; }
    .match-container { padding-top: 13px !important; }
}

/* ================================================================
   AlbaPanel live color binding + clean social controls (v4)
   Every configurable color below comes from the existing AlbaPanel controls.
   ================================================================ */
:root {
    --ys-accent: var(--alba-primary, var(--main-color, #202428));
    --ys-accent-strong: var(--alba-primary, var(--main-color, #202428));
    --MainColor: var(--alba-primary, var(--main-color, #202428));
    --main-color: var(--alba-primary, #202428);
    --Wtitle-bg: var(--alba-title-bg, #252a30);
    --yrsdaybg: var(--alba-yesterday-bg, #e7e9eb);
    --todaybg: var(--alba-today-bg, var(--alba-primary, #202428));
    --tomorobg: var(--alba-tomorrow-bg, #e7e9eb);
    --ServerBtn: var(--alba-primary, #30363c);
    --ServerBtnHvr: var(--alba-primary, #202428);
    --ys-page: var(--alba-body-bg, #f4f5f6);
    --ys-card: var(--LightColor, #ffffff);
    --ys-card-soft: var(--LightColor2, #f8f9fa);
    --ys-line: var(--BorderColor, #e2e5e8);
}

/* Header surfaces, logo, navigation and social buttons now honor AlbaPanel. */
.AYaHeader {
    background: var(--alba-header-bg, var(--header-bd, #ffffff)) !important;
    border-bottom-color: var(--alba-primary, #202428) !important;
}
.AYaHeader::after { background: var(--alba-primary, #202428) !important; }
.AYaLogo {
    background: var(--alba-logo-bg, var(--logo-bd, transparent)) !important;
    border-radius: 10px !important;
    padding: 7px 10px !important;
}
.AYaLogo span { color: var(--alba-logo-text, var(--logo-color, #ffffff)) !important; }
.AYaLogo span:last-child { color: var(--alba-logo-text, var(--logo-color, #ffffff)) !important; opacity: .78; }
.AYaMainNav .nav .MainMenu a,
.AYaMainNav .nav a { color: var(--alba-header-text, var(--header-color, #222222)) !important; }
.AYaMainNav .nav .MainMenu a:hover,
.AYaMainNav .nav .MainMenu a:focus,
.AYaMainNav .nav a:hover { color: var(--alba-primary, #202428) !important; }

/* Remove the old list-item frame which created a visible double border/shadow. */
.AYaMainNav .nav .HeaderSocial > li {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}
.AYaMainNav .nav .HeaderSocial > li:not(.ChangStyle) > a,
.AYaMainNav .nav .HeaderSocial > li.ChangStyle {
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(127, 135, 143, .38) !important;
    border-radius: 10px !important;
    background: color-mix(in srgb, var(--alba-header-text, var(--header-color, #222222)) 13%, var(--alba-header-bg, var(--header-bd, #ffffff))) !important;
    box-shadow: none !important;
    filter: none !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.AYaMainNav .nav .HeaderSocial > li:not(.ChangStyle) > a:hover,
.AYaMainNav .nav .HeaderSocial > li.ChangStyle:hover {
    background: var(--alba-primary, #202428) !important;
    border-color: var(--alba-primary, #202428) !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}
.AYaMainNav .HeaderSocial .twitter a,
.AYaMainNav .HeaderSocial .facebook a,
.AYaMainNav .HeaderSocial .google-news a { background-image: none; }
.AYaMainNav .HeaderSocial a .icon,
.AYaMainNav .HeaderSocial .icon.ChangStylei { filter: none !important; }

/* On wide screens the menu consumes the flexible space and the icons sit at the far left. */
@media (min-width: 1001px) {
    .AYaHeader > .container {
        direction: rtl;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 22px !important;
    }
    .AYaLogo { flex: 0 0 auto !important; }
    .AYaMainNav {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        float: none !important;
    }
    .AYaMainNav .HdMenuArea {
        display: flex !important;
        width: 100% !important;
        flex: 1 1 auto !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }
    .AYaMainNav .MainMenu { flex: 1 1 auto !important; min-width: 0; }
    .AYaMainNav .HeaderSocial {
        position: static !important;
        flex: 0 0 auto !important;
        left: auto !important;
        right: auto !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* AlbaPanel's block title and day selector colors. */
.HeadTitle {
    background: var(--alba-title-bg, var(--Wtitle-bg, #252a30)) !important;
}
.HeadTitle h1::before,
.HeadTitle h2::before,
.HeadTitle h3::before { background: var(--alba-primary, #202428) !important; }
.AY-FilterDays li a {
    color: var(--header-color, #222222) !important;
    background: var(--alba-today-bg, var(--todaybg, #202428)) !important;
    border-color: color-mix(in srgb, var(--alba-today-bg, var(--todaybg, #202428)) 55%, #ffffff) !important;
}
.AY-FilterDays .yema a { background: var(--alba-yesterday-bg, var(--yrsdaybg, #e7e9eb)) !important; }
.AY-FilterDays .tomat a { background: var(--alba-tomorrow-bg, var(--tomorobg, #e7e9eb)) !important; }
.AY-FilterDays .toma a,
.AY-FilterDays li a:hover {
    color: #ffffff !important;
    background: var(--alba-primary, #202428) !important;
    border-color: var(--alba-primary, #202428) !important;
}
.match-timezone-note span { color: var(--alba-primary, #202428) !important; }

/* Fixture cards use the light/dark base tokens; the selected primary color is the accent. */
.albaflex { background: var(--ys-card-soft) !important; }
.match-container {
    background: linear-gradient(180deg, var(--ys-card) 0%, var(--ys-card-soft) 100%) !important;
    border-color: var(--ys-line) !important;
}
.match-container::before { background: var(--alba-primary, #202428) !important; }
.match-container:hover { border-color: var(--alba-primary, #202428) !important; }
.team-name { color: var(--ys-ink) !important; }
.result {
    background: var(--alba-primary, #202428) !important;
    border-color: var(--alba-primary, #202428) !important;
}
.match-info {
    background: var(--ys-card-soft) !important;
    border-top-color: var(--ys-line) !important;
}
.match-info li { border-left-color: var(--ys-line) !important; }
.match-info li::before { color: var(--alba-primary, #202428) !important; }

/* News, articles, links and footer accents inherit the selected primary color. */
.AY-PInner:hover { border-color: var(--alba-primary, #202428) !important; }
.AY-PostReadHint { background: var(--alba-primary, #202428) !important; }
.AY-PostDateDot { background: var(--alba-primary, #202428) !important; }
.AY-PostTitle a:hover,
.AY-PostMore,
.entry-content a,
.entry a { color: var(--alba-primary, #202428) !important; }
.AY-PostMore { border-top-color: var(--ys-line) !important; }
.LoadMOreNews:hover,
.video-serv a:hover { background: var(--alba-primary, #202428) !important; }
.spinner { color: var(--alba-primary, #202428) !important; }
.entry-content blockquote,
.entry blockquote { border-right-color: var(--alba-primary, #202428) !important; }
footer {
    background: var(--alba-footer-bg, var(--footer-bd, #ffffff)) !important;
    color: var(--alba-footer-text, var(--footer-color, #222222)) !important;
    border-top-color: var(--alba-footer-line, var(--footer-border, #dddddd)) !important;
}
.fo-title { border-bottom-color: var(--alba-footer-line, var(--footer-border, #dddddd)) !important; }
.fo-title::before { background: var(--alba-primary, #202428) !important; }
.footermb {
    background: var(--alba-copyright-bg, var(--cop-bd, #f4f5f6)) !important;
    color: var(--alba-copyright-text, var(--cop-color, #222222)) !important;
}
.footermb a { color: inherit !important; }
.copyright-separator { color: var(--alba-primary, #202428) !important; }

/* Dark mode remains neutral while retaining the AlbaPanel-selected primary accent. */
body.Night {
    --ys-accent: var(--alba-primary, #202428);
    --ys-accent-strong: var(--alba-primary, #202428);
    --MainColor: var(--alba-primary, #202428);
    --main-color: var(--alba-primary, #202428);
    --Wtitle-bg: var(--alba-title-bg, #252a30);
    --todaybg: var(--alba-today-bg, var(--alba-primary, #202428));
    --yrsdaybg: var(--alba-yesterday-bg, #353b41);
    --tomorobg: var(--alba-tomorrow-bg, #353b41);
    --ys-page: #101316;
    --ys-card: #1b2025;
    --ys-card-soft: #22282e;
    --ys-line: #343b42;
}
body.Night .AYaHeader {
    background: var(--header-bd, #1b2025) !important;
    border-bottom-color: var(--alba-primary, #202428) !important;
}
body.Night .AYaLogo { background: var(--logo-bd, #1b2025) !important; }
body.Night .AYaMainNav .nav .MainMenu a,
body.Night .AYaMainNav .nav a { color: var(--header-color, #e8ecef) !important; }
body.Night .albaflex { background: #14191e !important; }
body.Night .match-container {
    background: linear-gradient(180deg, var(--ys-card-soft) 0%, var(--ys-card) 100%) !important;
    border-color: var(--ys-line) !important;
}
body.Night .match-container::before { background: var(--alba-primary, #e4e7ea) !important; }
body.Night .team-name { color: var(--ys-ink) !important; }
body.Night .match-info { background: #171c21 !important; border-top-color: var(--ys-line) !important; }
body.Night .match-info li { border-left-color: var(--ys-line) !important; }
body.Night .AY-PostReadHint { background: var(--alba-primary, #e4e7ea) !important; color: #ffffff !important; }
body.Night .AY-PostTitle a:hover,
body.Night .AY-PostMore,
body.Night .entry-content a,
body.Night .entry a { color: var(--alba-primary, #e4e7ea) !important; }
body.Night footer {
    background: var(--footer-bd, #171c21) !important;
    color: var(--footer-color, #e4e8eb) !important;
    border-top-color: var(--footer-border, #343b42) !important;
}
body.Night .footermb {
    background: var(--cop-bd, #101316) !important;
    color: var(--cop-color, #d4d9de) !important;
}
body.Night .copyright-separator { color: var(--alba-primary, #e4e7ea) !important; }

@media (max-width: 1000px) {
    .AYaMainNav .HeaderSocial { left: auto !important; right: auto !important; transform: none !important; }
    .AYaMainNav .HeaderSocial > li { border: 0 !important; background: transparent !important; box-shadow: none !important; }
}

/* Complete AlbaPanel text-color coverage for footer and secondary dark widgets. */
.fo-title,
.fo-section li a,
footer .fo-section li a,
footer .fo-section p { color: var(--alba-footer-text, var(--footer-color, #222222)) !important; }
.copyright-bar,
.copyright-inner,
.copyright-inner a,
.copyright-brand { color: var(--alba-copyright-text, var(--cop-color, #222222)) !important; }
.AY-FilterDays .yema a,
.AY-FilterDays .tomat a { color: #30363c !important; }
.AY-FilterDays .toma a,
.AY-FilterDays li a:hover { color: #ffffff !important; }
body.Night .aspi_title,
body.Night .Night .aspi_title,
body.Night .aspi_eve_2,
body.Night #aspi_evebody .eveblock,
body.Night #aspi_evebody li h3,
body.Night .aspi_evIcon,
body.Night #aspi_evebody li > span,
body.Night #aspi_evebody div.r .eveblock::after,
body.Night #aspi_events::after,
body.Night .wdthbox {
    background-color: #1b2025 !important;
    border-color: #343b42 !important;
}
body.Night .aspi_lineup li { border-color: #343b42 !important; }

/* ================================================================
   Alba YallaShoot — Match Center redesign v5
   Compact editorial scoreboard; no match/storage logic is changed.
   AlbaPanel color variables remain the source of configurable colors.
   ================================================================ */
:root {
    --ys-accent: var(--alba-primary, #24292e);
    --ys-page: var(--alba-body-bg, #f3f4f5);
    --ys-card: var(--LightColor, #ffffff);
    --ys-card-soft: var(--LightColor2, #f7f8f9);
    --ys-line: var(--BorderColor, #e4e7ea);
    --ys-text: var(--body-color, #282d32);
    --ys-radius: 15px;
}

/* A calmer frame: the match center feels like one dashboard, not stacked panels. */
.BoxContent {
    overflow: hidden !important;
    margin: 0 0 28px !important;
    border: 1px solid var(--ys-line) !important;
    border-radius: 17px !important;
    background: var(--ys-card) !important;
    box-shadow: 0 8px 26px rgba(24, 31, 38, .045) !important;
}
#today { background: var(--ys-card) !important; }
#today .HeadTitle {
    min-height: 66px !important;
    padding: 13px 20px !important;
    gap: 18px !important;
    background: var(--alba-title-bg, var(--Wtitle-bg, #252a30)) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(120, 128, 136, .18) !important;
}
#today .HeadTitle .boxstitle {
    flex: 0 0 auto !important;
    width: auto !important;
    font-size: 17px !important;
    letter-spacing: -.2px;
}
#today .HeadTitle .boxstitle::before { height: 21px !important; }
.match-day-tools {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    margin: 0 !important;
}
.match-timezone-note {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 2px !important;
    color: rgba(255,255,255,.76) !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}
.match-timezone-note span { color: inherit !important; font-size: 11px !important; }
.AY-FilterDays { display: flex !important; gap: 5px !important; margin: 0 !important; }
.AY-FilterDays li a {
    min-height: 30px !important;
    padding: 4px 11px !important;
    border: 1px solid rgba(120,128,136,.22) !important;
    border-radius: 7px !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}
.AY-FilterDays .toma a,
.AY-FilterDays li a:hover {
    background: var(--alba-primary, #24292e) !important;
    border-color: var(--alba-primary, #24292e) !important;
    color: #fff !important;
}
.AY-FilterDays .yema a,
.AY-FilterDays .tomat a {
    background: rgba(255,255,255,.88) !important;
    color: #343a40 !important;
}

/* Breathing space around the fixtures, while reducing the large empty card area. */
.albaflex {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 13px !important;
    background: var(--ys-card-soft) !important;
}
.match-container {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 142px minmax(0, 1fr) !important;
    grid-template-areas: "right center left" "info info info" !important;
    grid-template-rows: minmax(74px, auto) auto !important;
    align-items: center !important;
    gap: 0 15px !important;
    min-height: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 19px 0 !important;
    overflow: hidden !important;
    background: var(--ys-card) !important;
    border: 1px solid var(--ys-line) !important;
    border-radius: 13px !important;
    box-shadow: 0 2px 7px rgba(21, 29, 36, .025) !important;
    transform: none !important;
    transition: border-color .18s ease, box-shadow .18s ease !important;
}
.match-container::before { display: none !important; }
.match-container:hover {
    border-color: color-mix(in srgb, var(--alba-primary, #24292e) 45%, var(--ys-line)) !important;
    box-shadow: 0 7px 17px rgba(21, 29, 36, .07) !important;
    transform: none !important;
}
.match-container > .right-team { grid-area: right !important; }
.match-container > .match-center { grid-area: center !important; }
.match-container > .left-team { grid-area: left !important; }
.match-container > .match-info { grid-area: info !important; }
.right-team,
.left-team {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    min-height: 70px !important;
    width: 100% !important;
    float: none !important;
}
.right-team { direction: rtl !important; }
.left-team { direction: ltr !important; }
.team-logo {
    display: flex !important;
    flex: 0 0 55px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 55px !important;
    min-height: 55px !important;
    margin: 0 !important;
    float: none !important;
}
.team-logo img {
    display: block !important;
    width: 55px !important;
    height: 55px !important;
    margin: 0 !important;
    padding: 6px !important;
    object-fit: contain !important;
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 13px !important;
    box-shadow: none !important;
}
.team-name {
    display: block !important;
    flex: 0 1 auto !important;
    max-width: calc(100% - 68px) !important;
    margin: 0 !important;
    color: var(--ys-ink, #20252a) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
}
.match-center {
    display: flex !important;
    align-self: stretch !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    width: 100% !important;
    float: none !important;
}
.match-timing {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin: 0 auto !important;
    white-space: nowrap !important;
}
.match-time {
    color: var(--ys-muted, #7b838b) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
.result {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 66px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 4px 9px !important;
    color: #fff !important;
    background: var(--alba-primary, #24292e) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    line-height: 1.2 !important;
}
.match-timing .date {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 22px !important;
    margin: 0 !important;
    padding: 3px 9px !important;
    color: #394047 !important;
    background: #eef0f2 !important;
    border: 1px solid #e2e5e8 !important;
    border-radius: 6px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}
.match-timing .live,
.match-timing .live2,
.match-container.live .match-timing .date,
.match-container.started .match-timing .date {
    color: #fff !important;
    background: #252a30 !important;
    border-color: #252a30 !important;
}
.match-timing .soon,
.match-container.soon .match-timing .date,
.match-container.comming-soon .match-timing .date {
    color: #343a40 !important;
    background: #e5e8eb !important;
    border-color: #d9dde1 !important;
}
.match-timing .end,
.match-container.end .match-timing .date,
.match-container.gools .match-timing .date,
.match-container.finished .match-timing .date {
    color: #fff !important;
    background: #707982 !important;
    border-color: #707982 !important;
}
.match-info {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 8px 0 9px !important;
    overflow: hidden !important;
    background: transparent !important;
    border-top: 1px solid var(--ys-line) !important;
}
.match-info ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.match-info li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    min-height: 25px !important;
    padding: 3px 7px !important;
    color: var(--ys-muted, #747d86) !important;
    background: var(--ys-card-soft) !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
}
.match-info li::before { color: var(--alba-primary, #30363c) !important; font-size: 10px !important; }
.match-info li span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overlay-match { border-radius: 13px !important; }

/* The compact layout preserves all three information fields on tablets and phones. */
@media (max-width: 767px) {
    #today .HeadTitle {
        align-items: stretch !important;
        gap: 9px !important;
        padding: 12px 13px !important;
    }
    #today .HeadTitle .boxstitle { width: 100% !important; font-size: 15px !important; }
    .match-day-tools { width: 100% !important; align-items: flex-start !important; }
    .match-timezone-note { font-size: 9px !important; }
    .AY-FilterDays { width: 100% !important; gap: 5px !important; }
    .AY-FilterDays li { flex: 1 1 0 !important; min-width: 0 !important; }
    .AY-FilterDays li a { width: 100% !important; padding: 5px 3px !important; font-size: 9px !important; }
    .albaflex { gap: 8px !important; padding: 9px !important; }
    .match-container {
        grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr) !important;
        grid-template-rows: minmax(77px, auto) auto !important;
        gap: 0 5px !important;
        padding: 10px 8px 0 !important;
        border-radius: 11px !important;
    }
    .right-team, .left-team { gap: 6px !important; min-height: 72px !important; }
    .team-logo { flex-basis: 43px !important; width: 43px !important; min-height: 43px !important; }
    .team-logo img { width: 43px !important; height: 43px !important; padding: 5px !important; border-radius: 10px !important; }
    .team-name { max-width: calc(100% - 49px) !important; font-size: 11px !important; line-height: 1.45 !important; }
    .match-time { font-size: 9px !important; }
    .result { min-width: 52px !important; min-height: 27px !important; padding: 3px 5px !important; font-size: 15px !important; letter-spacing: 1px !important; }
    .match-timing .date { min-height: 19px !important; padding: 2px 5px !important; font-size: 8px !important; }
    .match-info { margin-top: 9px !important; padding: 7px 0 !important; }
    .match-info ul { gap: 4px !important; }
    .match-info li { gap: 3px !important; min-height: 23px !important; padding: 3px 3px !important; font-size: 8px !important; }
    .match-info li::before { font-size: 8px !important; }
}
@media (max-width: 380px) {
    .match-container { grid-template-columns: minmax(0,1fr) 65px minmax(0,1fr) !important; }
    .right-team, .left-team { gap: 4px !important; }
    .team-logo { flex-basis: 37px !important; width: 37px !important; min-height: 37px !important; }
    .team-logo img { width: 37px !important; height: 37px !important; padding: 4px !important; }
    .team-name { max-width: calc(100% - 41px) !important; font-size: 10px !important; }
    .match-info li { font-size: 7px !important; }
}

/* Neutral charcoal night palette; AlbaPanel still controls the chosen accent. */
body.Night .BoxContent { background: var(--ys-card) !important; border-color: var(--ys-line) !important; }
body.Night #today .HeadTitle { background: var(--alba-title-bg, #252a30) !important; }
body.Night .albaflex { background: var(--ys-page) !important; }
body.Night .match-container {
    background: var(--ys-card) !important;
    border-color: var(--ys-line) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.14) !important;
}
body.Night .team-name { color: #f0f2f4 !important; }
body.Night .match-time { color: #aeb6bd !important; }
body.Night .result { color: #171b1f !important; background: var(--alba-primary, #e5e8eb) !important; }
body.Night .match-timing .date { color: #e5e8eb !important; background: #343b42 !important; border-color: #454d55 !important; }
body.Night .match-timing .live,
body.Night .match-timing .live2,
body.Night .match-container.live .match-timing .date,
body.Night .match-container.started .match-timing .date { color: #171b1f !important; background: #e5e8eb !important; border-color: #e5e8eb !important; }
body.Night .match-timing .soon,
body.Night .match-container.soon .match-timing .date,
body.Night .match-container.comming-soon .match-timing .date { color: #171b1f !important; background: #cbd1d6 !important; border-color: #cbd1d6 !important; }
body.Night .match-info { background: transparent !important; border-top-color: var(--ys-line) !important; }
body.Night .match-info li { color: #b6bec5 !important; background: #252c32 !important; }
body.Night .AY-FilterDays .yema a,
body.Night .AY-FilterDays .tomat a { color: #252a30 !important; background: #e4e7ea !important; }
body.Night .AY-FilterDays .toma a { color: #171b1f !important; background: var(--alba-primary, #e4e7ea) !important; }
