/*
Theme Name: livehd7
Theme URI: https://apctoolkits.com
Author: kora online
Description: قالب كورة اون لاين بتصميم نهاري مشابه لـ koraonline.pro مع وضع ليلي اختياري
Version: 3.7.7
Text Domain: livehd7
*/
/* ═══════════════════════════════════════════════════════
   APC LIVE — apctoolkits.com Style — v1.0
   Green / White design matching kora online
═══════════════════════════════════════════════════════ */

:root {
  --green:    #0a9c3a;
  --green-l:  #12b348;
  --green-d:  #087a2e;
  --gold:     #b51818;
  --red:      #c0392b;
  --live-red: #e02424;
  --soon-g:   #0a9c3a;
  --end-g:    #97a0ad;
  --blue:     #3f6fd6;
  --body:     #f0f2f5;
  --card:     #ffffff;
  --border:   #dbe6f5;
  --text:     #2b303b;
  --muted:    #55606f;
  --info-bg:  #eef3fb;
  --shadow:   0 6px 20px -8px rgba(20,30,60,.18);
  --main-color: #0a9c3a;
}
body.Night {
  --gold:     #ff8a3d;
  --body:     #0c0e16;
  --card:     #171b28;
  --border:   #262c3b;
  --text:     #e9edf5;
  --muted:    #a9b3c4;
  --info-bg:  #12151f;
  --shadow:   0 8px 24px -10px rgba(0,0,0,.55);
  --main-color: #ff8a3d;
}

/* ── FONT FACE ────────────────────────────────────────── */
@font-face {
  font-family: 'Neo Sans Arabic';
  src: url('assets/NeoSansArabic.woff') format('woff');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ── BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; list-style: none }
body { font-family: 'Neo Sans Arabic','Segoe UI',Arial,sans-serif; direction: rtl; background: var(--body); color: var(--text); font-size: 14px; line-height: 1.6 }
a { color: var(--text); text-decoration: none }
a:hover { color: var(--green) }
img { max-width: 100%; display: block }
.container { max-width: 1180px; margin: auto; padding: 0 16px }

