/* ==========================================================================
   TrueSpt MatchCenter — Data-Driven Live Match & Analytics Portal (Model #7)
   RTL Arabic | Dark Match Bar #0F172A | Emerald #059669 | Royal Blue #2563EB
   ========================================================================== */

:root {
    --dark-bar: #0A1224;
    --dark-pill: #1E293B;
    --emerald: #059669;
    --emerald-dark: #047857;
    --emerald-soft: rgba(5, 150, 105, 0.12);
    --blue: #2563EB;
    --blue-soft: rgba(37, 99, 235, 0.12);
    --red: #DC2626;
    --bg: #F4F7FA;
    --surface: #FFFFFF;
    --surface-alt: #F8FAFC;
    --border: #E2E8F0;
    --text: #0F172A;
    --text-muted: #475569;
    --text-light: #64748B;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 12px 26px rgba(15, 23, 42, 0.11);
    --font: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1280px;
}

[data-theme="dark"] {
    --bg: #0A1224;
    --surface: #111B33;
    --surface-alt: #172342;
    --border: #223254;
    --emerald: #00C875;
    --emerald-dark: #00A862;
    --emerald-soft: rgba(0, 200, 117, 0.14);
    --text: #F8FAFC;
    --text-muted: #CBD5E1;
    --text-light: #94A3B8;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

.mc-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 18px; }

