/* Akhbari Sport + ticker — styles ported from the Saharadoc theme (variables renamed --ak-*). */
:root{--ak-red:#d6111e;--ak-red-600:#b80e19;--ak-red-700:#8f0b13;--ak-black:#0b0b0b;--ak-bg:#f3f3f3;--ak-surface:#fff;--ak-surface-2:#f7f7f7;--ak-text:#1a1a1a;--ak-muted:#6b6b6b;--ak-line:#d6d6d6;--ak-shadow:0 2px 10px rgba(0,0,0,.07);--ak-radius:10px;--ak-radius-sm:6px;--ak-container:1200px;--ak-gutter:15px;--ak-font:inherit}
.ak-sp{font-family:inherit;direction:rtl}.ak-sp .container,.ak-ticker-wrap .container{max-width:var(--ak-container);margin:0 auto;padding:0 var(--ak-gutter)}
.ak-sp img.fill{width:100%;height:100%;object-fit:cover}.ak-sp a{text-decoration:none}.ak-sp [hidden]{display:none!important}
.ak-sport-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 14px!important;margin:auto 6px;border-radius:22px;background:var(--ak-red);color:#fff!important;font-weight:800;line-height:1.4;direction:ltr;white-space:nowrap}
.ak-sport-pill:hover{background:var(--ak-red-600)}.ak-sport-pill b{font-weight:900}.ak-sport-pill span{font-weight:600;opacity:.9}
.ak-ticker-wrap{direction:rtl;margin:14px 0 6px}.ak-ticker-wrap .ticker{margin-top:0}.ak-ticker-wrap .ticker-item a{color:var(--ak-text)}.ak-ticker-wrap .ticker-item a:hover{color:var(--ak-red)}
.ak-ticker-wrap .ticker-chip{font-weight:800;color:#fff;font-size:13px;padding:4px 9px}
/* ───────────── Ticker ───────────── */
.ticker {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  background: var(--ak-surface);
  border-radius: var(--ak-radius);
  box-shadow: var(--ak-shadow);
  overflow: hidden;
}
.ticker-label {
  flex: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: var(--ak-red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--ak-radius);
  box-shadow: 0 0 14px rgba(186, 22, 34, 0.55);
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(to left, transparent, #000 30px, #000 calc(100% - 30px), transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-inline-end: 14px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 16px;
}
.ticker-chip {
  background: var(--ak-red);
  border-radius: 4px;
  padding: 3px 8px;
  display: inline-flex;
}
.ticker-chip img {
  height: 26px;
  width: auto;
}
.ticker-arrows {
  flex: none;
  display: flex;
  gap: 10px;
  padding-inline-end: 12px;
}
.ticker-arrows button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--ak-red);
  color: #fff;
  display: grid;
  place-items: center;
}
/* ───────────── Section heading  ── [ title ] ── ───────────── */
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.section-heading::before,
.section-heading::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--ak-line);
}
.section-heading-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ak-black);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  padding: 13px 20px;
  max-width: 80%;
}
.section-heading-label a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.section-heading-label a:hover {
  color: #fff;
  opacity: 0.85;
}
.band-red .section-heading::before,
.band-red .section-heading::after {
  background: rgba(0, 0, 0, 0.75);
}
/* overlay card */
.ocard {
  position: relative;
  border-radius: var(--ak-radius);
  overflow: hidden;
  background: #222;
  isolation: isolate;
}
.ocard-link {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
}
.ocard-link:hover {
  color: #fff;
}
.ocard-img {
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ocard:hover .ocard-img {
  transform: scale(1.05);
}
.ocard-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 38%, transparent 65%);
  z-index: 0;
}
.ocard-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 14px 16px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.ocard-date {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
.ocard-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.ocard-lg .ocard-title {
  font-size: 22px;
}
.ocard-lg .ocard-body {
  padding: 20px 22px;
}
.ocard-lg .play-badge {
  width: 46px;
  height: 46px;
}
/* video cards: the date sits in its own row above the title, never over burnt-in thumbnail text */
.vcard .ocard-link::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 30%, transparent 55%);
}
.shorts-row .ocard {
  aspect-ratio: 3 / 2.1;
}
.three-cols .ocard {
  aspect-ratio: 16 / 11;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.post-grid .ocard {
  aspect-ratio: 293 / 208;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--ak-muted);
  font-size: 15px;
}
.breadcrumbs li + li::before {
  content: '/';
  margin-inline-end: 6px;
}
.related-heading .section-heading-label,
.footer-heading span {
  background: var(--ak-red);
  border-radius: 30px;
}
.related .post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sidebar-box .section-heading-label {
  background: var(--ak-red);
  border-radius: 6px;
  font-size: 15px;
  padding: 9px 16px;
}
.video-grid .ocard {
  aspect-ratio: 16 / 10;
}
.video-grid.shorts .ocard {
  aspect-ratio: 3 / 2.1;
}
@media (max-width: 768px) {
  .ticker {
    margin-top: 14px;
    height: 48px;
    gap: 8px;
  }
  .ticker-label span {
    display: none; /* icon only on phones */
  }
  .ticker-label {
    padding: 0 14px;
  }
  .ticker-arrows {
    display: none; /* swipe-free marquee; saves width */
  }
  .ticker-item {
    font-size: 15px;
  }
  .section-heading-label {
    font-size: 17px;
    padding: 11px 16px;
  }
  .opf-main .ocard {
    aspect-ratio: 16 / 10;
  }
  .one-plus-four:not(:has(.opf-mobile-list)) .opf-side .ocard {
    aspect-ratio: 16 / 11;
  }
  .one-plus-four:not(:has(.opf-mobile-list)) .ocard-sm .ocard-title {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
  .one-plus-four:not(:has(.opf-mobile-list)) .ocard-sm .ocard-body {
    padding: 10px;
    gap: 8px;
  }
  .one-plus-four:not(:has(.opf-mobile-list)) .ocard-sm .play-badge {
    width: 28px;
    height: 28px;
  }
  .one-plus-four:not(:has(.opf-mobile-list)) .ocard-sm .ocard-date {
    display: none;
  }
  .ocard-lg .ocard-title {
    font-size: 19px;
  }
  .shorts-row .ocard {
    flex: 0 0 62%;
    aspect-ratio: 9 / 14;
    scroll-snap-align: start;
  }
  .post-grid,
  .video-grid,
  .related .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-grid .ocard {
    aspect-ratio: 16 / 10;
  }
}
/* overlay card: date above title (video cards keep play badge beside text) */
.ocard:not(.vcard) .ocard-body {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.vcard .ocard-body > div {
  min-width: 0;
}
/* ============================================================
   Saharadoc Sport
   ============================================================ */
.sp-hero { background: linear-gradient(135deg, #0b0b0b, #2a0a0d 60%, var(--ak-red)); color: #fff; padding: 26px 0 18px; }
.sp-hero-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sp-hero h1 { margin: 0; font-size: 34px; font-weight: 900; direction: ltr; letter-spacing: .3px; }
.sp-hero h1 span { color: #fff; background: var(--ak-red); padding: 0 10px; border-radius: 8px; margin-inline-end: 6px; }
.sp-hero p { margin: 4px 0 0; color: #d8d8d8; font-weight: 600; }
.sp-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.sp-days::-webkit-scrollbar { display: none; }
.sp-days a { flex: none; display: grid; text-align: center; min-width: 64px; padding: 6px 12px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; line-height: 1.3; }
.sp-days a b { font-size: 14px; }
.sp-days a small { font-size: 12px; opacity: .8; }
.sp-days a.on { background: #fff; color: var(--ak-red); }
.sp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; margin-top: 22px; align-items: start; }
.sp-card { background: var(--ak-surface); border-radius: var(--ak-radius); box-shadow: var(--ak-shadow); overflow: hidden; }
.sp-card-h { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 800; font-size: 18px; border-bottom: 3px solid var(--ak-red); }
.sp-card-h small { color: var(--ak-muted); font-weight: 600; font-size: 13px; margin-inline-start: auto; }
.sp-comp h3 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; font-size: 16px; font-weight: 800; background: var(--ak-surface-2); border-top: 1px solid var(--ak-line); }
.sp-comp h3 img { object-fit: contain; }
.sp-comp h3 small { margin-inline-start: auto; font-size: 12px; color: var(--ak-muted); font-weight: 600; direction: ltr; }
.sp-comp ul { list-style: none; margin: 0; padding: 0; }
.sp-match { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--ak-line); }
.sp-match:nth-child(even) { background: color-mix(in srgb, var(--ak-surface-2) 55%, transparent); }
.sp-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 15px; }
.sp-team b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-team img { flex: none; object-fit: contain; }
.sp-a { flex-direction: row-reverse; justify-content: flex-start; text-align: left; }
.sp-mid { display: grid; justify-items: center; gap: 2px; }
.sp-time { font-weight: 800; font-size: 15px; background: var(--ak-surface-2); border: 1px solid var(--ak-line); border-radius: 8px; padding: 2px 10px; direction: ltr; }
.sp-score { font-weight: 900; font-size: 18px; display: inline-flex; gap: 8px; }
.sp-st { font-size: 11px; font-weight: 700; color: var(--ak-muted); display: inline-flex; align-items: center; gap: 4px; }
.is-live .sp-score, .is-live .sp-st { color: var(--ak-red); }
.is-live .sp-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--ak-red); animation: spPulse 1.2s infinite; }
.sp-empty { padding: 22px 18px; margin: 0; color: var(--ak-muted); }
.sp-all { display: block; text-align: center; padding: 12px; font-weight: 800; color: var(--ak-red); border-top: 1px solid var(--ak-line); }
.sp-ltabs { display: flex; gap: 6px; padding: 12px 14px 4px; overflow-x: auto; scrollbar-width: none; }
.sp-ltabs button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ak-line); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.sp-ltabs button img { width: 30px; height: 30px; object-fit: contain; }
.sp-ltabs button[aria-selected="true"] { border-color: var(--ak-red); box-shadow: 0 0 0 2px var(--ak-red); }
.sp-lpanel h4 { margin: 8px 16px; font-size: 16px; font-weight: 800; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sp-table th { font-size: 12px; color: var(--ak-muted); font-weight: 700; padding: 6px 4px; border-bottom: 1px solid var(--ak-line); }
.sp-table td { text-align: center; padding: 7px 4px; border-bottom: 1px solid var(--ak-line); }
.sp-table .t { text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.sp-table td.t img { vertical-align: middle; margin-inline-end: 4px; object-fit: contain; }
.sp-table tr td:first-child { color: var(--ak-muted); font-weight: 700; width: 26px; }
.sp-expand { display: block; width: 100%; padding: 10px; border: 0; background: var(--ak-surface-2); color: var(--ak-red); font: inherit; font-weight: 800; cursor: pointer; }
.sp-home { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.band-red .sp-card { color: var(--ak-text); }
@media (max-width: 900px) {
  .sp-layout, .sp-home { grid-template-columns: minmax(0, 1fr); }
  .sp-match { grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); padding: 10px 12px; }
  .sp-team { font-size: 13px; gap: 6px; }
  .sp-hero h1 { font-size: 26px; }
}
/* Saharadoc Sport: header button, tools, text tabs */
.sport-pill { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 6px; padding: 7px 14px; border-radius: 22px; background: var(--ak-red); color: #fff; font-weight: 800; font-size: 15px; white-space: nowrap; direction: ltr; box-shadow: 0 0 0 2px rgba(255,255,255,.15) inset; transition: transform .15s, background .15s; }
.sport-pill b { font-weight: 900; }
.sport-pill span { font-weight: 600; opacity: .9; }
.sport-pill:hover, .sport-pill.on { background: #fff; color: var(--ak-red); transform: translateY(-1px); }
.sp-tools { display: flex; justify-content: flex-end; padding: 10px 18px 0; }
.sp-live-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ak-line); background: var(--ak-surface); color: var(--ak-text); border-radius: 20px; padding: 5px 14px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.sp-live-btn i { width: 8px; height: 8px; border-radius: 50%; background: var(--ak-red); }
.sp-live-btn[aria-pressed="true"] { background: var(--ak-red); color: #fff; border-color: var(--ak-red); }
.sp-live-btn[aria-pressed="true"] i { background: #fff; }
.sp-comp h3[data-sp-fold] { cursor: pointer; user-select: none; }
.sp-fold { margin-inline-start: 8px; display: inline-flex; transition: transform .2s; }
.sp-comp h3:not(:has(small)) .sp-fold { margin-inline-start: auto; }
.sp-comp h3[aria-expanded="false"] .sp-fold { transform: rotate(180deg); }
.sp-ltabs-text { flex-wrap: wrap; gap: 6px; }
.sp-ltabs-text button { width: auto; height: auto; border-radius: 18px; padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ak-text); background: var(--ak-surface-2); border: 1px solid var(--ak-line); }
.sp-ltabs-text button[aria-selected="true"] { background: var(--ak-red); color: #fff; border-color: var(--ak-red); box-shadow: none; }
.sp-credit { font-size: 12px; color: var(--ak-muted); padding: 8px 16px 12px; margin: 0; }
.sp-credit a { color: var(--ak-muted); text-decoration: underline; }
.sp-news { margin-top: 30px; }
@media (max-width: 900px) {
  .sport-pill { padding: 6px 12px; font-size: 14px; margin-inline-start: 4px; }
  .sport-pill span { display: none; }
}
/* ───────── Saharadoc Sport: competitions ───────── */
.sp-lnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.sp-lnav a { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid rgba(255,255,255,.18); }
.sp-lnav a:hover { background: rgba(255,255,255,.22); }
.sp-lnav a.on { background: #fff; color: var(--ak-red); border-color: #fff; }
.sp-hero-league { padding: 22px 0 18px; }
.sp-crumb { margin: 0 0 4px; font-size: 13px; color: #ccc; }
.sp-crumb a { color: #fff; text-decoration: none; font-weight: 700; }
.sp-league-title { margin: 0; font-size: 32px; font-weight: 900; color: #fff; direction: rtl; }
.sp-dayline { list-style: none; padding: 8px 12px 4px; font-size: 13px; font-weight: 800; color: var(--ak-muted, #777); border-top: 1px dashed rgba(127,127,127,.25); }
.sp-comp ul > .sp-dayline:first-child { border-top: 0; }
.sp-lg-link { display: block; margin-top: 10px; text-align: center; font-weight: 800; font-size: 14px; color: var(--ak-red); text-decoration: none; }
.sp-scorers ol { list-style: none; margin: 0; padding: 0; }
.sp-scorers li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid rgba(127,127,127,.15); }
.sp-sc-rank { width: 24px; height: 24px; border-radius: 50%; background: rgba(127,127,127,.15); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.sp-scorers li:first-child .sp-sc-rank { background: #d9b25f; color: #3a1a00; }
.sp-sc-p { flex: 1; display: grid; min-width: 0; }
.sp-sc-p b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-sc-p small { font-size: 12px; opacity: .75; display: flex; align-items: center; gap: 4px; }
.sp-sc-g { text-align: center; line-height: 1.1; }
.sp-sc-g b { font-size: 20px; color: var(--ak-red); display: block; }
.sp-sc-g small { font-size: 11px; opacity: .7; }
.sp-side > .sp-card + .sp-card { margin-top: 16px; }
@media (max-width: 600px) {
  .sp-league-title { font-size: 24px; }
  .sp-lnav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .sp-lnav a { flex: none; }
}
/* ───────── Saharadoc Sport: match & team pages ───────── */
.sp-mlink { display: contents; color: inherit; text-decoration: none; }
.sp-match.has-link { cursor: pointer; transition: background .15s; }
.sp-match.has-link:hover { background: rgba(127,127,127,.08); }
.sp-table td.t a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sp-table td.t a:hover { color: var(--ak-red); }
.sp-table td.t img { vertical-align: middle; }
.sp-table tr.is-me td { background: rgba(186,22,34,.12); font-weight: 800; }
.sp-hero-match { padding: 22px 0 30px; }
.sp-crumb a { color: #fff; }
.sp-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 14px; }
.sp-mt { display: grid; justify-items: center; gap: 8px; color: #fff; text-decoration: none; text-align: center; }
.sp-mt b { font-size: 22px; font-weight: 900; }
.sp-mt img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.sp-mt-ph { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.12); }
a.sp-mt:hover b { text-decoration: underline; }
.sp-board-mid { display: grid; justify-items: center; gap: 6px; min-width: 150px; }
.sp-board-score { display: flex; gap: 10px; align-items: center; font-size: 54px; font-weight: 900; color: #fff; line-height: 1; }
.sp-board-score i { font-style: normal; opacity: .6; }
.sp-board-time { font-size: 40px; font-weight: 900; color: #fff; }
.sp-board-st { background: rgba(255,255,255,.15); color: #fff; padding: 3px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.sp-board-st.is-live { background: #e5245a; }
.sp-ht { color: #ddd; font-size: 13px; }
.sp-facts { list-style: none; margin: 0; padding: 6px 14px 12px; }
.sp-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(127,127,127,.15); }
.sp-facts span { opacity: .7; }
.sp-facts b a { color: var(--ak-red); text-decoration: none; }
.sp-sub-h { margin-top: 6px; }
.sp-list { list-style: none; margin: 0; padding: 0; }
.sp-team-head { display: flex; align-items: center; gap: 20px; }
.sp-team-crest { width: 96px; height: 96px; object-fit: contain; background: rgba(255,255,255,.08); border-radius: 18px; padding: 8px; flex: none; }
.sp-team-meta { color: #e2e2e2; line-height: 1.8; margin: 6px 0 0; }
.sp-forms { display: flex; gap: 6px; margin-top: 10px; }
.sp-form { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #fff; text-decoration: none; }
.sp-form-w { background: #1f9d55; }
.sp-form-d { background: #8a8a8a; }
.sp-form-l { background: #d42d3a; }
.sp-squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; padding: 8px 14px 14px; }
.sp-squad h4 { margin: 8px 0 4px; color: var(--ak-red); font-size: 15px; }
.sp-squad ul { list-style: none; margin: 0; padding: 0; }
.sp-squad li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px dashed rgba(127,127,127,.2); font-size: 14px; }
.sp-squad small { opacity: .6; }
@media (max-width: 600px) {
  .sp-board { gap: 8px; }
  .sp-mt b { font-size: 15px; }
  .sp-mt img, .sp-mt-ph { width: 56px; height: 56px; }
  .sp-board-score { font-size: 38px; }
  .sp-board-time { font-size: 28px; }
  .sp-board-mid { min-width: 96px; }
  .sp-team-head { align-items: flex-start; }
  .sp-team-crest { width: 64px; height: 64px; }
}
/* ───────── Saharadoc Sport: phone layout (1.2.26) ───────── */
.sp-hero, .sp-hero-league, .sp-hero-match, .sp-hero-team { overflow-x: clip; }
.sp-hero-in > div { min-width: 0; flex: 1 1 340px; max-width: 100%; }
.sp-hero-in > .sp-days { min-width: 0; }
/* competitions strip: one scrolling row with faded edges */
.sp-lnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2px 2px 6px; margin-inline: -2px;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(to left, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%); }
.sp-lnav::-webkit-scrollbar { display: none; }
.sp-lnav a { flex: none; scroll-snap-align: center; white-space: nowrap; transition: background .15s, color .15s; }
.sp-ltabs-text { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.sp-ltabs-text::-webkit-scrollbar { display: none; }
/* standings */
.sp-table-wrap { overflow-x: auto; }
.sp-table { font-variant-numeric: tabular-nums; }
.sp-table thead th { background: var(--ak-surface-2); position: sticky; top: 0; }
.sp-table tbody tr { transition: background .15s; }
.sp-table tbody tr:hover td { background: rgba(127,127,127,.07); }
.sp-table td { padding: 9px 4px; }
.sp-table tr td:first-child, .sp-table tr th:first-child { width: 34px; padding-inline-start: 10px; }
.sp-rk { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: 12px; font-weight: 800; color: var(--ak-muted); }
.sp-table tr.z-top .sp-rk { background: #1f9d55; color: #fff; }
.sp-table tr.z-down .sp-rk { background: #d42d3a; color: #fff; }
.sp-table td.t { max-width: none; font-weight: 700; }
.sp-table td.t img { width: 22px; height: 22px; }
.sp-table .c-gd.is-pos { color: #1f9d55; }
.sp-table .c-gd.is-neg { color: #d42d3a; }
.sp-table td.c-pts b { display: inline-block; min-width: 30px; padding: 2px 6px; border-radius: 7px; background: var(--ak-red); color: #fff; font-weight: 900; }
.sp-table tr.is-me td.c-pts b { background: #111; }
.sp-zones { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--ak-muted); margin: 0; padding: 10px 16px 0; }
.sp-zones i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sp-zones i.z-top { background: #1f9d55; }
.sp-zones i.z-down { background: #d42d3a; margin-inline-start: 10px; }
/* scorers */
.sp-scorers li { gap: 10px; padding: 10px 14px; }
.sp-scorers li.is-top { background: linear-gradient(to left, rgba(217,178,95,.14), transparent 70%); }
.sp-scorers li.is-top2 .sp-sc-rank { background: #c0c4cc; color: #222; }
.sp-scorers li.is-top3 .sp-sc-rank { background: #cd8b54; color: #fff; }
.sp-sc-crest { width: 34px; height: 34px; border-radius: 50%; background: var(--ak-surface-2); display: grid; place-items: center; flex: none; }
.sp-sc-crest img { width: 24px; height: 24px; object-fit: contain; }
.sp-sc-p small a { color: inherit; text-decoration: none; }
.sp-sc-p small a:hover { color: var(--ak-red); }
.sp-sc-bar { display: block; height: 4px; border-radius: 4px; background: rgba(127,127,127,.15); margin-top: 6px; overflow: hidden; }
.sp-sc-bar i { display: block; height: 100%; border-radius: 4px; background: var(--ak-red); }
.sp-sc-g { min-width: 44px; }
.sp-sc-g b { font-size: 22px; }
/* section tabs: shown on phones and tablets only */
.sp-ptabs { display: none; }
@media (max-width: 900px) {
  .sp-hero { padding: 18px 0 14px; }
  .sp-hero-in { gap: 12px; }
  .sp-hero p { font-size: 14px; }
  .sp-layout { margin-top: 14px; gap: 14px; }
  .has-ptabs .sp-ptabs { display: flex; gap: 6px; position: sticky; top: 6px; z-index: 5; background: var(--ak-surface); padding: 6px; border-radius: 14px; box-shadow: var(--ak-shadow); }
  .sp-ptabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--ak-text); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
  .sp-ptabs button[aria-selected="true"] { background: var(--ak-red); color: #fff; }
  .has-ptabs .sp-side > .sp-card + .sp-card { margin-top: 0; }
}
@media (max-width: 480px) {
  .sp-table .c-x { display: none; }
  .sp-table { font-size: 14px; }
  .sp-table td.t { white-space: normal; line-height: 1.3; }
  .sp-card-h { font-size: 16px; padding: 12px 14px; }
  .sp-lnav a { padding: 6px 12px; font-size: 13px; }
  .sp-facts li { flex-wrap: wrap; }
  .sp-squad { grid-template-columns: minmax(0, 1fr); }
  .sp-team-meta { font-size: 14px; }
}
.sp-sc-p small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-side .sd-house { margin: 16px 0 0; }
/* theme overrides (SmartMag) */
.ak-sp .sp-hero h1, .ak-sp .sp-hero h1 * { color: #fff !important; }
.ak-sp .sp-hero h1 span { background: transparent; color: #ff8a92 !important; padding: 0; }
.ak-sp .sp-hero p { color: rgba(255,255,255,.85) !important; }
.ak-ticker-wrap .ticker-chip { background: #fff; box-shadow: 0 0 0 1px var(--ak-line) inset; color: var(--ak-red); }