/* ── HEADER ───────────────────────────────────────────── */
.apc-header {
  background: #fff;
  border-bottom: 3px solid var(--green);
  position: relative;
  z-index: 1000;
  box-shadow: 0 1px 5px rgba(0,0,0,.08);
}
body.Night .apc-header { background: #0f1a10; border-bottom-color: var(--green-d) }

.apc-hdr-inner {
  max-width: 1180px; margin: auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}

/* Logo */
.apc-logo a { display: flex; align-items: center; gap: 6px }
.apc-logo-text {
  font-size: 20px; font-weight: 900; color: var(--green);
  white-space: nowrap; line-height: 1;
}
body.Night .apc-logo-text { color: var(--green) }

/* Desktop nav */
.apc-desk-nav { flex: 1; display: flex; justify-content: flex-end }
.apc-desk-menu { display: flex; align-items: center; gap: 2px; flex-direction: row }
.apc-desk-menu li a {
  font-size: 13px; font-weight: 600; color: #444;
  padding: 6px 11px; border-radius: 6px; white-space: nowrap;
  transition: background .18s, color .18s;
}
.apc-desk-menu li a:hover { background: var(--green); color: #fff }
body.Night .apc-desk-menu li a { color: #9ab }
body.Night .apc-desk-menu li a:hover { background: var(--green); color: #fff }

/* Icons */
.apc-hdr-icons { display: flex; align-items: center; gap: 8px; flex-shrink: 0 }
.apc-dark-btn {
  width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; background: rgba(0,0,0,.07);
  cursor: pointer; font-size: 14px; user-select: none;
}
body.Night .apc-dark-btn { background: rgba(255,255,255,.1) }

/* Hamburger */
.apc-ham {
  display: none; flex-direction: column; gap: 4px;
  padding: 6px; cursor: pointer; border-radius: 6px;
  background: rgba(0,0,0,.07);
}
.apc-ham span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px }
body.Night .apc-ham span { background: #e6edf3 }

/* Mobile drawer */
.apc-mob-cb { display: none }
.apc-mob-drawer {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
  background: #fff; z-index: 2000; transition: right .28s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,.15); overflow-y: auto;
  display: flex; flex-direction: column;
}
body.Night .apc-mob-drawer { background: #0f1a10 }
#apc-mob-cb:checked ~ .apc-mob-drawer { right: 0 }
.apc-overlay-bg {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 1999; cursor: pointer;
}
#apc-mob-cb:checked ~ .apc-overlay-bg { display: block }

.apc-drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  background: var(--green);
}
.apc-logo-text-sm { font-size: 16px; font-weight: 900; color: #fff }
.apc-drawer-close { font-size: 20px; color: #fff; cursor: pointer; line-height: 1 }
.apc-mob-menu { padding: 10px 0 }
.apc-mob-menu li a {
  display: block; padding: 11px 18px; font-size: 14px; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.apc-mob-menu li a:hover { background: var(--green); color: #fff }
body.Night .apc-mob-menu li a { border-color: var(--border) }

@media (max-width: 720px) {
  .apc-desk-nav { display: none }
  .apc-ham { display: flex }
}

/* ── HERO BANNER ──────────────────────────────────────── */
.apc-hero {
  background: linear-gradient(135deg, var(--green-d) 0%, var(--green) 60%, #33691e 100%);
  padding: 36px 16px 30px; text-align: center; color: #fff;
}
.apc-hero h1 { font-size: 26px; font-weight: 900; line-height: 1.5; margin-bottom: 10px }
.apc-hero p  { font-size: 14px; opacity: .85; max-width: 520px; margin: 0 auto }
@media(max-width:480px){ .apc-hero h1 { font-size: 20px } }

/* ── MATCH SECTION TITLE ──────────────────────────────── */
.apc-sec-title {
  font-size: 20px; font-weight: 900; text-align: center;
  color: var(--green); margin: 18px 0 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
body.Night .apc-sec-title { color: var(--green) }

/* ── DATE TABS ────────────────────────────────────────── */
.apc-tabs { display: flex; gap: 10px; justify-content: center; margin: 14px 0 10px }
.apc-tabs a {
  flex: 1; max-width: 180px; display: flex; align-items: center; justify-content: center;
  height: 44px; font-size: 14px; font-weight: 700; border-radius: 22px;
  border: 2px solid var(--green); background: #fff; color: var(--green);
  transition: .2s; box-shadow: var(--shadow);
}
.apc-tabs a:hover, .apc-tabs a.apc-active {
  background: var(--green); color: #fff; box-shadow: 0 3px 12px rgba(46,125,50,.3)
}
body.Night .apc-tabs a { background: #0f1a10; border-color: var(--green-l); color: var(--green) }
body.Night .apc-tabs a:hover, body.Night .apc-tabs a.apc-active { background: var(--green); color: #fff }

/* ── MATCH CARD WRAPPER ───────────────────────────────── */
.albaflex { display: flex; flex-direction: column; gap: 10px; padding: 0 0 8px }

/* ── MATCH CARD ───────────────────────────────────────── */
.match-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .15s;
}
.match-container:hover { box-shadow: 0 4px 18px rgba(0,0,0,.13); transform: translateY(-1px) }
.match-container.live,
.match-container.started,
.match-container.gools  { border-color: var(--live-red); box-shadow: 0 2px 14px rgba(229,57,53,.18) }
.match-container.soon,
.match-container.commingsoon { border-color: var(--green) }
.match-container.finshed,
.match-container.end    { border-color: var(--border) }
body.Night .match-container { background: #1c2733; border-color: #2a3a52 }

/* Grid layout inside card */
.match-container > a {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  width: 100%; padding: 22px 16px 0;
  color: var(--text); position: relative;
}

/* Teams */
.match-container .right-team {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  grid-column: 1; grid-row: 1;
}
.match-container .left-team {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  grid-column: 3; grid-row: 1;
}
.match-container .match-center {
  grid-column: 2; grid-row: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 0 8px;
}

/* Logo box */
.team-logo {
  width: 88px; height: 88px;
  background: #f5f7fa;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
body.Night .team-logo { background: #1a2535; border-color: #2a3a52 }
.team-logo img { width: 70px; height: 70px; object-fit: contain; display: block; margin: 0 auto }
.team-logo img.lazy-load { opacity: 0; transition: opacity .5s ease }
.team-logo img.lazy-load.loaded { opacity: 1 }

/* Team name */
.team-name {
  font-size: 14px; font-weight: 700; text-align: center;
  color: var(--text); line-height: 1.4; max-width: 130px;
}

/* Score / time */
.match-timing { display: flex; flex-direction: column; align-items: center; gap: 8px }
.match-timing > div:not([class]),
.match-timing > div.match-time-val {
  font-size: 22px; font-weight: 800; color: var(--green);
  direction: ltr; text-align: center; line-height: 1.2;
}
body.Night .match-timing > div:not([class]) { color: var(--green) }
.result {
  font-size: 28px; font-weight: 900; letter-spacing: 5px;
  direction: ltr; color: var(--green); line-height: 1; text-align: center;
}
body.Night .result { color: var(--green) }

/* Status badges */
.match-timing .date {
  display: inline-block; border-radius: 20px;
  padding: 3px 14px; font-size: 12px; font-weight: 700;
  color: #fff; background: var(--end-g); line-height: 1.7;
}
.match-timing .date.live,
.match-timing .live {
  background: var(--live-red) !important; border-radius: 20px;
  padding: 3px 14px; font-size: 12px; font-weight: 700; color: #fff;
  animation: apcBlink 800ms ease-in-out infinite;
}
.match-timing .date.soon,
.match-timing .soon {
  background: var(--soon-g) !important; color: #fff !important;
  border-radius: 20px !important; padding: 3px 14px !important;
  font-size: 12px !important; font-weight: 700 !important;
}
@keyframes apcBlink { 0%,100%{opacity:1} 50%{opacity:.6} }

/* Info bar */
.match-info {
  grid-column: 1/-1; grid-row: 2;
  border-top: 1px solid var(--border);
  background: var(--info-bg);
  display: flex; justify-content: space-around;
  margin-top: 14px; padding: 0;
  border-radius: 0 0 13px 13px; overflow: hidden;
}
body.Night .match-info { background: var(--info-bg); border-color: #2a3a52 }
.match-info ul { display: flex; width: 100%; margin: 0; padding: 0 }
.match-info li {
  flex: 1; text-align: center; padding: 7px 6px;
  font-size: 11px; color: var(--muted);
  border-left: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.match-info li:last-child { border-left: none }
body.Night .match-info li { border-color: #2a3a52 }
.match-info li:nth-child(1)::before { content:"📺"; font-size:11px }
.match-info li:nth-child(2)::before { content:"🎙"; font-size:11px }
.match-info li:nth-child(3)::before { content:"🏆"; font-size:11px }

/* Hover overlay */
.overlay-match {
  position: absolute; inset: 0; opacity: 0;
  background: rgba(46,125,50,.06); cursor: pointer; z-index: 2;
  transition: opacity .2s; border-radius: 14px;
}
.match-container:hover .overlay-match { opacity: 1 }
.text-match {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; opacity: 0; transition: opacity .2s; z-index: 3;
  background: no-repeat center/100%
    url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%232e7d32' d='M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm88.5 269.6l-128 80c-2.6 1.6-5.5 2.4-8.5 2.4-2.7 0-5.3-.7-7.8-2-5-2.8-8.2-8.2-8.2-14V176c0-5.8 3.2-11.2 8.2-14 5.1-2.8 11.3-2.7 16.2.4l128 80c4.7 2.9 7.5 8.1 7.5 13.6s-2.8 10.7-7.4 13.6z'/%3E%3C/svg%3E");
}
.match-container:hover .text-match { opacity: .85 }

/* No matches */
.no-matches-card { cursor: default; pointer-events: none }
.no-matches-inner { padding: 50px 20px; text-align: center }
.no-matches-inner p { color: var(--muted); font-size: 16px }

/* ── SITES GRID (page-sites-grid) ─────────────────────── */
.apc-sites-title {
  text-align: center; margin: 30px 0 20px;
  font-size: 22px; font-weight: 900; color: var(--text);
}
.apc-sites-title span { color: var(--green) }
body.Night .apc-sites-title { color: var(--text) }

.apc-sites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px; padding: 0 0 24px;
}
.apc-site-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 22px 16px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: box-shadow .2s, transform .15s, border-color .2s;
  text-align: center; cursor: pointer;
  box-shadow: var(--shadow);
}
body.Night .apc-site-card { background: #1c2733; border-color: #2a3a52 }
.apc-site-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.12); transform: translateY(-2px);
  border-color: var(--green); color: inherit;
}
.apc-site-card .apc-sc-icon { font-size: 42px; line-height: 1 }
.apc-site-card .apc-sc-name {
  font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.3
}
.apc-site-card .apc-sc-en {
  font-size: 12px; color: var(--muted)
}
/* أزرار الكروت أخضر فاتح جدا */
.apc-site-card .apc-sc-btn {
  background: var(--btn-bg, #f3fff4) !important;
  color: var(--btn-text, var(--green)) !important;
  border: 1px solid var(--btn-border, #d9f5dd) !important;
  border-radius: 6px !important;
  padding: 4px 14px !important;
}

.apc-site-card:hover .apc-sc-btn,
.apc-site-card .apc-sc-btn:hover {
  background: var(--btn-border, #d9f5dd) !important;
  color: var(--green-d) !important;
  border-color: var(--btn-border, #bfe8c3) !important;
}

/* ── PAGE CONTENT (single pages) ─────────────────────── */
.apc-page-wrap {
  max-width: 1180px; margin: 16px auto 0; padding: 0 16px;
}
.apc-page-box {
  background: var(--card); border-radius: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  overflow: hidden;
}
body.Night .apc-page-box { background: var(--card); border-color: var(--border) }

.apc-page-hero {
  background: linear-gradient(135deg, var(--green-d) 0%, var(--green) 100%);
  padding: 28px 20px 24px; text-align: center; color: #fff;
}
.apc-page-hero h1 {
  font-size: 22px; font-weight: 900; margin-bottom: 8px; line-height: 1.5
}
.apc-page-hero .apc-site-badge {
  display: inline-block; background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.5);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 14px; border-radius: 20px;
}

.apc-page-btn-row {
  display: flex; justify-content: center; padding: 18px 16px 12px; gap: 10px;
}
.apc-live-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  font-size: 15px; font-weight: 800; padding: 11px 28px;
  border-radius: 8px; transition: opacity .2s;
}
.apc-live-btn:hover { opacity: .88; color: #fff }

.apc-page-content {
  padding: 20px 20px 24px;
}
.apc-page-content h2 {
  font-size: 17px; font-weight: 800; color: var(--text);
  border-right: 4px solid var(--green); padding-right: 10px;
  margin: 20px 0 10px; line-height: 1.5;
}
.apc-page-content p {
  font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 14px
}
body.Night .apc-page-content h2 { color: var(--text) }
body.Night .apc-page-content p  { color: var(--muted) }

/* Matches on sub-pages (same as homepage) */
.apc-sub-matches { padding: 0 }

/* ── SEO SECTIONS ─────────────────────────────────────── */
.sl-seo-wrap { background: #fff }
.sl-seo-wrap.sl-alt { background: #f8fdf8 }
body.Night .sl-seo-wrap { background: var(--body) }
body.Night .sl-seo-wrap.sl-alt { background: #0f1a10 }
.sl-section { padding: 48px 0 40px }
.sl-heading { text-align: center; margin-bottom: 36px }
.sl-heading h2 { font-size: 26px; font-weight: 900; color: var(--text); margin-bottom: 10px; line-height: 1.5 }
.sl-heading .sl-bar { width: 56px; height: 4px; background: var(--green); margin: 0 auto; border-radius: 2px }
.sl-why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px }
.sl-why-card { background: #fff; border-radius: 12px; padding: 24px 20px; border: 1px solid #e0e0e0; transition: transform .2s, box-shadow .2s }
body.Night .sl-why-card { background: var(--card); border-color: var(--border) }
.sl-why-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.1) }
.sl-why-card .sl-icon { font-size: 26px; margin-bottom: 10px; display: block }
.sl-why-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--text) }
.sl-why-card p { font-size: 13px; color: var(--muted); line-height: 1.8 }
.sl-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 14px }
.sl-card-w { background: #fff; border-radius: 12px; padding: 18px 14px; border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s, border-color .2s }
body.Night .sl-card-w { background: var(--card); border-color: var(--border) }
.sl-card-w:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.12); border-color: var(--green) }
.sl-card-w h3 { font-size: 15px; font-weight: 800; color: var(--green); margin-bottom: 8px; line-height: 1.45 }
.sl-card-w p { font-size: 12px; color: var(--muted); line-height: 1.75 }
.sl-team-card { background: #fff; border-radius: 12px; padding: 18px 14px; border: 1px solid var(--border); border-right: 4px solid transparent; box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: all .2s }
body.Night .sl-team-card { background: var(--card); border-color: var(--border) }
.sl-team-card:hover { border-right-color: var(--green); transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.12) }
.sl-team-card.sl-hl { border-right: 4px solid var(--green); background: #f0fff0 }
body.Night .sl-team-card.sl-hl { background: #0f1a10 }
.sl-team-card h3 { font-size: 14px; font-weight: 800; color: var(--green); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap }
.sl-cc { font-size: 10px; background: var(--green); color: #fff; padding: 2px 6px; border-radius: 4px; font-weight: 700 }
.sl-team-card p { font-size: 12px; color: var(--muted); line-height: 1.8 }
.sl-divider { height: 3px; border: none; background: linear-gradient(to left, var(--gold), var(--green), var(--green-d)); margin: 0 }

@media(max-width:900px){ .sl-why-grid{grid-template-columns:repeat(2,1fr)} .sl-grid-4{grid-template-columns:repeat(2,1fr)} }
@media(max-width:540px){ .sl-why-grid{grid-template-columns:1fr} .sl-heading h2{font-size:19px} }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media(max-width:720px){
  .match-container > a { grid-template-columns:1fr 130px 1fr; padding:14px 10px 0 }
  .team-logo { width:66px; height:66px; border-radius:12px }
  .team-logo img { width:52px; height:52px }
  .team-name { font-size:12px; max-width:100px }
  .result { font-size:22px; letter-spacing:3px }
  .match-timing > div:not([class]) { font-size:18px }
  .apc-sites-grid { grid-template-columns: repeat(2,1fr) }
  .apc-hero h1 { font-size:20px }
  .sl-grid-4 { grid-template-columns:repeat(2,1fr) }
}
/* ── HOMEPAGE SITES GRID (responsive columns only — card/btn styling lives in the SITES GRID block above) ── */
@media(min-width: 600px){
  .apc-sites-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(min-width: 900px){
  .apc-sites-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── SEO HEADINGS ────────────────────────────────── */
.sl-heading h2 { font-size: 22px; font-weight: 900; color: var(--text); margin-bottom: 10px }
.sl-bar { width: 56px; height: 4px; background: var(--green); margin: 0 auto; border-radius: 2px }

/* ── PAGE CONTENT STYLING ────────────────────────── */
.apc-page-content {
  padding: 20px 16px 24px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
}
.apc-page-content p { margin-bottom: 14px; color: var(--muted) }
.apc-page-content h2,
.apc-page-content h3 {
  border-right: 4px solid var(--green);
  padding-right: 10px;
  margin: 18px 0 10px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.5;
}
.apc-page-content h2 { font-size: 17px }
.apc-page-content h3 { font-size: 15px }
.apc-page-content h4 { font-size: 14px; font-weight: 700; margin: 12px 0 8px; color: var(--text) }

/* ── MATCH HERO (single.php) ─────────────────────── */
@media(max-width:480px){
  .apc-match-hero-grid { grid-template-columns: 1fr 110px 1fr !important }
}

/* ── PAGE BOX SPACING ────────────────────────────── */
.apc-page-box { margin-bottom: 20px }

/* ── LOGO ICON ───────────────────────────────────────── */
.apc-logo-icon { font-size: 26px; line-height: 1; flex-shrink: 0 }
.apc-logo a { display: flex; align-items: center; gap: 8px }
.apc-logo-text { font-size: 20px; font-weight: 900; color: var(--green); white-space: nowrap }
body.Night .apc-logo-text { color: var(--green) }

/* ── FOOTER — Black like apctoolkits ─────────────────── */
.apc-footer {
  background: #0d0d0d;
  border-top: 2px solid var(--green);
  padding: 24px 0 0;
  margin-top: 28px;
  font-size: 13px;
}
.apc-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Logo — centered */
.apc-ft-logo-wrap {
  text-align: center;
  padding: 0 0 14px;
  border-bottom: 1px solid #1c1c1c;
  margin-bottom: 14px;
}
.apc-ft-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 900;
  color: var(--footer-logo, var(--green));
  text-decoration: none;
  line-height: 1.3;
}
.apc-ft-logo small {
  font-size: 12px;
  font-weight: 400;
  color: #555;
  opacity: .8;
}
.apc-ft-logo:hover { opacity: .85; color: inherit }

/* Keywords — centered rows, plain text, space-separated */
.apc-ft-kws {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 10px;
  padding: 12px 0;
  border-bottom: 1px solid #1c1c1c;
  margin-bottom: 12px;
  line-height: 1.9;
}
.apc-ft-kws a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.apc-ft-kws a:hover { color: var(--green) }

/* Footer nav */
.apc-ft-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid #1c1c1c;
  margin-bottom: 10px;
}
.apc-ft-nav a {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: color .15s;
}
.apc-ft-nav a:hover { color: var(--green) }

/* Copyright */
.apc-ft-copy {
  text-align: center;
  font-size: 11px;
  color: #444;
  padding: 10px 0 14px;
}

/* Footer columns widgets */
.apc-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #1c1c1c;
  margin-bottom: 14px;
}
@media(max-width:700px){ .apc-footer-cols { grid-template-columns: repeat(2,1fr) } }
@media(max-width:400px){ .apc-footer-cols { grid-template-columns: 1fr } }
.apc-footer-col { color: #666 }
.apc-footer-col .footer-widget-title {
  font-size: 12px; font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #1c1c1c;
}
.apc-footer-col ul { list-style: none; padding: 0; margin: 0 }
.apc-footer-col ul li { padding: 3px 0 }
.apc-footer-col ul li a {
  font-size: 11px; color: #666; text-decoration: none;
}
.apc-footer-col ul li a:hover { color: var(--green) }

/* ── DARK BUTTON ─────────────────────────────────────── */
.apc-dark-btn {
  width: 32px; height: 32px; border: none; outline: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0,0,0,.07);
  cursor: pointer; font-size: 15px; color: var(--text);
  padding: 0; line-height: 1;
}
body.Night .apc-dark-btn { background: rgba(255,255,255,.1) }

/* ── SCHEMA / SEO sections in footer style ───────────── */
.sl-heading { text-align: center; margin-bottom: 28px }
.sl-heading h2 { font-size: 20px; font-weight: 900; color: var(--text); margin-bottom: 8px }
.sl-bar { width: 50px; height: 3px; background: var(--green); margin: 0 auto; border-radius: 2px }

/* ── FOOTER COLUMNS WIDGETS ──────────────────────────── */
.apc-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--footer-border, #1c1c1c);
  border-bottom: 1px solid var(--footer-border, #1c1c1c);
  margin-bottom: 16px;
}
@media(max-width: 700px){
  .apc-footer-cols { grid-template-columns: repeat(2, 1fr) }
}
@media(max-width: 400px){
  .apc-footer-cols { grid-template-columns: 1fr }
}
.apc-footer-col { color: #666 }
.apc-footer-col .footer-widget-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--footer-logo, #4caf50);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1c1c1c;
}
.apc-footer-col ul { list-style: none; padding: 0; margin: 0 }
.apc-footer-col ul li {
  padding: 4px 0;
  border-bottom: 1px solid #1a1a1a;
}
.apc-footer-col ul li a {
  font-size: 12px;
  color: var(--footer-kw, #666);
  text-decoration: none;
  transition: color .15s;
}
.apc-footer-col ul li a:hover { color: var(--green) }
.apc-footer-col p {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
}

/* ── AD WIDGETS ──────────────────────────────────────── */
.apc-ad {
  width: 100%;
  text-align: center;
  margin: 10px 0;
  overflow: hidden;
}

/* ── MATCH HERO SPACING ──────────────────────────────── */
#main { margin-top: 14px }
.coMatch { margin-top: 0 }
.sl-match-hero { margin-bottom: 16px }

.sl-watch-btn-wrap { text-align:center; margin-top:14px }
.sl-watch-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,var(--live-red),var(--red));
  color:#fff; font-weight:700; font-size:15px;
  padding:12px 28px; border-radius:30px; text-decoration:none;
  box-shadow:0 3px 10px rgba(197,45,38,.35);
  transition:transform .15s ease, box-shadow .15s ease;
}
.sl-watch-btn:hover { transform:translateY(-2px); box-shadow:0 6px 16px rgba(197,45,38,.45); color:#fff }
.sl-watch-btn span { font-size:15px }

/* ── SHARE BUTTONS — horizontal modern ───────────────── */
.apc-share-box {
  margin: 20px 0 8px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
}
.apc-share-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.apc-share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.apc-share-btns a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity .18s, transform .15s;
  flex: 1;
  justify-content: center;
  min-width: 100px;
}
.apc-share-btns a:hover { opacity: .88; transform: translateY(-1px); color: #fff }
.apc-share-fb  { background: #1877f2 }
.apc-share-tw  { background: #1da1f2 }
.apc-share-wa  { background: #25d366 }
.apc-share-tg  { background: #229ed9 }

@media(max-width:480px){
  .apc-share-btns a { font-size: 12px; padding: 7px 10px; min-width: 70px }
}

/* ── BTN "بث مباشر" — Rounded Rectangle ─────────────── */
.apc-sc-btn,
.apc-site-card .apc-sc-btn {
  border-radius: 6px !important;
  padding: 5px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-block !important;
}




/* تصغير حجم الفريم ليحتويه الشاشة بالكامل بدون قص */
.sl-stream-wrap {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 0 !important;
    padding-top: calc(56.25% + 40px) !important; /* نسبة 16:9 + شريط التحكم */
    margin: 15px auto !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    display: block !important;
}

.sl-stream-wrap iframe,
.blogpost > iframe.sl-stream-iframe,
#postsacs > iframe.sl-stream-iframe,
iframe.sl-stream-iframe,
iframe.cf {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    border: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* للمقاسات الصغيرة جدا */
@media (max-width: 768px) {
    .sl-stream-wrap {
        width: 100% !important;
        padding-top: calc(56.25% + 45px) !important; 
        border-radius: 6px !important;
    }
}


/* ── Keyword / Tag chips v3.6 ─────────────────────────────── */
.post-tags-wrap.sl-seo-hashtags,
.sl-tags-section .post-tags-wrap,
.post-tags-wrap:has(.sl-hashtags){
  width:100%; margin:18px 0 8px !important; padding:0 !important; overflow:visible !important;
}
.post-tags.sl-hashtags,
.sl-seo-hashtags .post-tags{
  display:flex !important; flex-wrap:wrap !important; align-items:center !important; justify-content:center !important;
  gap:9px 10px !important; margin:0 !important; padding:0 !important; list-style:none !important;
}
.post-tags.sl-hashtags li,
.sl-seo-hashtags .post-tags li{
  display:block !important; float:none !important; width:auto !important; max-width:100% !important;
  margin:0 !important; padding:0 !important; overflow:visible !important;
}
.post-tags.sl-hashtags li a,
.post-tags.sl-hashtags li span,
.sl-seo-hashtags .post-tags li a,
.sl-seo-hashtags .post-tags li span{
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  width:auto !important; min-height:35px !important; max-width:100% !important;
  padding:7px 15px !important; border:1px solid #e0e3e8 !important; border-radius:18px !important;
  background:#f0f1f3 !important; color:#353a43 !important; font-size:13px !important; font-weight:700 !important;
  line-height:1.55 !important; text-align:center !important; text-decoration:none !important;
  white-space:normal !important; overflow:visible !important; text-overflow:clip !important;
  overflow-wrap:anywhere !important; word-break:normal !important;
  box-shadow:none !important;
}
.post-tags.sl-hashtags li a:hover,
.sl-seo-hashtags .post-tags li a:hover{
  border-color:var(--main-color,#0a9c3a) !important; color:var(--main-color,#0a9c3a) !important; background:#fff !important;
}
body.Night .post-tags.sl-hashtags li a,
body.Night .post-tags.sl-hashtags li span,
body.Night .sl-seo-hashtags .post-tags li a,
body.Night .sl-seo-hashtags .post-tags li span{
  background:#20242d !important; border-color:#303744 !important; color:#e7eaf0 !important;
}
@media (max-width:540px){
  .post-tags.sl-hashtags,.sl-seo-hashtags .post-tags{gap:8px !important;justify-content:flex-start !important;}
  .post-tags.sl-hashtags li a,.post-tags.sl-hashtags li span,
  .sl-seo-hashtags .post-tags li a,.sl-seo-hashtags .post-tags li span{font-size:12.5px !important;padding:7px 12px !important;}
}

.kora-home-news{margin-top:18px;margin-bottom:22px}.kora-home-news .sl-related-head{margin-bottom:12px}


/* ═══ أخبار خارجية من hd7.world — صور أوسع 16:9 ═══ */
.apc-remote-news{margin-top:14px;margin-bottom:24px}
.apc-remote-news-grid .kora-news-card{min-width:0}
.apc-remote-news-grid .kora-news-thumb{
  width:100% !important;
  aspect-ratio:16/9 !important;
  height:auto !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}
.apc-remote-news-card h3{min-height:54px;display:flex;align-items:center;justify-content:center}
.apc-remote-news-card .kora-news-meta{display:block;text-align:center;color:var(--muted,#667085);font-size:12px;padding:0 8px 12px}
.apc-news-noimage{background:linear-gradient(135deg,var(--main-color,#0a9c3a),#18212f)!important}
.apc-news-admin-note{margin:12px auto;padding:10px 12px;border:1px dashed #d2d7df;border-radius:10px;background:#fff8e6;color:#735c00;font-size:13px}
body.Night .apc-news-admin-note{background:#211d12;border-color:#554921;color:#f0d98a}
@media (min-width:721px){.apc-remote-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:720px){
  .apc-remote-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .apc-ys-local-news .apc-remote-news-grid>.kora-news-card:nth-child(n+5){display:none!important}
  .apc-remote-news-card h3{font-size:13px!important;line-height:1.55!important;padding:10px 8px 5px!important;min-height:54px}
  .apc-remote-news-card .kora-news-meta{font-size:11.5px;padding-bottom:10px}
}


/* Yascores direct news + standings — v3.7.0 */
.apc-section-head-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.apc-section-head-row>a{font-size:13px;font-weight:700;color:var(--green);text-decoration:none}
.apc-home-rank{margin-top:22px;margin-bottom:24px}.apc-rank-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.apc-rank-card{min-height:72px;background:var(--card);border:1px solid var(--border);border-radius:14px;display:flex;align-items:center;gap:10px;padding:12px;color:var(--text);text-decoration:none;box-shadow:var(--shadow)}.apc-rank-card img{width:42px;height:42px;object-fit:contain;flex:0 0 42px}.apc-rank-card span{font-size:13px;font-weight:800;line-height:1.5}
.apc-rank-page{padding-top:18px;padding-bottom:28px}.apc-rank-title{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;align-items:center;gap:12px;margin-bottom:16px}.apc-rank-title img{object-fit:contain}.apc-rank-title h1{margin:0 0 4px;font-size:22px;color:var(--text)}.apc-rank-title p,.apc-rank-title a{margin:0;color:var(--muted);font-size:13px}.apc-rank-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.apc-rank-list-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:12px;display:flex;align-items:center;gap:11px;color:var(--text);text-decoration:none;box-shadow:var(--shadow)}.apc-rank-list-card img{width:48px;height:48px;object-fit:contain;flex:0 0 48px}.apc-rank-list-card span{font-weight:800;flex:1}.apc-rank-list-card b{font-size:25px;color:var(--muted)}
.apc-table-scroll{overflow-x:auto;background:var(--card);border:1px solid var(--border);border-radius:14px;margin:0 0 16px;box-shadow:var(--shadow)}.apc-standings-table{width:100%;border-collapse:collapse;min-width:760px;color:var(--text)}.apc-standings-table th,.apc-standings-table td{padding:11px 9px;text-align:center;border-bottom:1px solid var(--border);font-size:13px}.apc-standings-table th{background:var(--info-bg);font-weight:800}.apc-standings-table tbody tr:last-child td{border-bottom:0}.apc-team-cell{display:flex;align-items:center;gap:8px;text-align:right!important;min-width:170px}.apc-team-cell img{width:28px;height:28px;object-fit:contain}.apc-team-cell span{font-weight:700}.apc-empty{background:var(--card);padding:24px;border-radius:14px;border:1px solid var(--border);text-align:center;color:var(--muted)}
@media(max-width:800px){.apc-rank-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.apc-rank-list{grid-template-columns:1fr}.apc-rank-card{min-height:66px;padding:10px}.apc-rank-card img{width:36px;height:36px;flex-basis:36px}.apc-rank-title h1{font-size:19px}}


/* ═══ v3.7.2 — archive match thumbnails + fixed pagination ═══ */
.kora-news-card .apc-match-archive-thumb{
  position:relative;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  justify-items:center;
  gap:10px;
  padding:18px 14px 34px;
  box-sizing:border-box;
  aspect-ratio:16/9 !important;
  min-height:160px;
  background:linear-gradient(145deg,#eef4ff,#f8fbff) !important;
  color:#1d2939;
  overflow:hidden;
}
.kora-news-card .apc-match-archive-thumb:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 50%,rgba(10,156,58,.10),transparent 58%);
  pointer-events:none;
}
.kora-news-card .apc-match-archive-team{
  position:relative;
  z-index:1;
  min-width:0;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-align:center;
}
.kora-news-card .apc-match-archive-thumb .apc-match-archive-team img{
  width:60px !important;
  height:60px !important;
  min-width:60px !important;
  max-width:60px !important;
  aspect-ratio:1/1 !important;
  object-fit:contain !important;
  object-position:center !important;
  display:block !important;
  padding:5px !important;
  margin:0 !important;
  box-sizing:border-box !important;
  border-radius:50% !important;
  border:1px solid #e2e8f0 !important;
  background:#fff !important;
  box-shadow:0 3px 10px rgba(16,24,40,.08) !important;
}
.kora-news-card .apc-match-archive-team b{
  display:block;
  max-width:100%;
  font-size:12px;
  line-height:1.45;
  color:inherit;
  white-space:normal;
  overflow-wrap:anywhere;
}
.kora-news-card .apc-match-archive-vs{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--green,#0a9c3a);
  color:#fff;
  font-size:11px;
  font-weight:900;
  box-shadow:0 5px 14px rgba(10,156,58,.22);
}
.kora-news-card .apc-match-archive-thumb small{
  position:absolute;
  z-index:1;
  right:10px;
  left:10px;
  bottom:8px;
  text-align:center;
  color:#667085;
  font-size:10.5px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.kora-news-card .apc-team-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#fff;
  border:1px solid #e2e8f0;
  font-size:26px;
}
body.Night .kora-news-card .apc-match-archive-thumb{
  background:linear-gradient(145deg,#1d2737,#111827) !important;
  color:#f3f4f6;
}
body.Night .kora-news-card .apc-match-archive-thumb .apc-match-archive-team img,
body.Night .kora-news-card .apc-team-fallback{
  background:#f8fafc !important;
  border-color:#344054 !important;
}
body.Night .kora-news-card .apc-match-archive-thumb small{color:#cbd5e1}

/* paginate_links(type=list) يطبع UL؛ اجعله صفاً أفقياً مرتباً لا قائمة رأسية. */
.kora-news-pager{
  width:100%;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  margin:22px 0 8px !important;
}
.kora-news-pager ul.page-numbers{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  width:auto !important;
}
.kora-news-pager ul.page-numbers>li{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  width:auto !important;
  float:none !important;
}
.kora-news-pager ul.page-numbers>li>a.page-numbers,
.kora-news-pager ul.page-numbers>li>span.page-numbers{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:38px !important;
  height:38px !important;
  padding:0 11px !important;
  margin:0 !important;
  box-sizing:border-box !important;
  border:1px solid var(--kora-border,#dbe6f5) !important;
  border-radius:10px !important;
  background:#fff !important;
  color:var(--kora-text,#1f2937) !important;
  text-decoration:none !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1 !important;
}
.kora-news-pager ul.page-numbers>li>span.current{
  background:var(--green,#0a9c3a) !important;
  border-color:var(--green,#0a9c3a) !important;
  color:#fff !important;
}
.kora-news-pager ul.page-numbers>li>a.prev,
.kora-news-pager ul.page-numbers>li>a.next{
  min-width:64px !important;
}
body.Night .kora-news-pager ul.page-numbers>li>a.page-numbers,
body.Night .kora-news-pager ul.page-numbers>li>span.page-numbers{
  background:#161b22 !important;
  border-color:#30363d !important;
  color:#e6edf3 !important;
}
body.Night .kora-news-pager ul.page-numbers>li>span.current{
  background:var(--green,#0a9c3a) !important;
  border-color:var(--green,#0a9c3a) !important;
  color:#fff !important;
}
@media(max-width:540px){
  .kora-news-card .apc-match-archive-thumb{padding:14px 8px 30px;gap:6px;min-height:135px}
  .kora-news-card .apc-match-archive-thumb .apc-match-archive-team img,
  .kora-news-card .apc-team-fallback{width:48px !important;height:48px !important;min-width:48px !important;max-width:48px !important}
  .kora-news-card .apc-match-archive-team b{font-size:10.5px}
  .kora-news-card .apc-match-archive-vs{width:32px;height:32px;font-size:9.5px}
  .kora-news-card .apc-match-archive-thumb small{font-size:9.5px}
  .kora-news-pager ul.page-numbers{gap:6px !important}
  .kora-news-pager ul.page-numbers>li>a.page-numbers,
  .kora-news-pager ul.page-numbers>li>span.page-numbers{min-width:36px !important;height:36px !important;padding:0 9px !important}
}


/* ===== Match team standings — v3.7.3 ===== */
.apc-match-standings{margin:22px 0;padding:18px;border:1px solid #e6eaf0;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.05)}
.apc-match-standings-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}
.apc-match-standings-head h2{margin:3px 0 0;font-size:20px;line-height:1.55;color:#182033}
.apc-match-standings-kicker{font-size:12px;font-weight:800;color:#d91f32;background:#fff0f2;border-radius:999px;padding:4px 9px;display:inline-block}
.apc-match-standings-head>a{flex:none;text-decoration:none;font-size:13px;font-weight:800;border:1px solid #e5e7eb;border-radius:10px;padding:7px 10px;color:#b31425;background:#fff}
.apc-match-standings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.apc-standing-team{border:1px solid #e8ebf0;border-radius:15px;padding:13px;background:#f9fafc;min-width:0}
.apc-standing-team-main{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px}
.apc-standing-logo{width:48px;height:48px;border-radius:50%;background:#fff;border:1px solid #e7e9ee;display:grid;place-items:center;overflow:hidden;font-size:22px}
.apc-standing-logo img{width:42px;height:42px;object-fit:contain}
.apc-standing-team-main strong{display:block;font-size:16px;white-space:normal;overflow-wrap:anywhere;color:#151a27}
.apc-standing-team-main small{display:block;margin-top:3px;font-size:11px;color:#7c8494}
.apc-standing-rank{min-width:44px;height:44px;padding:0 7px;border-radius:12px;display:grid;place-items:center;background:#172033;color:#fff;font-weight:900;font-size:18px;direction:ltr}
.apc-standing-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:12px;border-top:1px solid #e7eaf0;padding-top:10px}
.apc-standing-stats span{text-align:center;min-width:0}
.apc-standing-stats b{display:block;font-size:15px;color:#1d2433}
.apc-standing-stats small{display:block;margin-top:2px;font-size:10px;color:#8a92a1}
.apc-standing-stats .is-points{background:#fff0f2;border-radius:9px;padding:4px 2px}
.apc-standing-stats .is-points b{color:#c7192d}
.apc-standing-team.is-missing{opacity:.65}
@media(max-width:620px){
  .apc-match-standings{padding:13px;margin:18px 0;border-radius:15px}
  .apc-match-standings-head{align-items:flex-start}
  .apc-match-standings-head h2{font-size:17px}
  .apc-match-standings-head>a{font-size:11px;padding:6px 8px}
  .apc-match-standings-grid{grid-template-columns:1fr}
  .apc-standing-team{padding:11px}
}

/* شعارات بيضاء (مصممة للخلفيات الداكنة) — دائرة داكنة حتى تظهر على الكروت الفاتحة */
img.apc-logo-light{background:#1f2937!important;border-radius:50%!important;padding:5px!important;box-sizing:border-box!important;object-fit:contain}
.match-league img.apc-logo-light,.apc-team-cell img.apc-logo-light{padding:2px!important}
body.Night img.apc-logo-light{background:transparent!important;padding:0!important}
body:not(.Night) img.apc-ys-logo:not(.apc-logo-light){filter:drop-shadow(0 0 1px rgba(15,23,42,.55))}

/* شعارات البطولات في كروت المباريات وصفحة المباراة */
.kora-matches-container .match-league.has-logo::before{display:none!important;content:none!important}
.match-league .apc-league-logo{width:18px;height:18px;flex:0 0 18px;object-fit:contain;display:inline-block}
.sl-match-league.has-logo{display:flex;align-items:center;justify-content:center;gap:7px}
.sl-match-league .apc-league-logo{width:22px;height:22px;object-fit:contain;background:#fff;border-radius:50%;padding:2px;display:inline-block}
