/* ================================================================
   YallaShoot reference skin — inspired by yalashoot.co
   Independent palette, responsive layout, no match-data dependencies.
   ================================================================ */
:root {
  --main-color: #c91f2b;
  --MainColor: #c91f2b;
  --body-bd: #f3f5f8;
  --header-bd: #ffffff;
  --header-color: #1d2735;
  --logo-bd: #c91f2b;
  --logo-color: #ffffff;
  --Wtitle-bg: #202a38;
  --yrsdaybg: #536174;
  --todaybg: #c91f2b;
  --tomorobg: #536174;
  --footer-bd: #ffffff;
  --footer-color: #344054;
  --footer-border: #e7eaf0;
  --cop-bd: #202a38;
  --cop-color: #ffffff;
  --GrayColor: #ffffff;
  --Gray2: #e5e9f0;
  --Gray3: #f1f3f7;
  --LightColor: #ffffff;
  --DarkColor: #202a38;
  --LightColor2: #f7f8fb;
  --BorderColor: #e5e9f0;
  --ServerBtn: #202a38;
  --ServerBtnHvr: #c91f2b;
  --ys-text: #202a38;
  --ys-muted: #778397;
  --ys-panel: #ffffff;
  --ys-panel-soft: #f7f8fb;
  --ys-border: #e5e9f0;
  --ys-accent: #c91f2b;
  --ys-accent-hover: #a91621;
  --ys-accent-soft: rgba(201, 31, 43, .08);
  --ys-accent-shadow: rgba(201, 31, 43, .16);
  --ys-success: #16834a;
  --ys-live: #d51f30;
  --ys-shadow: 0 8px 24px rgba(22, 34, 51, .06);
}
:root body.Night {
  --main-color: #e33a45;
  --MainColor: #e33a45;
  --body-bd: #101318;
  --header-bd: #171b22;
  --header-color: #f3f5f8;
  --logo-bd: #c91f2b;
  --logo-color: #ffffff;
  --Wtitle-bg: #242a33;
  --yrsdaybg: #3b434f;
  --todaybg: #c91f2b;
  --tomorobg: #3b434f;
  --footer-bd: #171b22;
  --footer-color: #e7eaf0;
  --footer-border: #2b313b;
  --cop-bd: #0c0f13;
  --cop-color: #c8ced8;
  --GrayColor: #1b2028;
  --Gray2: #2d343f;
  --Gray3: #252c36;
  --LightColor: #171c23;
  --DarkColor: #252c36;
  --LightColor2: #202630;
  --BorderColor: #2d343f;
  --ServerBtn: #343c48;
  --ServerBtnHvr: #c91f2b;
  --ys-text: #eef1f6;
  --ys-muted: #9aa4b2;
  --ys-panel: #171c23;
  --ys-panel-soft: #202630;
  --ys-border: #303844;
  --ys-accent: #e33a45;
  --ys-accent-hover: #f04b55;
  --ys-accent-soft: rgba(227, 58, 69, .08);
  --ys-accent-shadow: rgba(227, 58, 69, .16);
  --ys-success: #35b875;
  --ys-live: #ef3e4d;
  --ys-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

html { scroll-behavior: smooth; }
body {
  background: var(--body-bd) !important;
  color: var(--ys-text) !important;
  font-family: 'Neo Sans Arabic', Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  transition: background-color .2s ease, color .2s ease;
}
body, body * { box-sizing: border-box; }
body a { color: inherit; text-decoration: none; }
body a:hover { color: var(--ys-accent); }
.container { max-width: 1120px; }

/* Header and navigation */
.AYaHeader {
  background: var(--header-bd) !important;
  border-bottom: 3px solid var(--ys-accent);
  box-shadow: 0 3px 16px rgba(20, 28, 40, .07);
  margin: 0 0 22px;
  overflow: visible;
}
.AYaHeader > .container {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.AYaLogo {
  flex: 0 0 190px;
  width: 190px;
  min-height: 58px;
  margin: 8px 0;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--logo-bd) !important;
  border-radius: 10px;
  box-shadow: 0 5px 14px var(--ys-accent-shadow);
}
.AYaLogo > a { width: 100%; align-items: center; justify-content: center; }
.AYaLogo span { color: var(--logo-color) !important; font-size: 23px; line-height: 1.35; font-weight: 800; }
.AYaLogo span:last-child { font-size: 11px; opacity: .85; direction: ltr; }
.AYaLogo .LogoImage { float: none; height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.AYaMainNav {
  float: none;
  width: auto;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.AYaMainNav .nav {
  width: 100%;
  min-height: 72px;
  float: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.AYaMainNav .nav .MainMenu {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}
.AYaMainNav .nav .MainMenu li { float: none; }
.AYaMainNav .nav .MainMenu a {
  height: 44px;
  padding: 0 13px;
  color: var(--header-color) !important;
  border-radius: 8px;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease;
}
.AYaMainNav .nav .MainMenu a:hover,
.AYaMainNav .nav .current-menu-item > a,
.AYaMainNav .nav .current_page_item > a {
  color: var(--ys-accent) !important;
  background: var(--ys-accent-soft);
  border: 0;
}
.HeaderSocial {
  float: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.AYaMainNav .nav .HeaderSocial li { float: none; margin: 0; }
.AYaMainNav .nav .HeaderSocial a,
.AYaMainNav .nav .HeaderSocial li.ChangStyle,
.AYaMainNav .nav .ChangStyle {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--ys-border);
  border-radius: 9px;
  background: var(--ys-panel-soft);
  box-shadow: none;
  cursor: pointer;
}
.AYaMainNav .HeaderSocial .twitter a,
.AYaMainNav .HeaderSocial .facebook a,
.AYaMainNav .HeaderSocial .google-news a,
.AYaMainNav .HeaderSocial .telegram a { background: var(--ys-panel-soft); }
.AYaMainNav .HeaderSocial a:hover,
.AYaMainNav .HeaderSocial li.ChangStyle:hover { background: var(--ys-accent) !important; border-color: var(--ys-accent); }
.AYaMainNav .nav .HeaderSocial a .icon,
.AYaMainNav .nav .icon.ChangStylei {
  width: 17px;
  height: 17px;
  margin: 0 auto;
  filter: none;
}
.AYaMainNav .nav .HeaderSocial a .icon { opacity: .88; filter: brightness(0) saturate(100%) opacity(.62); }
.AYaMainNav .nav .HeaderSocial a:hover .icon { filter: none; }
.AYaMainNav .nav .icon.ChangStylei { filter: brightness(0) saturate(100%) opacity(.62); }
.AYaMainNav .nav .icon.ChangStylei { background-size: contain; }
.AYaMainNav .nav .ChangStyle { display: grid; }
.MobMenuIcon.op { border-radius: 9px; }

/* Match schedule shell */
#today { overflow: hidden; }
.BoxContent {
  background: var(--ys-panel) !important;
  border: 1px solid var(--ys-border);
  border-radius: 13px;
  box-shadow: var(--ys-shadow);
  overflow: hidden;
  margin-bottom: 22px;
}
.HeadTitle {
  min-height: 64px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--ys-panel) !important;
  border-bottom: 1px solid var(--ys-border);
  border-radius: 0;
}
.HeadTitle h1, .HeadTitle h2, .HeadTitle h3,
.HeadTitle h2.boxstitle {
  float: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent !important;
  color: var(--ys-text) !important;
  border-radius: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}
.HeadTitle h2.boxstitle::before,
.HeadTitle h1::before,
.HeadTitle h2:not(.boxstitle)::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 22px;
  flex: 0 0 4px;
  border-radius: 4px;
  background: var(--ys-accent);
}
.AY-TableHeadingDay {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--ys-panel-soft);
  color: var(--ys-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.AY-FilterDays {
  float: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.AY-FilterDays li { float: none !important; margin: 0; }
.AY-FilterDays li a,
.AY-FilterDays li .shomo {
  min-width: 88px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ys-border);
  border-radius: 8px;
  background: var(--ys-panel-soft) !important;
  color: var(--ys-muted) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: .18s ease;
}
.AY-FilterDays li.active a,
.AY-FilterDays li a:hover {
  color: #fff !important;
  background: var(--ys-accent) !important;
  border-color: var(--ys-accent);
}
.AY-TimezoneNote {
  min-height: 34px;
  padding: 7px 17px 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ys-muted);
  font-size: 11px;
  font-weight: 600;
}
.AY-TimezoneIcon { color: var(--ys-accent); font-size: 15px; line-height: 1; }
.albaflex {
  width: 100%;
  padding: 5px 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Match row: teams on the sides, kickoff/score/status in the center */
.match-container {
  order: 3;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 92px;
  margin: 0;
  padding: 10px 16px 0;
  overflow: hidden;
  text-align: center;
  background: var(--ys-panel) !important;
  border: 1px solid var(--ys-border);
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(25, 35, 50, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.match-container:hover {
  border-color: var(--ys-accent);
  box-shadow: 0 5px 16px rgba(25, 35, 50, .08);
}
.right-team, .left-team, .match-center {
  width: auto !important;
  min-width: 0;
  float: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.right-team { direction: rtl; justify-content: flex-start; text-align: right; }
.left-team { direction: ltr; justify-content: flex-start; text-align: left; }
.team-logo {
  width: 48px !important;
  height: 48px;
  flex: 0 0 48px;
  float: none !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-logo img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px;
  max-height: 44px;
  margin: 0 !important;
  padding: 3px;
  display: block;
  object-fit: contain;
  background: var(--ys-panel-soft);
  border: 1px solid var(--ys-border);
  border-radius: 50%;
}
.team-name {
  max-width: calc(100% - 58px);
  margin: 0 !important;
  display: block;
  color: var(--ys-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.match-center { flex-direction: column; gap: 0; }
.match-timing { min-width: 112px; margin: 0 !important; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.match-time {
  color: var(--ys-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  direction: ltr;
}
.result {
  min-width: 62px;
  margin: 0 !important;
  padding: 1px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ys-text);
  background: var(--ys-panel-soft);
  border: 1px solid var(--ys-border);
  border-radius: 7px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.55;
  direction: ltr;
}
.match-timing .date {
  min-height: 20px;
  margin: 0 !important;
  padding: 1px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--ys-muted);
  background: var(--ys-panel-soft);
  border: 1px solid var(--ys-border);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
.match-timing .not-start,
.match-timing .comming-soon { color: var(--ys-muted); }
.match-timing .soon, .soon .match-timing .date { color: #fff; background: var(--ys-success); border-color: var(--ys-success); }
.match-timing .live, .live .match-timing .date,
.match-timing .live2, .live .match-timing .live2,
.match-timing .date.live { color: #fff; background: var(--ys-live); border-color: var(--ys-live); }
.match-timing .end, .gools .match-timing .date { color: var(--ys-muted); background: var(--ys-panel-soft); border-color: var(--ys-border); }
.live.match-container, .match-container.live { border-right: 3px solid var(--ys-live); }
.match-container.soon, .match-container.comming-soon { border-right: 3px solid var(--ys-success); }
.match-container.end, .match-container.gools { border-right: 3px solid #9aa3b2; }
.match-info {
  grid-column: 1 / -1;
  width: calc(100% + 32px);
  margin: 8px -16px 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border-top: 1px solid var(--ys-border);
  background: var(--ys-panel-soft);
}
.match-info ul { width: 100%; margin: 0; padding: 0; display: flex; align-items: center; }
.match-info li {
  width: 33.333%;
  min-width: 0;
  min-height: 31px;
  margin: 0;
  padding: 4px 9px;
  float: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ys-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-info li + li { border-right: 1px solid var(--ys-border); }
.match-info li:first-child::before { content: "▣"; color: var(--ys-accent); margin: 0; }
.match-info li:nth-child(2)::before { content: "◉"; color: var(--ys-muted); margin: 0; }
.match-info li:last-child::before { content: "◆"; color: var(--ys-muted); margin: 0; }
.match-info li::before { margin: 0; }
.match-container.started .match-time,
.match-container.gools .match-time,
.match-container.end .match-time,
.match-container.comming .result,
.match-container.comming-soon .result,
.match-container.soon .result { display: none; }
.match-container a { color: var(--ys-text); }
.match-container .overlay-match { z-index: 5; border-radius: 10px; }
.no-data__msg {
  min-height: 160px;
  padding: 25px;
  color: var(--ys-muted);
  background: var(--ys-panel-soft);
  border: 1px dashed var(--ys-border);
  border-radius: 10px;
}

/* News cards */
.PostsInner {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  overflow: hidden;
}
.PostsInner .AY-PItem,
.AY-PItem { width: auto !important; min-width: 0; float: none !important; margin: 0 !important; }
.AY-PInner {
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  background: var(--ys-panel);
  border: 1px solid var(--ys-border);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(25, 35, 50, .035);
  transition: transform .18s ease, box-shadow .18s ease;
}
.AY-PInner:hover { transform: translateY(-2px); box-shadow: var(--ys-shadow); }
.AY-PostImg { overflow: hidden; background: var(--ys-panel-soft); }
.AY-PostImg a { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.AY-PostImg img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.AY-PInner:hover .AY-PostImg img { transform: scale(1.035); }
.post-info { padding: 9px 11px 12px; }
.post-info h3 {
  height: auto;
  min-height: 44px;
  max-height: 50px;
  margin: 0;
  overflow: hidden;
  color: var(--ys-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}
.post-info h3 a { color: var(--ys-text) !important; }
.post-info h3 a:hover { color: var(--ys-accent) !important; }

/* Match page and article surfaces */
#content.site-content { max-width: 1120px; }
.EntryHeader, .EntryHeaderOuter { background: var(--ys-panel); }
.EntryHeader { border-bottom: 1px solid var(--ys-border); }
.EntryTitle { padding: 15px 18px; color: var(--ys-text); font-size: 22px; font-weight: 800; line-height: 1.6; }
.EntryMeta { color: var(--ys-muted); background: var(--ys-panel-soft); border-top: 1px solid var(--ys-border); }
.entry-content.entry { color: var(--ys-text); font-size: 16px; line-height: 2; text-align: right; }
.entry-content.entry p { margin-bottom: 14px; }
.entry h1, .entry h2, .entry h3 { display: block; width: fit-content; max-width: 100%; padding: 6px 12px; color: var(--ys-text); background: var(--ys-panel-soft); border-right: 3px solid var(--ys-accent); border-radius: 7px; }
.entry img { max-width: 100%; height: auto; border-radius: 9px; }
.coMatch { padding: 10px; background: var(--ys-panel); border: 1px solid var(--ys-border); border-radius: 12px; box-shadow: var(--ys-shadow); }
.backMatch { border-radius: 10px; background-position: center; }
.baMatch { background: linear-gradient(135deg, rgba(19, 25, 34, .88), rgba(35, 42, 53, .82)); }
.colmd { padding: 34px 0 26px; color: #fff; }
.teamlogo { width: 88px; height: 88px; margin: 8px auto; background-size: contain; }
.teamname { color: #fff; font-size: 17px; font-weight: 800; }
.matchvs { color: #fff; font-size: 42px; margin: 0; }
.AY-MatchInfo { margin-top: 16px; overflow: hidden; background: var(--ys-panel); border: 1px solid var(--ys-border); border-radius: 10px; }
.AY-MatchInfo h2 { margin: 0; padding: 12px 15px; color: var(--ys-text); background: var(--ys-panel-soft); border-bottom: 1px solid var(--ys-border); font-size: 16px; font-weight: 800; }
.AY-MatchInfo .table-bordered { background: var(--ys-panel); border: 0; border-radius: 0; }
.AY-MatchInfo .table-bordered tr { border-bottom: 1px solid var(--ys-border); }
.AY-MatchInfo .table-bordered th, .AY-MatchInfo .table-bordered td { padding: 10px 13px; color: var(--ys-text); border-color: var(--ys-border); }
.AY-MatchInfo .table-bordered th { width: 38%; font-weight: 700; }
.AY-MatchInfo .mi-icon { margin-left: 5px; }
.video-serv a { border-radius: 7px; background: var(--ys-accent); }
.video-serv a:hover { background: var(--ys-accent-hover); }
.server-body iframe { border-radius: 9px; }

/* Footer and copyright */
footer {
  margin-top: 26px;
  background: var(--footer-bd) !important;
  border-top: 1px solid var(--ys-border);
  box-shadow: none;
}
footer > .container { padding-top: 10px; padding-bottom: 10px; }
.fo-title { color: var(--ys-text); border-bottom: 1px solid var(--ys-border); }
.fo-section li a { color: var(--ys-muted); }
.fo-section li a:hover { color: var(--ys-accent); }
.footermb { background: var(--cop-bd) !important; color: var(--cop-color) !important; }
.footermb a { color: var(--cop-color) !important; }
.AY-CopyrightBar { background: var(--cop-bd); border-top: 1px solid rgba(255,255,255,.08); color: var(--cop-color); }
.AY-CopyrightBar .container {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 12px;
}
.AY-CopyrightCredit { opacity: .65; direction: ltr; }

/* Night theme: same layout, dark palette */
.Night body, body.Night { background: var(--body-bd) !important; color: var(--ys-text) !important; }
.Night a, body.Night a { color: var(--ys-text) !important; }
.Night .AYaHeader, body.Night .AYaHeader { background: var(--header-bd) !important; }
.Night .AYaMainNav .nav .MainMenu a { color: var(--header-color) !important; }
.Night .AYaMainNav .nav .MainMenu a:hover,
.Night .AYaMainNav .nav .current-menu-item > a,
.Night .AYaMainNav .nav .current_page_item > a { color: var(--ys-accent) !important; }
.Night .BoxContent, body.Night .BoxContent,
.Night .match-container, body.Night .match-container,
.Night .AY-PInner, body.Night .AY-PInner,
.Night .coMatch, body.Night .coMatch,
.Night .AY-MatchInfo, body.Night .AY-MatchInfo { background: var(--ys-panel) !important; }
.Night .HeadTitle, body.Night .HeadTitle { background: var(--ys-panel) !important; }
.Night .team-name, .Night .HeadTitle h1, .Night .HeadTitle h2,
.Night .post-info h3, .Night .EntryTitle, .Night .entry-content.entry,
.Night .AY-MatchInfo h2, .Night .AY-MatchInfo th, .Night .AY-MatchInfo td { color: var(--ys-text) !important; }
.Night .match-info, .Night .result, .Night .match-timing .date,
.Night .AY-FilterDays li a, .Night .AY-TimezoneNote { background-color: var(--ys-panel-soft); }
.Night .match-info li, .Night .match-time, .Night .match-timing .date,
.Night .AY-TimezoneNote { color: var(--ys-muted); }
.Night .PostsInner .AY-PInner { border-color: var(--ys-border); }
.Night .entry h1, .Night .entry h2, .Night .entry h3,
.Night .table-bordered, .Night .post-tags li { color: var(--ys-text); background: var(--ys-panel-soft); }
.Night .EntryMeta { background: var(--ys-panel-soft); }
.Night .AYaMainNav .nav .HeaderSocial a,
.Night .AYaMainNav .nav .HeaderSocial li.ChangStyle { background: var(--ys-panel-soft); border-color: var(--ys-border); }
.Night .AYaMainNav .nav .HeaderSocial a .icon, .Night .AYaMainNav .nav .icon.ChangStylei { filter: none; }
.Night footer { background: var(--footer-bd) !important; }
.Night .fo-section li a { color: var(--ys-muted) !important; }

/* Tablet */
@media (max-width: 1000px) {
  .AYaHeader > .container { min-height: 72px; justify-content: center; position: relative; }
  .AYaLogo { margin: 7px auto; flex-basis: 170px; width: 170px; min-height: 54px; }
  .AYaLogo span { font-size: 21px; }
  .AYaLogo .LogoImage { height: 50px; }
  .AYaMainNav { width: 100%; flex: initial; }
  .AYaMainNav .HdMenuArea { background: var(--ys-panel) !important; border-left: 1px solid var(--ys-border); }
  .AYaMainNav .HdMenuArea .MainMenu a, .AYaMainNav .HdMenuArea .menulabc { color: var(--ys-text) !important; background: var(--ys-panel-soft) !important; }
  .AYaMainNav .HdMenuArea .HeaderSocial { flex-wrap: wrap; }
  .PostsInner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .AYaHeader { margin-bottom: 14px; }
  .AYaHeader > .container { min-height: 68px; }
  .AYaLogo { min-height: 49px; flex-basis: 155px; width: 155px; padding: 4px 8px; }
  .AYaLogo span { font-size: 19px; }
  .AYaLogo span:last-child { font-size: 10px; }
  .AYaLogo .LogoImage { height: 45px; }
  .MobMenuIcon.op { top: 16px !important; right: 12px; }
  .ChangStyle.mo { top: 17px !important; left: 12px; }
  .HeadTitle { min-height: auto; padding: 12px; flex-wrap: wrap; }
  .HeadTitle h1, .HeadTitle h2, .HeadTitle h3, .HeadTitle h2.boxstitle { font-size: 15px; }
  .AY-TableHeadingDay { font-size: 10px; }
  .AY-FilterDays { width: 100%; gap: 5px; }
  .AY-FilterDays li { flex: 1; }
  .AY-FilterDays li a { min-width: 0; width: 100%; height: 34px; padding: 0 5px; font-size: 11px; }
  .albaflex { padding: 4px 8px 10px; gap: 7px; }
  .match-container {
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
    gap: 3px;
    min-height: 82px;
    padding: 8px 8px 0;
  }
  .right-team, .left-team { gap: 5px; }
  .team-logo { width: 38px !important; height: 38px; flex-basis: 38px; }
  .team-logo img { width: 36px !important; height: 36px !important; max-width: 36px; max-height: 36px; padding: 2px; }
  .team-name { max-width: calc(100% - 42px); font-size: 12px; line-height: 1.4; }
  .match-timing { min-width: 78px; }
  .match-time { font-size: 10px; }
  .result { min-width: 52px; padding: 0 5px; font-size: 15px; }
  .match-timing .date { padding: 1px 6px; font-size: 9px; }
  .match-info { width: calc(100% + 16px); margin: 7px -8px 0; }
  .match-info li { min-height: 28px; padding: 3px 4px; font-size: 9px; }
  .match-info li:nth-child(2) { display: none; }
  .match-info li { width: 50%; }
  .PostsInner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 10px; }
  .AY-PostImg a { aspect-ratio: 16 / 10; }
  .post-info { padding: 7px 8px 9px; }
  .post-info h3 { min-height: 42px; max-height: 46px; font-size: 11px; }
  .EntryTitle { font-size: 18px; padding: 12px; }
  .entry-content.entry { padding: 13px; font-size: 15px; }
  .coMatch { padding: 6px; }
  .colmd { padding: 26px 0 20px; }
  .teamlogo { width: 65px; height: 65px; }
  .teamname { font-size: 14px; }
  .matchvs { font-size: 30px; }
  .AY-MatchInfo .table-bordered th, .AY-MatchInfo .table-bordered td { padding: 8px; font-size: 12px; }
  .AY-CopyrightBar .container { justify-content: center; flex-direction: column; gap: 0; text-align: center; }
}
@media (max-width: 380px) {
  .team-name { font-size: 11px; }
  .match-container { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); padding-left: 5px; padding-right: 5px; }
  .team-logo { width: 34px !important; height: 34px; flex-basis: 34px; }
  .team-logo img { width: 32px !important; height: 32px !important; max-width: 32px; max-height: 32px; }
  .match-info { width: calc(100% + 10px); margin-left: -5px; margin-right: -5px; }
  .AY-FilterDays li a { font-size: 10px; }
}


/* Mobile header alignment and predictable off-canvas navigation */
@media (max-width: 1000px) {
  .AYaHeader > .container {
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 76px !important;
    padding-left: 54px !important;
    padding-right: 54px !important;
  }

  .AYaLogo {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    margin: 8px auto !important;
    float: none !important;
    z-index: 2;
  }

  /* Keep the navigation wrapper out of the layout; its controls are anchored to the header. */
  .AYaMainNav {
    position: static !important;
    display: block !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .AYaMainNav .MobMenuIcon.op {
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    z-index: 1003 !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .AYaMainNav .ChangStyle.mo {
    display: grid !important;
    position: absolute !important;
    top: 50% !important;
    right: auto !important;
    left: 12px !important;
    z-index: 1003 !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    place-items: center;
  }

  .AYaMainNav .HdMenuArea {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(300px, 86vw) !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 18px 14px 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    z-index: 1002 !important;
    border: 0 !important;
    border-left: 1px solid var(--ys-border) !important;
    border-radius: 0 !important;
    background: var(--ys-panel) !important;
    box-shadow: -8px 0 28px rgba(10, 18, 30, .16) !important;
    transform: translate3d(105%, 0, 0) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .28s ease, visibility .28s ease !important;
  }

  .AYaMainNav .HdMenuArea.open {
    right: 0 !important;
    transform: translate3d(0, 0, 0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .AYaMainNav .HdMenuArea .menublabel.clo {
    display: block !important;
    position: relative;
    min-height: 44px;
    margin: 0 0 14px !important;
    padding: 0 52px 0 8px !important;
  }

  .AYaMainNav .HdMenuArea .menublabel.clo .liwte {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: 26px;
    height: 26px;
    cursor: pointer;
  }

  .AYaMainNav .HdMenuArea .MainMenu,
  .AYaMainNav .HdMenuArea .MainMenu li {
    display: block !important;
    width: 100% !important;
    float: none !important;
  }

  .AYaMainNav .HdMenuArea .MainMenu a {
    display: flex !important;
    align-items: center;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 0 8px !important;
    padding: 9px 12px !important;
    white-space: normal !important;
  }

  .AYaMainNav .HdMenuArea .HeaderSocial {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 16px !important;
  }

  html.ys-mobile-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(10, 16, 25, .42);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
  }
}

@media (max-width: 480px) {
  .AYaHeader > .container { min-height: 70px !important; }
  .AYaLogo { flex-basis: 145px !important; width: 145px !important; min-height: 46px !important; }
  .AYaLogo .LogoImage { height: 42px !important; }
  .AYaMainNav .MobMenuIcon.op,
  .AYaMainNav .ChangStyle.mo { width: 37px !important; height: 37px !important; }
}

/* Keep the mobile menu label hidden; the drawer uses the close icon only. */
@media (max-width: 1000px) { .AYaMainNav .HdMenuArea .menulabc { display: none !important; } }


/* Mobile news cards: always show a readable article title beside its image. */
@media (max-width: 700px) {
  .PostsInner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .PostsInner > .AY-PItem,
  .PostsInner > article.AY-PItem {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
  }

  .PostsInner .AY-PInner {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    grid-template-rows: minmax(92px, auto) !important;
    direction: rtl !important;
    align-items: stretch !important;
    min-height: 92px !important;
    height: auto !important;
    margin: 0 !important;
    text-align: right !important;
  }

  .PostsInner .AY-PostImg {
    grid-column: 1 !important;
    grid-row: 1 !important;
    float: none !important;
    width: 108px !important;
    height: 100% !important;
    min-height: 92px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .PostsInner .AY-PostImg a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 92px !important;
    aspect-ratio: auto !important;
  }

  .PostsInner .AY-PostImg img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 92px !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
  }

  .PostsInner .post-info {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 92px !important;
    padding: 9px 12px !important;
    overflow: hidden !important;
    text-align: right !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .PostsInner .post-info h3,
  .PostsInner .post-info h3.AY-PostTitle {
    display: -webkit-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: var(--ys-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    text-align: right !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
  }

  .PostsInner .post-info h3 a {
    display: inline !important;
    color: var(--ys-text) !important;
    text-decoration: none !important;
  }
}

@media (max-width: 380px) {
  .PostsInner .AY-PInner {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }
  .PostsInner .AY-PostImg { width: 92px !important; }
  .PostsInner .post-info { padding: 8px 9px !important; }
  .PostsInner .post-info h3 { font-size: 12px !important; line-height: 1.65 !important; }
}