/* 1. Top Dark Match-Center Scoreboard */
.mc-scoreboard-bar { background: var(--dark-bar); color: #F8FAFC; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.scoreboard-inner { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
.sb-live-tag {
    background: var(--red); color: #FFFFFF; font-size: 0.78rem; font-weight: 800;
    padding: 4px 11px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF; animation: mc-pulse 1.5s infinite; }
@keyframes mc-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
.sb-matches-scroll { display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.sb-matches-scroll::-webkit-scrollbar { display: none; }
.sb-match-pill {
    display: inline-flex; align-items: center; gap: 8px; background: var(--dark-pill);
    border: 1px solid rgba(255, 255, 255, 0.08); padding: 5px 12px; border-radius: 8px; font-size: 0.82rem; white-space: nowrap;
}
.sb-match-pill.is-live { border-color: rgba(5, 150, 105, 0.55); }
.sb-team { font-weight: 700; color: #E2E8F0; }
.sb-score { background: rgba(255, 255, 255, 0.08); color: #34D399; font-weight: 900; padding: 1px 8px; border-radius: 5px; direction: ltr; }
.sb-status { font-size: 0.74rem; color: #94A3B8; font-weight: 700; }
.sb-match-pill.is-live .sb-status { color: #F87171; }

/* 2. Crisp White Navbar */
.mc-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 850; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04); }
.mc-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.mc-brand-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mc-brand-logo { display: flex; flex-direction: column; line-height: 1.05; }
.mc-brand-ar { font-size: 1.32rem; font-weight: 900; color: var(--emerald); }
.mc-brand-en { font-size: 0.85rem; font-weight: 900; color: var(--emerald); direction: ltr; text-align: right; }
.mc-brand-en span { color: var(--blue); }
.mc-header-live-pill {
    background: var(--red); color: #FFFFFF; font-size: 0.72rem; font-weight: 800;
    padding: 3px 9px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px;
}
.mc-primary-nav { flex: 1; display: flex; justify-content: center; }
.mc-nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mc-nav-menu li a { display: block; padding: 8px 12px; font-size: 0.93rem; font-weight: 700; color: var(--text-muted); border-radius: 8px; }
.mc-nav-menu li a:hover, .mc-nav-menu li.current-menu-item > a { color: var(--emerald); background: var(--emerald-soft); }
.mc-header-actions { display: flex; align-items: center; gap: 10px; }
.mc-icon-btn, .mc-mobile-btn {
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
    background: var(--surface-alt); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.mc-mobile-btn { display: none; }
.mc-theme-switch { width: 48px; height: 26px; border-radius: 99px; border: 1px solid var(--border); background: #1E293B; position: relative; cursor: pointer; padding: 0; }
.switch-knob { position: absolute; top: 2px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform 0.25s ease; }
[data-theme="dark"] .mc-theme-switch { background: var(--emerald); }
[data-theme="dark"] .switch-knob { transform: translateX(-21px); }

.mc-search-drop { background: var(--surface-alt); border-top: 1px solid var(--border); padding: 12px 0; }
.mc-search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.mc-search-form input { flex: 1; padding: 10px 15px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: inherit; font-size: 0.95rem; }
.mc-search-form button { padding: 0 22px; border: none; border-radius: 9px; background: var(--emerald); color: #FFFFFF; font-family: inherit; font-weight: 800; cursor: pointer; }

/* 3. Split Hero (Slider + Match of the Day) */
.mc-main { padding: 22px 0 56px; }
.mc-hero-split { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; margin-bottom: 26px; align-items: stretch; }
.mc-slider-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark-bar); min-height: 380px; box-shadow: var(--shadow); }
.mc-slide { display: none; position: relative; width: 100%; height: 100%; min-height: 380px; }
.mc-slide.is-active { display: block; }
.mc-slide img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.mc-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 15%, rgba(15, 23, 42, 0.93) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #FFFFFF;
}
.mc-pill-badge { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 0.78rem; font-weight: 800; color: #FFFFFF; background: var(--emerald); }
.mc-pill-blue { background: var(--blue); }
.mc-pill-red  { background: var(--red); }
.mc-slide-title { margin: 12px 0 10px; font-size: 1.68rem; font-weight: 900; line-height: 1.38; color: #FFFFFF; }
.mc-slide-meta { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #CBD5E1; }
.mc-slide-meta img { width: 26px; height: 26px; min-height: 26px; border-radius: 50%; }
.mc-slider-dots { position: absolute; bottom: 16px; left: 20px; display: flex; gap: 6px; z-index: 5; }
.mc-dot { width: 9px; height: 9px; border-radius: 99px; border: none; background: rgba(255, 255, 255, 0.45); cursor: pointer; padding: 0; transition: width 0.2s ease, background 0.2s ease; }
.mc-dot.is-active { width: 24px; background: var(--emerald); }

.motd-card {
    background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, var(--emerald), var(--blue));
    background-origin: border-box; background-clip: padding-box, border-box;
    display: flex; flex-direction: column; justify-content: space-between;
}
.motd-top { text-align: center; margin-bottom: 14px; }
.motd-heading { margin: 0 0 6px; font-size: 1.15rem; font-weight: 900; }
.motd-teams-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 12px 0 18px; }
.motd-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.team-monogram {
    width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.15rem; color: #FFFFFF; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.team-monogram-emerald { background: linear-gradient(135deg, #059669, #10B981); }
.team-monogram-blue    { background: linear-gradient(135deg, #1D4ED8, #3B82F6); }
.motd-team-name { font-weight: 800; font-size: 0.98rem; }
.motd-score-box { text-align: center; }
.motd-score { font-size: 2.1rem; font-weight: 900; line-height: 1.1; direction: ltr; letter-spacing: 2px; }
.motd-time { font-size: 0.82rem; color: var(--text-light); font-weight: 700; }
.motd-prob-wrap { padding-top: 14px; border-top: 1px solid var(--border); }
.motd-prob-title { text-align: center; font-size: 0.88rem; font-weight: 800; margin-bottom: 10px; }
.prob-bar { display: flex; height: 11px; border-radius: 99px; overflow: hidden; background: var(--surface-alt); margin-bottom: 10px; }
.prob-seg-a { background: var(--emerald); }
.prob-seg-d { background: #94A3B8; }
.prob-seg-h { background: var(--blue); }
.prob-labels { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 800; }
.prob-emerald { color: var(--emerald); }
.prob-draw    { color: var(--text-light); }
.prob-blue    { color: var(--blue); }

/* 4. Transfer Radar Horizontal Strip */
.mc-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mc-section-title { margin: 0; font-size: 1.25rem; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.mc-section-title::before { content: ""; width: 5px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, var(--emerald), var(--blue)); display: inline-block; }
.mc-scroll-btns { display: flex; gap: 6px; }
.mc-scroll-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-weight: 900; }
.radar-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(255px, 1fr);
    gap: 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 28px;
}
.radar-track::-webkit-scrollbar { display: none; }
.radar-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.radar-card:hover { transform: translateY(-2px); border-color: var(--emerald); }
.radar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.radar-player { font-weight: 800; font-size: 0.96rem; }
.radar-dest { font-size: 0.84rem; color: var(--blue); font-weight: 700; }
.radar-arrow { color: var(--emerald); font-weight: 900; font-size: 1.1rem; }
.radar-progress-row { display: flex; align-items: center; gap: 8px; }
.radar-bar { flex: 1; height: 7px; background: var(--surface-alt); border-radius: 99px; overflow: hidden; }
.radar-bar-fill { height: 100%; background: linear-gradient(90deg, var(--emerald), #10B981); border-radius: 99px; }
.radar-pct { font-size: 0.78rem; font-weight: 900; color: var(--emerald); }

/* 5. 2-Column Data & Editorial Workspace */
.mc-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.tactical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.tactical-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tactical-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tactical-visual-row { display: grid; grid-template-columns: 74px 1fr 74px; gap: 12px; align-items: center; margin-bottom: 14px; }
.player-rating-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.rating-ring {
    width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--emerald);
    background: var(--emerald-soft); display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1rem; color: var(--emerald);
}
.rating-ring.ring-blue { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.rating-player-name { font-size: 0.76rem; font-weight: 800; color: var(--text-muted); max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-pitch-svg { width: 100%; height: auto; border-radius: 8px; }
.tactical-title { margin: 0 0 6px; font-size: 1.04rem; font-weight: 800; line-height: 1.45; }
.tactical-title a:hover { color: var(--emerald); }
.tactical-meta { font-size: 0.8rem; color: var(--text-light); display: flex; justify-content: space-between; }

.mc-cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mc-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.mc-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark-bar); }
.mc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.mc-card:hover .mc-card-media img { transform: scale(1.05); }
.mc-card-media .mc-pill-badge { position: absolute; top: 10px; right: 10px; }
.mc-card-body { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.mc-card-title { margin: 0 0 8px; font-size: 1rem; font-weight: 800; line-height: 1.48; }
.mc-card-title a:hover { color: var(--emerald); }
.mc-card-meta { margin-top: auto; font-size: 0.79rem; color: var(--text-light); display: flex; gap: 8px; }

/* 6. Sidebar (Standings w/ Form Badges + Trending) */
.mc-sidebar { display: flex; flex-direction: column; gap: 20px; }
.mc-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.mc-widget-title { margin: 0 0 14px; font-size: 1.08rem; font-weight: 900; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.mc-standings-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.mc-standings-table th { color: var(--text-light); font-weight: 700; padding: 6px 4px 10px; border-bottom: 1px solid var(--border); text-align: center; }
.mc-standings-table th.col-t, .mc-standings-table td.col-t { text-align: right; }
.mc-standings-table td { padding: 9px 4px; border-bottom: 1px solid var(--border); text-align: center; font-weight: 700; }
.mc-standings-table tr:last-child td { border-bottom: none; }
.pts-cell { color: var(--emerald); font-weight: 900 !important; }
.form-pills { display: inline-flex; gap: 3px; direction: ltr; }
.fp { width: 17px; height: 17px; border-radius: 4px; font-size: 0.65rem; font-weight: 900; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.fp-w { background: var(--emerald); }
.fp-d { background: #64748B; }
.fp-l { background: var(--red); }

.mc-trending { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mc-trending-item { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mc-trending-item:last-child { padding-bottom: 0; border-bottom: none; }
.mc-trending-thumb { position: relative; width: 70px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--dark-bar); }
.mc-trending-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-rank-num {
    position: absolute; top: 3px; right: 3px; background: var(--emerald); color: #FFFFFF;
    width: 19px; height: 19px; border-radius: 4px; font-size: 0.7rem; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.mc-trending-title { margin: 0; font-size: 0.88rem; font-weight: 700; line-height: 1.42; }
.mc-trending-title a:hover { color: var(--emerald); }

/* AdSense, Articles, Breadcrumbs, Footer */
.mc-ad-slot { margin: 20px 0; padding: 12px; text-align: center; background: var(--surface-alt); border: 1px dashed var(--border); border-radius: 10px; }
.mc-ad-label { display: block; font-size: 0.72rem; color: var(--text-light); margin-bottom: 4px; }
.mc-img-placeholder {
    width: 100%; height: 100%; min-height: 150px; background: linear-gradient(135deg, #0F172A, #065F46);
    display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.25); font-weight: 900; font-size: 1.25rem;
}
.mc-breadcrumbs { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mc-breadcrumbs a:hover { color: var(--emerald); }
.mc-article-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.mc-article-title { margin: 12px 0 14px; font-size: 1.9rem; font-weight: 900; line-height: 1.38; }
.mc-article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.88rem; color: var(--text-light); padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.mc-article-featured { margin: 0 0 24px; border-radius: 10px; overflow: hidden; }
.mc-article-featured img { width: 100%; max-height: 480px; object-fit: cover; }
.entry-content { font-size: 1.08rem; line-height: 1.95; }
.entry-content h2 { font-size: 1.4rem; margin: 26px 0 12px; padding-right: 12px; border-right: 4px solid var(--emerald); }
.entry-content a { color: var(--emerald); font-weight: 700; text-decoration: underline; }
.entry-content blockquote { margin: 20px 0; padding: 15px 18px; background: var(--surface-alt); border-right: 4px solid var(--blue); border-radius: 8px; font-weight: 700; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; border: 1px solid var(--border); font-size: 0.94rem; }
.entry-content table th { background: var(--dark-bar); color: #FFFFFF; padding: 10px 14px; text-align: right; }
.entry-content table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.entry-content table tr:nth-child(even) td { background: var(--surface-alt); }
.mc-share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding: 14px; background: var(--surface-alt); border-radius: 10px; }
.mc-share-btn { padding: 7px 14px; border-radius: 7px; font-size: 0.84rem; font-weight: 700; color: #FFFFFF; border: none; cursor: pointer; font-family: inherit; }
.s-wa { background: #16A34A; } .s-x { background: #0F172A; } .s-fb { background: #1D4ED8; } .s-tg { background: #0284C7; } .s-cp { background: var(--emerald); }
.mc-archive-head { background: linear-gradient(135deg, var(--dark-bar), #1E293B); color: #FFFFFF; padding: 24px 28px; border-radius: var(--radius); margin-bottom: 22px; border-right: 5px solid var(--emerald); }
.mc-archive-head h1 { margin: 0 0 6px; font-size: 1.55rem; font-weight: 900; }
.mc-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.mc-pagination .page-numbers {
    min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px; font-weight: 700;
}
.mc-pagination .page-numbers.current, .mc-pagination .page-numbers:hover { background: var(--emerald); border-color: var(--emerald); color: #FFFFFF; }

.mc-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); z-index: 950; }
.mc-drawer { position: fixed; top: 0; right: 0; width: 280px; max-width: 85vw; height: 100vh; background: var(--surface); z-index: 1000; box-shadow: -6px 0 24px rgba(0, 0, 0, 0.25); }
.mc-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.mc-drawer-close { background: none; border: none; font-size: 1.6rem; color: var(--text); cursor: pointer; }
.mc-drawer-nav { list-style: none; padding: 14px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.mc-drawer-nav a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.mc-drawer-nav a:hover { background: var(--emerald-soft); color: var(--emerald); }

.mc-footer { background: var(--dark-bar); color: #CBD5E1; padding-top: 42px; margin-top: 36px; border-top: 4px solid var(--emerald); }
.mc-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-bottom: 34px; }
.mc-footer-desc { color: #94A3B8; font-size: 0.92rem; margin: 12px 0 0; }
.mc-footer-title { color: #FFFFFF; margin: 0 0 12px; font-size: 1.02rem; font-weight: 800; }
.mc-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.mc-footer-links a:hover { color: #34D399; }
.mc-footer-bottom { background: rgba(0, 0, 0, 0.25); padding: 14px 0; font-size: 0.85rem; }
.mc-footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.mc-version-badge { color: #34D399; font-weight: 800; }
.mc-toast { position: fixed; bottom: 22px; left: 22px; background: var(--dark-bar); color: #FFFFFF; padding: 10px 18px; border-radius: 9px; font-weight: 700; border-right: 4px solid var(--emerald); z-index: 1100; }

.comments-area { margin-top: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 18px; }
.comment-body { padding: 14px; background: var(--surface-alt); border-radius: 8px; margin-bottom: 12px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font-family: inherit; margin-bottom: 10px;
}
.comment-form .submit { background: var(--emerald); color: #FFFFFF; border: none; padding: 10px 24px; border-radius: 8px; font-family: inherit; font-weight: 800; cursor: pointer; }

@media (max-width: 1024px) {
    .mc-primary-nav { display: none; }
    .mc-mobile-btn { display: inline-flex; }
    .mc-hero-split, .mc-workspace { grid-template-columns: 1fr; }
    .mc-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .tactical-grid, .mc-cards-3, .mc-footer-grid { grid-template-columns: 1fr; }
    .mc-slide-title { font-size: 1.32rem; }
    .mc-article-box { padding: 18px; }
    .mc-article-title { font-size: 1.48rem; }
}

/* API-Football Team Crests */
.sb-logo { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.st-team-cell { display: inline-flex; align-items: center; gap: 6px; }
.st-team-logo { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }

/* Automatic MOTD Crest & League Subtitle */
.motd-league-sub { font-size: 0.78rem; color: var(--text-light); font-weight: 700; margin-bottom: 6px; }
.motd-crest-img { width: 54px; height: 54px; object-fit: contain; padding: 4px; background: var(--surface-alt); border-radius: 50%; border: 1px solid var(--border); }

/* Auto Transfer Radar Thumbnails */
.radar-head-flex { display: flex; align-items: center; gap: 10px; min-width: 0; }
.radar-thumb { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--emerald-soft); }
.radar-player { font-weight: 800; font-size: 0.92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   6 Distinct Category Section Designs (v3.4.0)
   ========================================================================== */
.mc-cat-block { margin-bottom: 34px; }
.mc-more-link { font-size: 0.86rem; font-weight: 800; color: var(--emerald); }
.mc-more-link:hover { text-decoration: underline; }

/* Section 1: World Football — Hierarchical Split (1 Big Lead + 4 Compact List) */
.sec-world-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
    align-items: stretch;
}
.world-lead-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.world-lead-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark-bar); }
.world-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.world-lead-card:hover .world-lead-media img { transform: scale(1.04); }
.world-lead-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.world-lead-title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 900; line-height: 1.42; }
.world-lead-title a:hover { color: var(--emerald); }
.world-lead-excerpt { margin: 0 0 12px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.world-side-list { display: flex; flex-direction: column; gap: 12px; }
.world-mini-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 10px;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.world-mini-card:hover { border-color: var(--emerald); transform: translateX(-2px); }
.world-mini-thumb { width: 96px; height: 70px; border-radius: 8px; overflow: hidden; background: var(--dark-bar); }
.world-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.world-mini-title { margin: 0 0 4px; font-size: 0.92rem; font-weight: 800; line-height: 1.4; }
.world-mini-title a:hover { color: var(--emerald); }

/* Section 2: European Leagues — Royal Blue Accent Cards */
.head-blue .mc-section-title::before { background: var(--blue); }
.head-blue .mc-more-link { color: var(--blue); }
.mc-card-blue { border-top: 3px solid var(--blue); }
.mc-card-blue .mc-pill-badge { background: var(--blue); }

/* Section 3: Champions League — Dark Obsidian & Gold Night Spotlight */
.sec-ucl-dark {
    background: linear-gradient(135deg, #070B14 0%, #0F172A 60%, #172554 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 34px;
    color: #FFFFFF;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 12px 30px rgba(7, 11, 20, 0.25);
}
.sec-ucl-dark .mc-section-title { color: #FFFFFF; }
.sec-ucl-dark .mc-section-title::before { background: #F59E0B; }
.sec-ucl-dark .mc-more-link { color: #FBBF24; }
.ucl-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 14px;
}
.ucl-feature {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 310px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.ucl-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ucl-feature:hover img { transform: scale(1.05); }
.ucl-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 11, 20, 0.1) 20%, rgba(7, 11, 20, 0.94) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
}
.ucl-gold-tag {
    display: inline-block;
    background: #F59E0B;
    color: #0F172A;
    font-size: 0.74rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 5px;
    margin-bottom: 8px;
    width: fit-content;
}
.ucl-feature-title { margin: 0 0 6px; font-size: 1.28rem; font-weight: 900; line-height: 1.4; color: #FFFFFF; }
.ucl-side-stack { display: flex; flex-direction: column; gap: 12px; }
.ucl-side-card {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    padding: 9px;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ucl-side-card:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(245, 158, 11, 0.5); }
.ucl-side-thumb { width: 108px; height: 78px; border-radius: 8px; overflow: hidden; }
.ucl-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ucl-side-title { margin: 0 0 4px; font-size: 0.92rem; font-weight: 800; color: #F8FAFC; line-height: 1.4; }
.ucl-side-date { font-size: 0.76rem; color: #94A3B8; }

/* Section 4: Arab Football — 2-Column Horizontal Editorial Cards */
.arab-horiz-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.arab-horiz-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-right: 4px solid var(--emerald);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 145px 1fr;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.arab-horiz-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.arab-horiz-media { height: 100%; min-height: 128px; background: var(--dark-bar); overflow: hidden; }
.arab-horiz-media img { width: 100%; height: 100%; object-fit: cover; }
.arab-horiz-body { padding: 13px 15px; display: flex; flex-direction: column; justify-content: center; }
.arab-horiz-title { margin: 0 0 6px; font-size: 0.96rem; font-weight: 800; line-height: 1.44; }
.arab-horiz-title a:hover { color: var(--emerald); }

/* Section 6: Transfers — Crimson Market Cards with Probability Badge */
.head-crimson .mc-section-title::before { background: var(--red); }
.head-crimson .mc-more-link { color: var(--red); }
.mc-card-crimson { border-top: 3px solid var(--red); }
.mc-card-crimson .mc-pill-badge { background: var(--red); }
.transfer-prob-chip {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    background: rgba(220, 38, 38, 0.1);
    color: var(--red);
    width: fit-content;
}

@media (max-width: 900px) {
    .sec-world-split, .ucl-grid, .arab-horiz-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .arab-horiz-card { grid-template-columns: 110px 1fr; }
}

/* ==========================================================================
   v3.5.0 Upgrades: Standings Tabs, Match Center Page, Reading Bar, TOC, Mobile Bar
   ========================================================================== */
/* Multi-League Standings Tabs */
.st-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.st-tab-btn {
    flex: 1; padding: 7px 6px; border-radius: 8px; border: 1px solid var(--border);
    background: var(--surface-alt); color: var(--text-muted); font-family: inherit;
    font-size: 0.82rem; font-weight: 800; cursor: pointer; transition: all 0.2s ease;
}
.st-tab-btn.is-active { background: var(--emerald); border-color: var(--emerald); color: #FFFFFF; }
.st-pane { display: none; }
.st-pane.is-active { display: block; }

/* Dedicated Match Center Page */
.mc-match-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mf-btn {
    padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text-muted); font-family: inherit;
    font-size: 0.88rem; font-weight: 800; cursor: pointer;
}
.mf-btn.is-active { background: var(--emerald); border-color: var(--emerald); color: #FFFFFF; }
.mc-league-group {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow);
}
.mc-league-group-head {
    background: var(--dark-bar); color: #FFFFFF; padding: 11px 16px;
    font-size: 0.94rem; font-weight: 800; border-right: 4px solid var(--emerald);
}
.mc-fixture-row {
    display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; gap: 10px;
    padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.mc-fixture-row:last-child { border-bottom: none; }
.fx-team { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.92rem; }
.fx-home { justify-content: flex-end; text-align: left; }
.fx-away { justify-content: flex-start; text-align: right; }
.fx-team img { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.fx-center { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fx-score {
    background: var(--surface-alt); padding: 3px 12px; border-radius: 7px;
    font-weight: 900; font-size: 1rem; direction: ltr;
}
.fx-score.is-live { background: rgba(220, 38, 38, 0.12); color: var(--red); }
.fx-status { font-size: 0.74rem; color: var(--text-light); font-weight: 700; }
.fx-status.is-live { color: var(--red); }

/* Single Article Reading Progress Bar */
.mc-read-progress { position: fixed; top: 0; right: 0; left: 0; height: 4px; background: transparent; z-index: 1200; pointer-events: none; }
.mc-read-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--emerald), var(--blue)); transition: width 0.1s linear; }

/* Auto Table of Contents */
.mc-toc-box {
    background: var(--surface-alt); border: 1px solid var(--border); border-right: 4px solid var(--emerald);
    border-radius: 10px; padding: 14px 18px; margin-bottom: 22px;
}
.mc-toc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 0.96rem; }
.mc-toc-toggle {
    background: none; border: 1px solid var(--border); border-radius: 6px; padding: 2px 10px;
    font-family: inherit; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); cursor: pointer;
}
.mc-toc-list { margin: 0; padding-right: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.mc-toc-list li.toc-sub { margin-right: 14px; font-size: 0.85rem; }
.mc-toc-list a { color: var(--text-muted); font-weight: 700; }
.mc-toc-list a:hover { color: var(--emerald); text-decoration: underline; }

/* Mobile App-Style Fixed Bottom Navigation Bar */
.mc-mobile-bottom-bar { display: none; }
@media (max-width: 768px) {
    body { padding-bottom: 66px; }
    .mc-mobile-bottom-bar {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; right: 0; left: 0;
        background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
        z-index: 900; padding: 6px 4px;
    }
    .mbb-item {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        font-size: 0.72rem; font-weight: 800; color: var(--text-muted); background: none; border: none;
        font-family: inherit; cursor: pointer; padding: 4px 0;
    }
    .mbb-item.is-active, .mbb-item:hover { color: var(--emerald); }
}

/* ==========================================================================
   v3.6.0 Upgrades: Sticky Breaking Alert, MOTD Poll, Top Scorers, Reactions, Next/Prev
   ========================================================================== */
/* Sticky Breaking Alert Strip */
.mc-breaking-alert {
    background: linear-gradient(90deg, #B91C1C, #DC2626);
    color: #FFFFFF;
    padding: 9px 0;
    font-size: 0.9rem;
    font-weight: 700;
}
.mc-breaking-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mc-breaking-content { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mc-breaking-pill {
    background: #FFFFFF; color: #DC2626; font-size: 0.74rem; font-weight: 900;
    padding: 2px 9px; border-radius: 5px; flex-shrink: 0;
}
.mc-breaking-link { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.mc-breaking-close { background: none; border: none; color: #FFFFFF; font-size: 1.35rem; cursor: pointer; line-height: 1; }

/* Interactive Fan Poll inside Match of the Day */
.motd-poll-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.motd-vote-btn {
    padding: 7px 6px; border-radius: 8px; border: 1px solid var(--border);
    background: var(--surface-alt); color: var(--text); font-family: inherit;
    font-size: 0.76rem; font-weight: 800; cursor: pointer; transition: all 0.2s ease;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.motd-vote-btn:hover { border-color: var(--emerald); color: var(--emerald); }
.motd-vote-btn.is-voted { background: var(--emerald); border-color: var(--emerald); color: #FFFFFF; }
.motd-vote-btn:disabled { opacity: 0.75; cursor: default; }
.motd-vote-count { text-align: center; font-size: 0.74rem; color: var(--text-light); margin-top: 6px; font-weight: 700; }

/* Top Scorers Table */
.sc-pane { display: none; }
.sc-pane.is-active { display: block; }
.mc-scorers-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow-x: auto; box-shadow: var(--shadow);
}
.mc-scorers-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.mc-scorers-table th {
    background: var(--dark-bar); color: #FFFFFF; padding: 12px 10px; text-align: center; font-weight: 800;
}
.mc-scorers-table th.col-t, .mc-scorers-table td.col-t { text-align: right; }
.mc-scorers-table td { padding: 11px 10px; border-bottom: 1px solid var(--border); text-align: center; font-weight: 700; }
.mc-scorers-table tr:last-child td { border-bottom: none; }
.sc-rank {
    display: inline-flex; width: 26px; height: 26px; border-radius: 7px;
    align-items: center; justify-content: center; background: var(--surface-alt); font-weight: 900; font-size: 0.8rem;
}
.sc-rank.is-top { background: #F59E0B; color: #0F172A; }
.sc-player-cell, .sc-club-cell { display: inline-flex; align-items: center; gap: 9px; }
.sc-player-photo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--emerald-soft); }
.sc-goals-pill {
    display: inline-block; background: var(--emerald); color: #FFFFFF;
    padding: 3px 11px; border-radius: 99px; font-weight: 900; font-size: 0.85rem;
}

/* Single Article Quick Reactions & Next/Prev Navigation */
.mc-reactions-box {
    margin-top: 22px; padding: 16px; background: var(--surface-alt);
    border: 1px solid var(--border); border-radius: 11px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.mc-reactions-label { font-weight: 800; font-size: 0.92rem; }
.mc-reactions-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mc-react-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
    border-radius: 99px; border: 1px solid var(--border); background: var(--surface);
    color: var(--text); font-family: inherit; font-size: 0.84rem; font-weight: 800; cursor: pointer;
    transition: all 0.2s ease;
}
.mc-react-btn:hover, .mc-react-btn.is-active { border-color: var(--emerald); background: var(--emerald-soft); color: var(--emerald); }
.mc-react-count { font-weight: 900; }

.mc-post-nav-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px;
}
.mc-post-nav-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 12px; display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center;
    box-shadow: var(--shadow); transition: border-color 0.2s ease, transform 0.2s ease;
}
.mc-post-nav-card:hover { border-color: var(--emerald); transform: translateY(-2px); }
.mc-post-nav-thumb { width: 74px; height: 58px; border-radius: 8px; overflow: hidden; background: var(--dark-bar); }
.mc-post-nav-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-post-nav-dir { display: block; font-size: 0.74rem; font-weight: 800; color: var(--emerald); margin-bottom: 3px; }
.mc-post-nav-title { font-size: 0.88rem; font-weight: 800; line-height: 1.4; }
@media (max-width: 680px) {
    .mc-post-nav-grid { grid-template-columns: 1fr; }
}

/* v3.7.2 Fix: Keep Primary Navigation Strictly Single-Row + Dropdown Submenu Support */
.mc-container { max-width: 1320px; }
.mc-header-inner { gap: 12px; }
.mc-primary-nav {
    flex: 1;
    min-width: 0;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}
.mc-primary-nav::-webkit-scrollbar { display: none; }
.mc-nav-menu {
    flex-wrap: nowrap !important;
    white-space: nowrap;
    gap: 2px;
}
.mc-nav-menu > li { position: relative; flex-shrink: 0; }
.mc-nav-menu > li > a {
    padding: 7px 9px;
    font-size: 0.85rem;
    white-space: nowrap;
}
/* Clean Dropdown Sub-menus (if user nests items) */
.mc-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 190px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px;
    list-style: none;
    box-shadow: var(--shadow-hover);
    z-index: 950;
}
.mc-nav-menu li:hover > .sub-menu { display: block; }
.mc-nav-menu .sub-menu li a {
    padding: 8px 12px;
    font-size: 0.86rem;
    border-radius: 7px;
    display: block;
}
@media (max-width: 1120px) {
    .mc-primary-nav { display: none; }
    .mc-mobile-btn { display: inline-flex; }
}

/* ==========================================================================
   v4.0.0 Powerhouse Upgrades: Stories, League Hub, Live Search, TTS Audio, Compare Card
   ========================================================================== */
/* 1. Stadium Stories Strip + Full-Screen Viewer */
.mc-stories-strip {
    display: flex; align-items: center; gap: 14px; overflow-x: auto; scrollbar-width: none;
    padding: 12px 16px; margin-bottom: 20px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.mc-stories-strip::-webkit-scrollbar { display: none; }
.stories-label { font-size: 0.85rem; font-weight: 900; color: var(--emerald); white-space: nowrap; padding-left: 8px; border-left: 2px solid var(--border); }
.story-ring-btn {
    background: none; border: none; padding: 0; cursor: pointer; display: flex;
    flex-direction: column; align-items: center; gap: 6px; width: 76px; flex-shrink: 0; font-family: inherit;
}
.story-avatar-ring {
    width: 64px; height: 64px; border-radius: 50%; padding: 3px;
    background: linear-gradient(135deg, var(--emerald), #F59E0B, var(--blue));
    display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease;
}
.story-ring-btn:hover .story-avatar-ring { transform: scale(1.07); }
.story-avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); }
.story-ring-title { font-size: 0.72rem; font-weight: 700; color: var(--text); max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.story-modal {
    position: fixed; inset: 0; background: rgba(7, 11, 20, 0.92); z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.story-modal[hidden] { display: none !important; }
.story-viewer-card {
    position: relative; width: 100%; max-width: 420px; height: 82vh; max-height: 740px;
    border-radius: 18px; overflow: hidden; background: #0F172A; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}
.story-viewer-img { width: 100%; height: 100%; object-fit: cover; }
.story-progress-row { position: absolute; top: 12px; right: 12px; left: 12px; display: flex; gap: 5px; z-index: 5; }
.story-prog-seg { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.3); border-radius: 99px; overflow: hidden; }
.story-prog-fill { height: 100%; width: 0%; background: #FFFFFF; transition: width 0.1s linear; }
.story-prog-seg.is-done .story-prog-fill { width: 100%; }
.story-close-btn {
    position: absolute; top: 24px; left: 14px; z-index: 6; width: 34px; height: 34px;
    border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.5); color: #FFFFFF; font-size: 1.4rem; cursor: pointer;
}
.story-viewer-overlay {
    position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 45%, rgba(7,11,20,0.95) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 20px; color: #FFFFFF; z-index: 4;
}
.story-viewer-title { margin: 10px 0 8px; font-size: 1.25rem; font-weight: 900; line-height: 1.4; }
.story-viewer-excerpt { margin: 0 0 16px; font-size: 0.88rem; color: #CBD5E1; line-height: 1.6; }
.story-viewer-cta {
    display: inline-block; text-align: center; background: var(--emerald); color: #FFFFFF;
    padding: 11px 18px; border-radius: 10px; font-weight: 800; font-size: 0.92rem;
}
.story-nav-prev, .story-nav-next {
    position: absolute; top: 64px; bottom: 160px; width: 35%; z-index: 5; background: none; border: none; cursor: pointer;
}
.story-nav-prev { right: 0; }
.story-nav-next { left: 0; }

/* 2. League Hub Sub-Tabs */
.hub-subtabs { display: flex; gap: 8px; border-bottom: 2px solid var(--border); margin-bottom: 22px; overflow-x: auto; }
.hub-tab {
    background: none; border: none; border-bottom: 3px solid transparent; padding: 10px 18px;
    font-family: inherit; font-size: 0.95rem; font-weight: 800; color: var(--text-muted); cursor: pointer; white-space: nowrap;
}
.hub-tab.is-active { color: var(--emerald); border-bottom-color: var(--emerald); }
.hub-pane { display: none; }
.hub-pane.is-active { display: block; }

/* 3. Live AJAX Instant Search Dropdown */
.mc-search-wrap { position: relative; max-width: 640px; margin: 0 auto; }
.mc-live-results {
    margin-top: 8px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: var(--shadow-hover); overflow: hidden;
}
.ls-item {
    display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center;
    padding: 10px 14px; border-bottom: 1px solid var(--border); transition: background 0.15s ease;
}
.ls-item:last-child { border-bottom: none; }
.ls-item:hover { background: var(--surface-alt); }
.ls-thumb { width: 58px; height: 44px; border-radius: 7px; object-fit: cover; background: var(--dark-bar); }
.ls-title { font-size: 0.9rem; font-weight: 800; color: var(--text); display: block; line-height: 1.38; }
.ls-meta { font-size: 0.75rem; color: var(--emerald); font-weight: 700; }
.ls-empty { padding: 14px; text-align: center; font-size: 0.88rem; color: var(--text-light); }

/* 4. Arabic TTS Audio Player inside Single Articles */
.mc-audio-bar {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    padding: 12px 16px; margin-bottom: 20px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(37, 99, 235, 0.08));
    border: 1px solid var(--border);
}
.mc-audio-controls { display: flex; align-items: center; gap: 8px; }
.mc-audio-btn {
    padding: 7px 15px; border-radius: 99px; border: none; background: var(--emerald); color: #FFFFFF;
    font-family: inherit; font-size: 0.85rem; font-weight: 800; cursor: pointer;
}
.mc-audio-btn.btn-sec { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.mc-audio-status { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); }

/* 5. Head-to-Head Comparison Shortcode Card [ts_compare] */
.ts-compare-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; margin: 24px 0; box-shadow: var(--shadow);
}
.ts-compare-title { text-align: center; font-size: 1.05rem; font-weight: 900; margin: 0 0 14px; }
.ts-compare-players { display: flex; justify-content: space-between; font-weight: 900; font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.ts-cp-p1 { color: var(--emerald); }
.ts-cp-p2 { color: var(--blue); }
.ts-compare-row { margin-bottom: 12px; }
.ts-compare-row:last-child { margin-bottom: 0; }
.ts-cr-labels { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 800; margin-bottom: 5px; }
.ts-cr-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ts-cr-track { height: 9px; background: var(--surface-alt); border-radius: 99px; overflow: hidden; display: flex; }
.ts-cr-track.left-track { justify-content: flex-end; }
.ts-cr-fill-1 { background: var(--emerald); height: 100%; border-radius: 99px; }
.ts-cr-fill-2 { background: var(--blue); height: 100%; border-radius: 99px; }

/* ==========================================================================
   v4.1.0 Vibrant Visual Widgets + Growth Polish (Floating Next-Read, Font Controls, Back-to-Top)
   ========================================================================== */
/* Rich Visual Widget Banners */
.mc-widget-rich { padding: 0; overflow: hidden; }
.mc-widget-banner {
    display: flex; align-items: center; gap: 9px; padding: 13px 16px; color: #FFFFFF;
}
.mc-widget-banner h3 { margin: 0; font-size: 1.02rem; font-weight: 900; color: #FFFFFF; }
.wb-icon {
    width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, 0.16);
    display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0;
}
.banner-navy    { background: linear-gradient(135deg, #0F172A, #1E3A8A); }
.banner-crimson { background: linear-gradient(135deg, #991B1B, #DC2626); }
.banner-emerald { background: linear-gradient(135deg, #065F46, #059669); }
.mc-widget-body { padding: 16px; }

/* Standings Rank Pills */
.st-rank-dot {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 6px; font-size: 0.75rem; font-weight: 900;
    background: var(--surface-alt); color: var(--text);
}
.st-rank-dot.rk-gold { background: #F59E0B; color: #0F172A; }
.st-rank-dot.rk-ucl  { background: var(--emerald); color: #FFFFFF; }
.mc-standings-table tbody tr:hover td { background: var(--surface-alt); }

/* Visual Trending #1 Hero Overlay Card */
.trend-hero-card {
    position: relative; display: block; border-radius: 11px; overflow: hidden;
    aspect-ratio: 16 / 10; background: var(--dark-bar);
}
.trend-hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.trend-hero-card:hover img { transform: scale(1.06); }
.trend-hero-rank {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: #F59E0B; color: #0F172A; font-weight: 900; font-size: 0.8rem;
    padding: 3px 9px; border-radius: 6px;
}
.trend-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 25%, rgba(15, 23, 42, 0.94) 100%);
    display: flex; align-items: flex-end; padding: 14px;
}
.trend-hero-overlay h4 { margin: 0; color: #FFFFFF; font-size: 0.96rem; font-weight: 800; line-height: 1.42; }
.trend-mini-date { font-size: 0.72rem; color: var(--text-light); }

/* Community Channels Card */
.mc-community-card {
    background: linear-gradient(135deg, #0F172A 0%, #065F46 100%);
    color: #FFFFFF; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.comm-badge {
    display: inline-block; background: rgba(255, 255, 255, 0.14); color: #FDE68A;
    font-size: 0.74rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; margin-bottom: 10px;
}
.comm-title { margin: 0 0 6px; font-size: 1.1rem; font-weight: 900; color: #FFFFFF; }
.comm-desc { margin: 0 0 14px; font-size: 0.84rem; color: #CBD5E1; line-height: 1.6; }
.comm-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.comm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 12px; border-radius: 9px; font-size: 0.84rem; font-weight: 800; color: #FFFFFF;
}
.comm-wa { background: #16A34A; }
.comm-tg { background: #0284C7; }
.comm-btn:hover { opacity: 0.92; transform: translateY(-1px); }

/* Quick Visual Categories Grid */
.quick-cats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.qc-pill {
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
    padding: 9px 11px; border-radius: 9px; font-size: 0.8rem; font-weight: 800;
    background: var(--surface-alt); border: 1px solid var(--border); border-right: 4px solid var(--emerald);
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.qc-pill:hover { transform: translateX(-2px); }
.qc-blue    { border-right-color: var(--blue); }
.qc-gold    { border-right-color: #F59E0B; }
.qc-emerald { border-right-color: var(--emerald); }
.qc-red     { border-right-color: var(--red); }
.qc-slate   { border-right-color: #334155; }
.qc-teal    { border-right-color: #0D9488; }
.qc-count {
    font-size: 0.72rem; background: var(--surface); padding: 1px 7px; border-radius: 99px;
    color: var(--text-light); border: 1px solid var(--border);
}

/* Font Size Controls */
.mc-font-tools { display: flex; align-items: center; gap: 5px; }
.mc-font-btn {
    width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text); font-family: inherit;
    font-weight: 900; font-size: 0.82rem; cursor: pointer;
}
.mc-font-btn:hover { border-color: var(--emerald); color: var(--emerald); }

/* Floating Next-Read Suggestion Toast (at 70% scroll) */
.mc-float-next {
    position: fixed; bottom: 22px; right: 22px; width: 320px; max-width: calc(100vw - 32px);
    background: var(--surface); border: 1px solid var(--border); border-right: 4px solid var(--emerald);
    border-radius: 12px; padding: 12px; box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2);
    z-index: 980; display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center;
}
.mc-float-next[hidden] { display: none !important; }
.mc-float-next img { width: 64px; height: 54px; border-radius: 8px; object-fit: cover; }
.mc-float-label { display: block; font-size: 0.72rem; font-weight: 900; color: var(--emerald); margin-bottom: 2px; }
.mc-float-title { font-size: 0.84rem; font-weight: 800; line-height: 1.38; color: var(--text); }
.mc-float-close {
    position: absolute; top: 6px; left: 8px; background: none; border: none;
    color: var(--text-light); font-size: 1.15rem; cursor: pointer;
}

/* Back to Top Floating Button */
.mc-back-top {
    position: fixed; bottom: 24px; left: 24px; width: 42px; height: 42px; border-radius: 50%;
    border: none; background: var(--emerald); color: #FFFFFF; font-size: 1.2rem; font-weight: 900;
    cursor: pointer; box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35); z-index: 920;
}
.mc-back-top[hidden] { display: none !important; }
@media (max-width: 768px) {
    .mc-back-top, .mc-float-next { bottom: 76px; }
}


/* === TrueSpt MatchCenter v5.0.0 === */

/* 1. CLS Guard for AdSense Slots (Zero Layout Shift) */
.mc-ad-slot {
    min-height: 112px;
    contain: layout style;
}
.mc-ad-slot.mc-ad-in-article,
.mc-sidebar .mc-ad-slot {
    min-height: 260px;
}

/* 2. My Favorite Club Button, Strip & Modal */
.mc-club-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.mc-club-btn:hover,
.mc-club-btn.has-club {
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
    border-color: #059669;
}
[data-theme="dark"] .mc-club-btn {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.mc-fav-club-strip {
    background: linear-gradient(135deg, #0f172a 0%, #064e3b 100%);
    color: #ffffff;
    padding: 14px 0;
    border-bottom: 2px solid #10b981;
}
.mc-fav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.mc-fav-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}
.mc-fav-badge {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid #34d399;
    color: #a7f3d0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}
.mc-fav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mc-fav-change {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 4px 10px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}
.mc-fav-clear {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
}
.mc-fav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.mc-fav-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s;
}
.mc-fav-card:hover {
    background: rgba(255, 255, 255, 0.16);
}
.mc-fav-card img {
    width: 62px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.mc-fav-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mc-fav-empty {
    grid-column: 1 / -1;
    font-size: 0.88rem;
    color: #cbd5e1;
}

/* Highlight matching club in ticker, matches & standings */
.is-fav-club {
    outline: 2px solid #f59e0b !important;
    background: rgba(245, 158, 11, 0.14) !important;
    position: relative;
}

.mc-club-modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.mc-club-modal-bg[hidden] { display: none !important; }
.mc-club-modal {
    background: #ffffff;
    color: #0f172a;
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .mc-club-modal {
    background: #1e293b;
    color: #f8fafc;
}
.mc-club-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.mc-club-modal-head h3 { margin: 0; font-size: 1.15rem; }
.mc-club-modal-close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: inherit;
}
.mc-club-modal-sub {
    font-size: 0.86rem;
    color: #64748b;
    margin: 0 0 14px;
}
[data-theme="dark"] .mc-club-modal-sub { color: #94a3b8; }
.mc-club-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.mc-club-chip {
    padding: 7px 13px;
    border-radius: 999px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
}
.mc-club-chip:hover,
.mc-club-chip.is-selected {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}
[data-theme="dark"] .mc-club-chip {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}
.mc-club-custom-form {
    display: flex;
    gap: 8px;
}
.mc-club-custom-form input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-family: inherit;
    font-size: 0.9rem;
}
.mc-club-custom-form button {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    background: #059669;
    color: #ffffff;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

/* 3. Tactical Pitch Lineup Shortcode [ts_lineup] */
.ts-lineup-card {
    margin: 24px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #0f172a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}
.ts-lineup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0f172a;
    color: #ffffff;
    gap: 10px;
    flex-wrap: wrap;
}
.ts-lineup-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
}
.ts-lineup-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ts-lineup-team {
    background: rgba(255, 255, 255, 0.14);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}
.ts-lineup-form {
    background: #059669;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 900;
    direction: ltr;
}
.ts-pitch-board {
    position: relative;
    padding: 24px 14px;
    background: repeating-linear-gradient(
        180deg,
        #059669 0px,
        #059669 44px,
        #047857 44px,
        #047857 88px
    );
    border: 3px solid rgba(255, 255, 255, 0.45);
    margin: 12px;
    border-radius: 10px;
    overflow: hidden;
}
.ts-pitch-center-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(255, 255, 255, 0.32);
}
.ts-pitch-center-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.32);
}
.ts-pitch-box-top,
.ts-pitch-box-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44%;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.32);
}
.ts-pitch-box-top { top: -2px; border-top: none; }
.ts-pitch-box-bottom { bottom: -2px; border-bottom: none; }
.ts-pitch-rows {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ts-pitch-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
}
.ts-pitch-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    min-width: 58px;
}
.ts-jersey-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: 2.5px solid #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}
.ts-jersey-dot.is-gk {
    background: #f59e0b;
    color: #0f172a;
    border-color: #ffffff;
}
.ts-player-label {
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    max-width: 105px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 4. Live Blog Mode [ts_live_blog] */
.ts-liveblog-wrap {
    margin: 24px 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}
[data-theme="dark"] .ts-liveblog-wrap {
    background: #1e293b;
    border-color: #334155;
}
.ts-liveblog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    flex-wrap: wrap;
}
.ts-liveblog-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ts-liveblog-title-group h3 {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
}
.ts-lb-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dc2626;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}
.ts-lb-pill.is-ended { background: #475569; }
.ts-lb-refresh-btn {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
.ts-liveblog-timeline {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ts-lb-event {
    display: flex;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border-right: 4px solid #059669;
}
[data-theme="dark"] .ts-lb-event {
    background: #0f172a;
}
.ts-lb-event.ts-lb-type-goal { border-right-color: #10b981; background: rgba(16, 185, 129, 0.08); }
.ts-lb-event.ts-lb-type-red { border-right-color: #dc2626; background: rgba(220, 38, 38, 0.07); }
.ts-lb-event.ts-lb-type-yellow { border-right-color: #f59e0b; }
.ts-lb-event.ts-lb-type-var { border-right-color: #2563eb; }
.ts-lb-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    font-weight: 900;
    font-size: 0.82rem;
    color: #059669;
}
.ts-lb-icon { font-size: 1.1rem; }
.ts-lb-event-title { margin: 0 0 4px; font-size: 0.95rem; }
.ts-lb-event-text p { margin: 0; font-size: 0.88rem; }

/* 5. Post-Match Fan Player Ratings Card */
.ts-ratings-card {
    margin: 26px 0;
    padding: 20px;
    border-radius: 16px;
    border: 1.5px solid #cbd5e1;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
[data-theme="dark"] .ts-ratings-card {
    background: #0f172a;
    border-color: #334155;
}
.ts-ratings-title {
    margin: 0 0 4px;
    font-size: 1.08rem;
}
.ts-ratings-sub {
    margin: 0 0 16px;
    font-size: 0.84rem;
    color: #64748b;
}
.ts-ratings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ts-rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
}
[data-theme="dark"] .ts-rate-row {
    background: #1e293b;
    border-color: #334155;
}
.ts-rate-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ts-rate-name { font-weight: 800; font-size: 0.95rem; }
.ts-rate-meta { font-size: 0.8rem; color: #64748b; }
.ts-rate-avg { color: #059669; font-size: 0.92rem; }
.ts-rate-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ts-rate-slider {
    width: 110px;
    accent-color: #059669;
    cursor: pointer;
}
.ts-rate-val {
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #059669;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
}
.ts-rate-submit {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    background: #0f172a;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
.ts-rate-submit:disabled {
    background: #94a3b8;
    cursor: default;
}

/* 6. PWA Install Banner & Sticky Mobile Footer Ad */
.mc-pwa-banner {
    position: fixed;
    bottom: 72px;
    left: 16px;
    right: 16px;
    max-width: 460px;
    margin: 0 auto;
    z-index: 9990;
    background: linear-gradient(135deg, #0f172a, #065f46);
    color: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.mc-pwa-banner[hidden] { display: none !important; }
.mc-pwa-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}
.mc-pwa-text strong { font-size: 0.9rem; }
.mc-pwa-btns { display: flex; align-items: center; gap: 6px; }
.mc-pwa-install {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
}
.mc-pwa-dismiss {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 1.3rem;
    cursor: pointer;
}

.mc-sticky-mob-ad {
    display: none;
    position: fixed;
    bottom: 62px;
    left: 0;
    right: 0;
    z-index: 9980;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 6px 10px;
    text-align: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
.mc-sticky-mob-close {
    position: absolute;
    top: -12px;
    left: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mc-fav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .mc-fav-grid { grid-template-columns: 1fr; }
    .mc-sticky-mob-ad { display: block; }
    .mc-float-next {
        left: 12px !important;
        right: 12px !important;
        bottom: 72px !important;
        max-width: none !important;
    }
}

/* === v5.0.1 Mobile Header & 5-Tab Bottom Bar Fix === */
html, body {
    overflow-x: clip;
    max-width: 100%;
}
@media (max-width: 768px) {
    .mc-header {
        overflow-x: clip;
    }
    .mc-header-inner {
        gap: 8px;
        min-height: 60px;
    }
    .mc-brand-wrap {
        gap: 7px;
        min-width: 0;
    }
    .mc-brand-ar {
        font-size: 1.12rem;
    }
    .mc-brand-en {
        font-size: 0.75rem;
    }
    .mc-header-live-pill {
        font-size: 0.66rem;
        padding: 2px 7px;
    }
    .mc-club-btn {
        display: none !important;
    }
    .mc-header-actions {
        gap: 8px;
        flex-shrink: 0;
    }
    .mc-mobile-bottom-bar {
        grid-template-columns: repeat(5, 1fr) !important;
        padding: 6px 2px;
    }
    .mbb-item {
        font-size: 0.68rem;
        white-space: nowrap;
        min-width: 0;
    }
}

/* === v5.0.2 Single Article Mobile Width & Responsive Tables/Pitch Fix === */
.mc-workspace,
.mc-primary,
.mc-sidebar,
.mc-article-box,
.entry-content {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.mc-article-title,
.entry-content p,
.entry-content h2,
.entry-content h3,
.entry-content li {
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.entry-content img,
.mc-article-featured img {
    max-width: 100%;
    height: auto;
}
.entry-content table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
}
@media (max-width: 768px) {
    .mc-container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .mc-workspace {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .mc-article-box {
        padding: 16px 14px !important;
        overflow-x: clip;
    }
    .mc-article-title {
        font-size: 1.38rem !important;
        line-height: 1.45 !important;
    }
    .mc-audio-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }
    .mc-audio-controls {
        flex-wrap: wrap;
    }
    .ts-pitch-board {
        margin: 8px;
        padding: 16px 6px;
    }
    .ts-pitch-row {
        gap: 4px;
    }
    .ts-pitch-player {
        min-width: 0;
        flex: 1 1 0;
    }
    .ts-jersey-dot {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    .ts-player-label {
        font-size: 0.64rem;
        padding: 2px 4px;
        max-width: 68px;
    }
    .ts-rate-row {
        flex-direction: column;
        align-items: stretch;
    }
    .ts-rate-controls {
        justify-content: space-between;
    }
}

/* === v5.0.3 Fix Reversed RTL Match Scores (Home on Right, Away on Left) === */
.sb-score,
.motd-score,
.fx-score {
    direction: rtl !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    letter-spacing: 0 !important;
}
.score-sep {
    opacity: 0.7;
    font-weight: 700;
}


/* ==========================================================================
   TrueSpt MatchCenter v5.1.0 — Inline Figures, Lightbox, Smart Back-Top,
   Quick Share, Auto In-Article Related & Reels Strip
   ========================================================================== */

/* 1. Reading Progress Bar Vibrant Emerald Gradient */
.mc-read-progress-fill {
    background: linear-gradient(90deg, #00C875, #059669) !important;
}

/* 2. Editorial Inline Images & Captions inside Articles */
.entry-content figure,
.entry-content .wp-block-image {
    margin: 24px 0 !important;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.entry-content figure img,
.entry-content .wp-block-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.35s ease;
}
.entry-content figure img:hover,
.entry-content .wp-block-image img:hover {
    transform: scale(1.015);
}
.entry-content figcaption,
.entry-content .wp-block-image figcaption {
    margin: 0 !important;
    padding: 11px 16px;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-muted);
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
    border-right: 3px solid var(--emerald);
    text-align: right;
}
.mc-article-featured img {
    cursor: zoom-in;
}

/* 3. Image Lightbox Modal */
.mc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 18, 36, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: mc-lb-fade 0.2s ease;
}
.mc-lightbox[hidden] { display: none !important; }
@keyframes mc-lb-fade { from { opacity: 0; } to { opacity: 1; } }
.mc-lightbox-close {
    position: fixed;
    top: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(17, 27, 51, 0.85);
    color: #FFFFFF;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mc-lightbox-inner {
    max-width: min(1040px, 94vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.mc-lightbox-img {
    max-width: 100%;
    max-height: 76vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.mc-lightbox-caption {
    margin: 0;
    color: #E2E8F0;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    max-width: 720px;
    background: rgba(17, 27, 51, 0.72);
    padding: 8px 16px;
    border-radius: 999px;
}

/* 4. Smart Mobile Back-to-Top Refinement (Zero Text Overlap) */
.mc-back-top {
    transition: opacity 0.22s ease, transform 0.22s ease;
}
@media (max-width: 768px) {
    .mc-back-top {
        width: 36px;
        height: 36px;
        left: 12px;
        bottom: 70px;
        font-size: 1rem;
        background: rgba(0, 200, 117, 0.88);
        backdrop-filter: blur(6px);
        box-shadow: 0 6px 16px rgba(10, 18, 36, 0.28);
    }
}

/* 5. Compact Quick Top Share Strip */
.mc-quick-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 16px;
}
.mc-qs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    color: #FFFFFF !important;
    font-family: var(--font);
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.mc-qs-btn:hover { transform: translateY(-1px); opacity: 0.92; }
.mc-qs-btn.qs-wa { background: #16A34A; }
.mc-qs-btn.qs-tg { background: #0284C7; }
.mc-qs-btn.qs-x  { background: #0A1224; }
.mc-qs-btn.qs-cp { background: var(--surface-alt); color: var(--text) !important; border: 1px solid var(--border); }

/* 6. Auto Mid-Article "اقرأ أيضاً" Card */
.ts-in-article-related {
    margin: 24px 0;
    border-radius: 14px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-right: 4px solid var(--emerald);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ts-in-article-related:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.ts-iar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    text-decoration: none !important;
}
.ts-iar-thumb {
    width: 104px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.ts-iar-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ts-iar-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--emerald);
    background: var(--emerald-soft);
    padding: 2px 9px;
    border-radius: 999px;
}
.ts-iar-title {
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.45;
    color: var(--text);
}
.ts-iar-arrow {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--emerald);
    flex-shrink: 0;
}
@media (max-width: 520px) {
    .ts-iar-thumb { width: 84px; height: 58px; }
    .ts-iar-title { font-size: 0.86rem; }
}

/* 7. TrueSpt Reels / Short Videos Horizontal Strip & [ts_reel] Card */
.mc-reels-section {
    margin: 26px 0;
}
.mc-reels-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.mc-reel-card {
    position: relative;
    flex: 0 0 185px;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: #0A1224;
    border: 2px solid rgba(0, 200, 117, 0.35);
    scroll-snap-align: start;
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, border-color 0.22s ease;
}
.mc-reel-card:hover {
    transform: translateY(-4px);
    border-color: #00C875;
}
.mc-reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mc-reel-fallback-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(155deg, #0A1224 0%, #172342 55%, #006B42 100%);
}
.mc-reel-platform {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 18, 36, 0.82);
    color: #00C875;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(0, 200, 117, 0.45);
}
.mc-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0, 200, 117, 0.92);
    color: #0A1224;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.mc-reel-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 34px 12px 12px;
    background: linear-gradient(to top, rgba(10, 18, 36, 0.95) 0%, rgba(10, 18, 36, 0.55) 60%, transparent 100%);
}
.mc-reel-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-inline-reel-wrap { margin: 22px 0; }
.ts-inline-reel-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0A1224 0%, #152342 100%);
    border: 1px solid rgba(0, 200, 117, 0.4);
    color: #FFFFFF !important;
    text-decoration: none !important;
}
.ts-inline-reel-thumb {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.ts-inline-reel-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ts-inline-reel-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 900;
    color: #0A1224;
    background: #00C875;
    padding: 2px 10px;
    border-radius: 999px;
}
.ts-inline-reel-title { font-size: 0.96rem; line-height: 1.45; color: #FFFFFF; }
.ts-inline-reel-cta { font-size: 0.8rem; color: #94A3B8; font-weight: 700; }
