:root {
  --sp-dark-bg: #131b26;
  --sp-dark-card: #1a2433;
  --sp-dark-border: #263346;
  --sp-accent: #7ec81e;
  --sp-text-light: #e5ebf3;
  --sp-text-muted: #93a3b8;
  --sp-white: #ffffff;
  --sp-bg-page: #f4f6f9;
  --sp-radius: 6px;
}

.sp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.esh-finance { display: none !important; }

.sp-topbar {
  background: #1b2738;
  border-bottom: 2px solid var(--sp-accent);
  color: var(--sp-white);
}
.sp-topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.sp-live-btn {
  background: var(--sp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  padding: 6px 12px;
  text-decoration: none;
  text-align: center;
  flex-shrink: 0;
}
.sp-ticker-wrap {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
}
.sp-ticker-wrap::-webkit-scrollbar { display: none; }
.sp-ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.sp-t-score {
  background: #0f1620;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  color: #fff;
}
.sp-t-score b { color: var(--sp-accent); margin-right: 4px; }

.sp-league-strip-sec { margin: 14px 0; }
.sp-league-strip-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--sp-radius);
  overflow: hidden;
}
.sp-ls-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding-right: 14px;
}
.sp-ls-tabs { display: flex; }
.sp-ls-tab {
  background: transparent;
  border: none;
  border-right: 1px solid #e2e8f0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-decoration: none;
}
.sp-ls-tab.active {
  background: #fff;
  color: #0f172a;
  box-shadow: inset 0 3px 0 var(--sp-accent);
}
.sp-ls-meta { display: flex; gap: 14px; font-size: 13px; color: #64748b; }
.sp-ls-meta a { color: #0f172a; text-decoration: none; }
.sp-ls-teams { display: flex; overflow-x: auto; padding: 10px 8px; gap: 4px; }
.sp-ls-team {
  flex: 0 0 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1e293b;
  padding: 6px 3px;
  border-bottom: 3px solid #cbd5e1;
  transition: transform .15s;
}
.sp-ls-team img { width: 34px;height:34px;object-fit:contain;margin-bottom:4px; }
.sp-team-name { max-width:72px;font-size:9px;font-weight:700;line-height:1.15;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.sp-ls-team:hover { transform: translateY(-2px); }
.sp-ls-team.rank-top { border-bottom-color: #2563eb; }
.sp-ls-team.rank-eu { border-bottom-color: #16a34a; }
.sp-ls-team.rank-rel { border-bottom-color: #ef4444; }
.sp-ls-team .sp-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0f172a;
}
.sp-ls-team .sp-pts { font-size: 10px; font-weight: 800; color:#0f172a; }

.sp-widgets-sec { margin: 16px 0; }
.sp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.sp-ad-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--sp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  height: 100%;
}
.sp-ad-placeholder {
  width: 300px;
  height: 250px;
  background: #eef2f6;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px dashed #cbd5e1;
  text-align: center;
}

.sp-dark-widget {
  background: var(--sp-dark-bg);
  color: var(--sp-text-light);
  border-radius: var(--sp-radius);
  display: flex;
  flex-direction: column;
  height: 380px;
  overflow: hidden;
  border: 1px solid var(--sp-dark-border);
}
.sp-widget-header { padding: 12px 14px; background: var(--sp-dark-card); border-bottom: 1px solid var(--sp-dark-border); }
.sp-widget-title { color: var(--sp-accent); font-size: 13px; font-weight: 800; text-decoration: none; letter-spacing: .3px; }
.sp-widget-scroll { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #33445c var(--sp-dark-bg); }

.sp-tv-date {
  background: #1f2b3d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 7px;
  position: sticky;
  top: 0;
  z-index: 2;
}
.sp-tv-row {
  display: grid;
  grid-template-columns: 24px 42px 1fr;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--sp-dark-border);
  text-decoration: none;
  color: var(--sp-text-light);
  font-size: 12px;
  transition: background .15s;
}
.sp-tv-row:hover { background: #1d2838; }
.sp-tv-row img { width: 22px; height: 22px; object-fit: contain; border-radius: 3px; background: #fff; padding: 1px; }
.sp-tv-time { color: var(--sp-accent); font-weight: 700; font-size: 12px; }
.sp-tv-teams { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.sp-tv-teams span:first-child { text-align: right; flex: 1; }
.sp-tv-teams span:last-child { text-align: left; flex: 1; }
.sp-tv-teams em { color: var(--sp-text-muted); font-style: normal; }

.sp-sb-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sp-dark-card); border-bottom: 1px solid var(--sp-dark-border); }
.sp-sb-tab { background: transparent; border: none; color: var(--sp-text-muted); font-size: 12px; font-weight: 800; padding: 12px 6px; cursor: pointer; border-bottom: 2px solid transparent; }
.sp-sb-tab.active { color: var(--sp-accent); border-bottom-color: var(--sp-accent); }
.sp-sb-leagues { display: flex; gap: 4px; overflow-x: auto; padding: 6px 8px; background: #101720; border-bottom: 1px solid var(--sp-dark-border); scrollbar-width: none; }
.sp-sb-leagues::-webkit-scrollbar { display: none; }
.sp-sb-leagues button { background: transparent; border: none; color: var(--sp-text-muted); font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 3px; cursor: pointer; white-space: nowrap; }
.sp-sb-leagues button.active { background: var(--sp-dark-card); color: #fff; }
.sp-sb-body { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #33445c var(--sp-dark-bg); }
.sp-sb-pane { display: none; }
.sp-sb-pane.active { display: block; }
.sp-st-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sp-st-table th { text-align: center; padding: 7px 4px; color: var(--sp-text-muted); font-weight: 700; border-bottom: 1px solid var(--sp-dark-border); position: sticky; top: 0; background: var(--sp-dark-bg); }
.sp-st-table th:first-child, .sp-st-table td:first-child { text-align: left; padding-left: 12px; }
.sp-st-table td { text-align: center; padding: 7px 4px; border-bottom: 1px solid rgba(255,255,255,.05); }
.sp-st-table td:last-child { font-weight: 800; color: #fff; }
.sp-st-table tr:hover { background: #1d2838; }
.sp-sb-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--sp-dark-card); border-top: 1px solid var(--sp-dark-border); color: var(--sp-accent); font-size: 12px; font-weight: 700; text-decoration: none; }

.sp-news-module { margin: 20px 0; }
.sp-news-top { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; margin-bottom: 16px; }
.sp-news-right-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sp-card { background: #fff; border-radius: var(--sp-radius); overflow: hidden; border: 1px solid #e2e8f0; position: relative; }
.sp-card a { text-decoration: none; color: inherit; display: block; height: 100%; }
.sp-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.sp-card:hover img { transform: scale(1.04); }
.sp-card-tall { min-height: 460px; height: 100%; }
.sp-card-overlay-sm { height: 220px; }
.sp-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 55%); display: flex; align-items: flex-end; padding: 16px; }
.sp-card-overlay h3 { color: #fff; margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; }
.sp-card-std .sp-card-img { height: 160px; overflow: hidden; }
.sp-card-std .sp-card-body { padding: 12px; }
.sp-card-std h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.35; color: #0f172a; }
.sp-card-std p { margin: 0; font-size: 12px; color: #475569; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-ad-inline { min-height: 250px; }
.sp-news-empty { padding: 30px; color: #64748b; text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 8px; }
.sp-em { padding: 18px; text-align: center; color: var(--sp-text-muted); font-size: 12px; }

@media (max-width: 992px) {
  .sp-grid-3 { grid-template-columns: 1fr; }
  .sp-news-top { grid-template-columns: 1fr; }
  .sp-card-tall { min-height: 280px; }
}
@media (max-width: 600px) {
  .sp-news-right-grid { grid-template-columns: 1fr; }
  .sp-ls-meta { display: none; }
  .sp-ls-tab { padding: 9px 10px; font-size: 11px; }
  .sp-topbar-inner { gap: 8px; }
  .sp-live-btn { padding: 6px 8px; font-size: 10px; }
  .sp-ticker-item { font-size: 11px; }
}
.sp-teams-sec { margin: 0 0 14px; }
.sp-teams-box { background:#fff;border:1px solid #e2e8f0;border-radius:var(--sp-radius);overflow:hidden; }
.sp-teams-title { padding:9px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:10px;font-weight:900;letter-spacing:.12em;color:#64748b; }
.sp-teams-list { display:flex;overflow-x:auto;gap:2px;padding:7px 8px;scrollbar-width:none; }
.sp-teams-list::-webkit-scrollbar { display:none; }
.sp-team { flex:0 0 74px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 2px;text-decoration:none;color:#334155;border-radius:5px; }
.sp-team:hover { background:#f1f5f9; }
.sp-team img { width:38px;height:38px;object-fit:contain;display:block; }
.sp-team span { max-width:72px;font-size:9px;font-weight:700;text-align:center;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.esh-archive-description { max-width:900px;margin:0 0 18px;color:#475569;font-size:14px;line-height:1.7; }
.esh-archive-description p { margin:0 0 10px; }
.esh-archive-team-logo { width:58px;height:58px;object-fit:contain;float:right;margin:0 0 10px 16px; }
.sp-special-page { padding-top:18px; padding-bottom:34px; }
.sp-special-head { margin:0 0 16px;padding:20px 22px;border:1px solid #e2e8f0;border-radius:8px;background:linear-gradient(135deg,#fff,#f8fafc); }
.sp-special-head .sp-kicker { display:block;color:#7ec81e;font-size:10px;font-weight:900;letter-spacing:.12em;margin-bottom:6px; }
.sp-special-head h1 { margin:0 0 6px;font-size:28px;line-height:1.15;color:#0f172a; }
.sp-special-head p { margin:0;color:#64748b;font-size:13px;line-height:1.6; }
.sp-live-panel { margin:0 0 16px;border:1px solid #263346;border-radius:8px;overflow:hidden;background:#131b26;color:#e5ebf3; }
.sp-live-panel-head { padding:10px 14px;background:#1a2433;border-bottom:1px solid #263346;font-size:11px;font-weight:900;letter-spacing:.08em;color:#7ec81e; }
.sp-live-list { display:flex;gap:8px;overflow-x:auto;padding:10px 12px;scrollbar-width:none; }
.sp-live-list::-webkit-scrollbar { display:none; }
.sp-live-item { display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:7px 9px;border:1px solid #263346;border-radius:5px;background:#1a2433;font-size:11px;white-space:nowrap; }
.sp-live-min { color:#7ec81e;font-weight:900; }
.sp-live-score { padding:2px 5px;border-radius:3px;background:#0f1620;color:#fff;font-weight:900; }
.sp-special-card { margin:0 0 16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;overflow:hidden; }
.sp-special-card-head { display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 15px;border-bottom:1px solid #e2e8f0;background:#f8fafc; }
.sp-special-card-head h2 { margin:0;font-size:16px;color:#0f172a; }
.sp-special-card-head a { color:#64748b;text-decoration:none;font-size:11px;font-weight:700; }
.sp-special-scroll { overflow-x:auto; }
.sp-special-table { width:100%;min-width:650px;border-collapse:collapse;font-size:12px; }
.sp-special-table th,.sp-special-table td { padding:8px 6px;border-bottom:1px solid #edf1f5;text-align:center; }
.sp-special-table th { background:#f8fafc;color:#64748b;font-size:9px;text-transform:uppercase;letter-spacing:.04em; }
.sp-special-table td:nth-child(2) { text-align:left; }
.sp-special-team { display:inline-flex;align-items:center;gap:7px;color:#0f172a;text-decoration:none;font-weight:700; }
.sp-special-team img { width:22px;height:22px;object-fit:contain; }
.sp-team-grid { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 20px; }
.sp-team-card { display:flex;flex-direction:column;align-items:center;gap:5px;padding:14px 8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;text-decoration:none;color:#0f172a;text-align:center; }
.sp-team-card:hover { border-color:#7ec81e;transform:translateY(-1px); }
.sp-team-card img { width:56px;height:56px;object-fit:contain; }
.sp-team-card strong { font-size:11px;line-height:1.2; }
.sp-team-card span { color:#64748b;font-size:9px; }
.sp-team-match-box { display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;font-size:12px; }
.sp-team-match-box .sp-live-min { color:#c00d1c; }
.sp-team-match-box .sp-live-score { background:#131b26;color:#fff;padding:2px 6px;border-radius:3px; }
@media (max-width:900px){ .sp-team-grid{grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width:520px){ .sp-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
