/**
 * SP Podcasts — Dark/Light Theme Sportif
 * Inspire de RMC Sport — Roboto Condensed
 * @version 4.4-PERFFIX2
 */

/* ── FONTFIX1 : Fallback font size-adjusted pour eliminer le CLS ── */
@font-face {
    font-family: 'Roboto Condensed Fallback';
    src: local('Arial Narrow'), local('ArialNarrow');
    size-adjust: 97%;
    ascent-override: 99%;
    descent-override: 25%;
    line-gap-override: 0%;
}

/* ══════════════════════════════════════════════
   CSS VARIABLES — DARK THEME (default)
   ══════════════════════════════════════════════ */
:root {
    --sp-bg-dark: #0f0f0f;
    --sp-bg-card: #1a1a1a;
    --sp-bg-surface: #2d2d2d;
    --sp-bg-hover: #333333;
    --sp-accent: #e63946;
    --sp-accent-hover: #ff4d5a;
    --sp-text: #f0f0f0;
    --sp-text-secondary: #aaaaaa;
    --sp-text-muted: #666666;
    --sp-border: #333333;
    --sp-radius: 8px;
    --sp-radius-lg: 12px;
    --sp-shadow: 0 2px 8px rgba(0,0,0,0.3);
    --sp-transition: 0.2s ease;
    --sp-font: 'Roboto Condensed', 'Roboto Condensed Fallback', 'Arial Narrow', sans-serif;
    --sp-player-height: 72px;
    --sp-header-bg: rgba(15, 15, 15, 0.95);
    --sp-hero-gradient: rgba(0,0,0,0.85);
    --sp-card-play-bg: rgba(0,0,0,0.7);
}

/* ══════════════════════════════════════════════
   CSS VARIABLES — LIGHT THEME
   ══════════════════════════════════════════════ */
body.sp-light {
    --sp-bg-dark: #f5f5f5;
    --sp-bg-card: #ffffff;
    --sp-bg-surface: #e8e8e8;
    --sp-bg-hover: #eeeeee;
    --sp-accent: #d62839;
    --sp-accent-hover: #e63946;
    --sp-text: #1a1a1a;
    --sp-text-secondary: #555555;
    --sp-text-muted: #888888;
    --sp-border: #dddddd;
    --sp-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --sp-header-bg: rgba(255, 255, 255, 0.95);
    --sp-hero-gradient: rgba(0,0,0,0.65);
    --sp-card-play-bg: rgba(0,0,0,0.6);
}

/* ══════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sp-font);
    background: var(--sp-bg-dark);
    color: var(--sp-text);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Espace pour le player sticky en bas */
    padding-bottom: calc(var(--sp-player-height) + 20px);
}

/* Override TT5 block styles */
body .wp-site-blocks,
body .is-layout-constrained,
body .has-global-padding {
    background: var(--sp-bg-dark) !important;
    color: var(--sp-text) !important;
    padding: 0 !important;
    max-width: none !important;
}

a {
    color: var(--sp-text);
    text-decoration: none;
    transition: color var(--sp-transition);
}

a:hover {
    color: var(--sp-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
.sp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--sp-header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sp-border);
    padding: 0 20px;
}

.sp-header-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 56px;
    gap: 20px;
}

.sp-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sp-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

/* Nav sports (horizontal scroll) */
.sp-nav-sports {
    flex: 1;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.sp-nav-sports::-webkit-scrollbar {
    display: none;
}

.sp-nav-sports a {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: var(--sp-text-secondary);
    background: transparent;
    transition: all var(--sp-transition);
}

.sp-nav-sports a:hover,
.sp-nav-sports a.active {
    background: var(--sp-accent);
    color: #fff;
}

/* ── Hamburger button (mobile only) ── */
.sp-burger {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.sp-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sp-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animated X when open */
.sp-burger-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.sp-burger-open span:nth-child(2) {
    opacity: 0;
}
.sp-burger-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Header collapse wrapper ── */
/* Desktop: transparent (contents) — nav + actions flow in parent flex */
.sp-header-collapse {
    display: contents;
}

/* Header actions (langue, login) */
.sp-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-lang-select {
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    border: 1px solid var(--sp-border);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 13px;
    font-family: var(--sp-font);
    cursor: pointer;
}

.sp-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    color: var(--sp-text-secondary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: color var(--sp-transition), background var(--sp-transition);
    text-decoration: none;
}
.sp-login-btn svg {
    display: block;
}

.sp-login-btn:hover {
    color: var(--sp-accent);
    background: var(--sp-bg-hover);
}

/* Account button (header — logged in) */
.sp-account-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 6px;
}
.sp-account-btn-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sp-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--sp-font);
    transition: background var(--sp-transition);
}
.sp-account-btn:hover .sp-account-btn-avatar {
    background: var(--sp-accent-hover);
}

/* ══════════════════════════════════════════════
   AUTH PAGES (login, register, reset, verify, account)
   ══════════════════════════════════════════════ */
.sp-auth-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: 40px 16px;
}
.sp-auth-with-plans {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 860px;
}
.sp-auth-with-plans .sp-auth-card {
    max-width: 420px;
}
.sp-auth-with-plans .sp-account-card {
    max-width: 520px;
}
/* ── Plans row (Freenium + Premium side by side) ── */
.sp-plans-row {
    display: flex;
    gap: 16px;
    width: 100%;
}
/* ── Plan boxes ── */
.sp-plan-box {
    flex: 1;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--sp-shadow);
    border: 2px solid transparent;
    transition: border-color var(--sp-transition), box-shadow var(--sp-transition);
}
.sp-plan-box.sp-plan-current {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3), var(--sp-shadow);
}
.sp-plan-free {
    border-color: #22c55e;
}
.sp-plan-premium {
    border-color: #d4a017;
    background: linear-gradient(135deg, var(--sp-bg-card) 0%, rgba(212, 160, 23, 0.05) 100%);
}
.sp-plan-premium.sp-plan-current {
    box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.3), var(--sp-shadow);
}
/* ── Plan header (badge + status) ── */
.sp-plan-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.sp-plan-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    font-family: var(--sp-font);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sp-plan-badge-free {
    background: #22c55e;
    color: #fff;
}
.sp-plan-badge-premium {
    background: linear-gradient(135deg, #d4a017, #f5d442);
    color: #1a1a2e;
}
.sp-plan-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--sp-font);
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    letter-spacing: 0.5px;
}
/* ── Plan price ── */
.sp-plan-price-tag {
    margin-bottom: 14px;
}
.sp-plan-price-amount {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--sp-font);
    color: var(--sp-text);
}
.sp-plan-price-period {
    font-size: 14px;
    font-weight: 400;
    color: var(--sp-text-secondary);
    font-family: var(--sp-font);
}
.sp-plan-price-alt {
    display: block;
    font-size: 12px;
    color: var(--sp-text-secondary);
    font-family: var(--sp-font);
    margin-top: 2px;
}
/* ── Plan features ── */
.sp-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-plan-features li {
    font-size: 13px;
    color: var(--sp-text-secondary);
    padding: 5px 0;
    padding-left: 22px;
    position: relative;
    font-family: var(--sp-font);
}
.sp-plan-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
    font-size: 14px;
}
.sp-plan-features li.sp-plan-feature-highlight {
    font-weight: 700;
    color: var(--sp-text);
    font-size: 14px;
}
/* ── Premium features gold check ── */
.sp-plan-premium .sp-plan-features li::before {
    color: #d4a017;
}
/* ── Plan limits (non-included features with X) ── */
.sp-plan-limits {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    border-top: 1px solid var(--sp-border);
    padding-top: 10px;
}
.sp-plan-limits li {
    font-size: 12px;
    color: var(--sp-text-secondary);
    opacity: 0.6;
    padding: 4px 0;
    padding-left: 22px;
    position: relative;
    font-family: var(--sp-font);
}
.sp-plan-limits li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: #e63946;
    font-weight: 700;
    font-size: 13px;
}
[dir="rtl"] .sp-plan-limits li {
    padding-left: 0;
    padding-right: 22px;
}
[dir="rtl"] .sp-plan-limits li::before {
    left: auto;
    right: 0;
}
/* ── Trial info badge ── */
.sp-plan-trial-info {
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: var(--sp-radius);
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.25);
    font-size: 12px;
    font-weight: 600;
    color: #d4a017;
    text-align: center;
    font-family: var(--sp-font);
}
/* Trial opt-in button */
.sp-plan-trial-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    margin-bottom: 6px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--sp-font);
    cursor: pointer;
    transition: opacity 0.2s;
}
.sp-plan-trial-btn:hover { opacity: 0.85; }
.sp-plan-trial-btn:disabled { opacity: 0.5; cursor: wait; }
/* Verify email variant — bleu info */
.sp-plan-trial-verify {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3b82f6;
}
[dir="rtl"] .sp-plan-features li {
    padding-left: 0;
    padding-right: 22px;
}
[dir="rtl"] .sp-plan-features li::before {
    left: auto;
    right: 0;
}
.sp-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--sp-shadow);
}
.sp-auth-title {
    font-family: var(--sp-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0 0 24px;
    text-align: center;
}
.sp-auth-desc {
    font-size: 14px;
    color: var(--sp-text-secondary);
    text-align: center;
    line-height: 1.5;
    margin: 0 0 20px;
}
.sp-auth-field {
    margin-bottom: 16px;
}
.sp-auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-text-secondary);
    margin-bottom: 6px;
    font-family: var(--sp-font);
}
.sp-auth-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    font-size: 15px;
    font-family: var(--sp-font);
    outline: none;
    transition: border-color var(--sp-transition);
    box-sizing: border-box;
}
.sp-auth-input:focus {
    border-color: var(--sp-accent);
}
.sp-auth-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.sp-auth-hint {
    display: block;
    font-size: 11px;
    color: var(--sp-text-muted);
    margin-top: 4px;
}
.sp-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}
.sp-auth-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--sp-text-secondary);
    cursor: pointer;
}
.sp-auth-checkbox input {
    accent-color: var(--sp-accent);
}
.sp-auth-link {
    color: var(--sp-accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}
.sp-auth-link:hover {
    text-decoration: underline;
}
.sp-auth-link-btn {
    background: none;
    border: 1px solid var(--sp-accent);
    color: var(--sp-accent);
    border-radius: var(--sp-radius);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    font-family: var(--sp-font);
}
.sp-auth-link-btn:hover {
    background: var(--sp-accent);
    color: #fff;
}
.sp-auth-submit {
    width: 100%;
    padding: 12px;
    background: var(--sp-accent);
    color: #fff;
    border: none;
    border-radius: var(--sp-radius);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--sp-font);
    cursor: pointer;
    transition: background var(--sp-transition);
    margin-top: 4px;
}
.sp-auth-submit:hover {
    background: var(--sp-accent-hover);
}
.sp-auth-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}
/* Google OAuth button */
.sp-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: var(--sp-radius);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--sp-font);
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.sp-google-btn:hover {
    box-shadow: 0 1px 3px rgba(60,64,67,0.3);
    border-color: #c0c4c8;
}
.sp-google-icon { flex-shrink: 0; }
.sp-auth-separator {
    display: flex;
    align-items: center;
    margin: 16px 0;
    gap: 12px;
    color: var(--sp-text-muted, #999);
    font-size: 13px;
}
.sp-auth-separator::before,
.sp-auth-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sp-border, #e0e0e0);
}
[data-theme="dark"] .sp-google-btn {
    background: #292a2d;
    color: #e8eaed;
    border-color: #5f6368;
}
[data-theme="dark"] .sp-google-btn:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    border-color: #8e918f;
}
.sp-auth-error {
    background: rgba(230, 57, 70, 0.12);
    color: #e63946;
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: var(--sp-radius);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}
.sp-auth-success {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: var(--sp-radius);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}
.sp-auth-warning {
    background: rgba(255, 193, 7, 0.12);
    color: #b8860b;
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--sp-radius);
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}
body.sp-light .sp-auth-warning { color: #856404; }
/* Light theme overrides for plan boxes */
body.sp-light .sp-plan-premium {
    background: linear-gradient(135deg, var(--sp-bg-card) 0%, rgba(184, 134, 11, 0.06) 100%);
}
body.sp-light .sp-plan-trial-info {
    background: rgba(184, 134, 11, 0.08);
    border-color: rgba(184, 134, 11, 0.2);
    color: #b8860b;
}
body.sp-light .sp-plan-status {
    background: rgba(34, 197, 94, 0.1);
}
.sp-auth-footer {
    text-align: center;
    font-size: 13px;
    color: var(--sp-text-secondary);
    margin-top: 20px;
}

/* Check email screen */
.sp-auth-check-email {
    text-align: center;
    padding: 20px 0;
}
.sp-auth-check-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}
.sp-auth-icon-success {
    color: #28a745;
}
.sp-auth-icon-error {
    color: #e63946;
}

/* Account page */
.sp-account-card {
    width: 100%;
    max-width: 520px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--sp-shadow);
    margin: 0 auto;
}
.sp-account-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sp-border);
}
.sp-account-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: var(--sp-accent);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--sp-font);
}
.sp-account-info {
    flex: 1;
    min-width: 0;
}
.sp-account-name {
    font-family: var(--sp-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-account-email {
    font-size: 13px;
    color: var(--sp-text-secondary);
    margin: 4px 0 0;
}
.sp-account-badge {
    display: inline-block;
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
}
.sp-account-section-title {
    font-family: var(--sp-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0 0 16px;
}
.sp-account-sports {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* ── Favorite Stars (PERSO1) ── */
.sp-fav-star {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sp-text-secondary);
    opacity: 0.4;
    font-size: 14px;
    padding: 2px 4px;
    line-height: 1;
    transition: color 0.2s, transform 0.2s, opacity 0.2s;
    vertical-align: middle;
}
.sp-fav-star:hover {
    opacity: 1;
    transform: scale(1.2);
}
.sp-fav-star.sp-fav-active {
    color: #FFD700;
    opacity: 1;
}
.sp-fav-star-lg {
    font-size: 22px;
    padding: 0 6px;
}
/* Star in header nav — inline next to sport links */
.sp-nav-sports .sp-fav-star {
    font-size: 12px;
    padding: 1px 2px;
    margin-left: -2px;
}

/* ── Account Page — Toggle switch ── */
.sp-account-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--sp-text);
}
.sp-account-toggle-row input[type="checkbox"] {
    display: none;
}
.sp-toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--sp-border);
    border-radius: 12px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.sp-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.sp-account-toggle-row input:checked + .sp-toggle-switch {
    background: var(--sp-accent);
}
.sp-account-toggle-row input:checked + .sp-toggle-switch::after {
    transform: translateX(20px);
}
.sp-toggle-label {
    font-size: 14px;
    color: var(--sp-text-secondary);
}

/* ── Account Page — Favorites zone ── */
.sp-account-favs {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--sp-radius);
    padding: 12px;
    margin-bottom: 16px;
}
.sp-account-favs-label,
.sp-account-others-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sp-text-secondary);
    margin-bottom: 8px;
    font-family: var(--sp-font);
}
.sp-account-favs-label {
    color: #FFD700;
}
.sp-account-others {
    margin-bottom: 16px;
}
.sp-account-fav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 6px;
    transition: background 0.15s;
}
.sp-account-fav-item:hover {
    background: var(--sp-bg-hover);
}
.sp-account-fav-name {
    flex: 1;
    font-size: 14px;
    color: var(--sp-text);
    font-family: var(--sp-font);
}
.sp-account-fav-arrows {
    display: flex;
    gap: 2px;
}
.sp-fav-arrow {
    background: none;
    border: 1px solid var(--sp-border);
    color: var(--sp-text-secondary);
    font-size: 10px;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    padding: 0;
}
.sp-fav-arrow:hover:not(:disabled) {
    border-color: var(--sp-accent);
    color: var(--sp-accent);
}
.sp-fav-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.sp-account-logout {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: transparent;
    color: var(--sp-accent);
    border: 2px solid var(--sp-accent);
    border-radius: var(--sp-radius);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--sp-font);
    cursor: pointer;
    transition: all var(--sp-transition);
    text-align: center;
}
.sp-account-logout:hover {
    background: var(--sp-accent);
    color: #fff;
}

/* UXFIX1: Unsaved changes warning */
.sp-unsaved-warning {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: var(--sp-radius);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    animation: sp-pulse-warning 2s infinite;
}
@keyframes sp-pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* RTL support for auth pages (ar) */
[dir="rtl"] .sp-auth-row { flex-direction: row-reverse; }
[dir="rtl"] .sp-account-header { flex-direction: row-reverse; }
[dir="rtl"] .sp-account-badge { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .sp-nav-sports .sp-fav-star { margin-left: 0; margin-right: -2px; }
[dir="rtl"] .sp-toggle-switch::after { left: auto; right: 3px; }
[dir="rtl"] .sp-account-toggle-row input:checked + .sp-toggle-switch::after { transform: translateX(-20px); }

/* ── Plans row inside account page ── */
.sp-plans-row-account {
    margin: 20px 0;
}
.sp-plan-action {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--sp-border);
}
.sp-plan-renewal {
    display: block;
    font-size: 12px;
    color: var(--sp-text-secondary);
    font-family: var(--sp-font);
    margin-bottom: 8px;
}
.sp-plan-action-btn,
.sp-plan-manage-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--sp-font);
    transition: all var(--sp-transition);
}
.sp-plan-manage-btn:hover {
    border-color: var(--sp-accent);
    color: var(--sp-accent);
}
body.sp-light .sp-plan-manage-btn {
    border-color: rgba(0,0,0,0.15);
}
body.sp-light .sp-plan-manage-btn:hover {
    border-color: var(--sp-accent);
}
.sp-plan-status-trial {
    background: rgba(212, 160, 23, 0.15);
    color: #d4a017;
}

/* ══════════════════════════════════════════════
   3-TIER LAYOUT (FREE / FREENIUM / PREMIUM)
   ══════════════════════════════════════════════ */
/* ── Wider wrapper for 3 plan boxes ── */
.sp-auth-with-3plans {
    max-width: 1100px;
}
.sp-auth-with-3plans .sp-auth-card {
    max-width: 480px;
}

/* ── 3-column plans row ── */
.sp-plans-row-3 {
    display: flex;
    gap: 14px;
    width: 100%;
}

/* ── FREE tier (guest / gray) ── */
.sp-plan-guest {
    border-color: #6b7280;
    background: linear-gradient(135deg, var(--sp-bg-card) 0%, rgba(107, 114, 128, 0.05) 100%);
}
.sp-plan-guest.sp-plan-current {
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.3), var(--sp-shadow);
}
.sp-plan-badge-guest {
    background: #6b7280;
    color: #fff;
}
/* Gray checks for FREE tier */
.sp-plan-guest .sp-plan-features li::before {
    color: #6b7280;
}

/* ── Plan subtitle (small text under badge) ── */
.sp-plan-subtitle {
    font-size: 12px;
    color: var(--sp-text-muted);
    font-family: var(--sp-font);
    margin-bottom: 10px;
    font-style: italic;
}

/* ── Light theme overrides for FREE tier ── */
body.sp-light .sp-plan-guest {
    background: linear-gradient(135deg, var(--sp-bg-card) 0%, rgba(107, 114, 128, 0.04) 100%);
}

/* ══════════════════════════════════════════════
   LIMIT BANNER (redirect to login when limit reached)
   ══════════════════════════════════════════════ */
.sp-limit-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--sp-radius-lg);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.06) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    animation: sp-banner-fadein 0.4s ease;
}
@keyframes sp-banner-fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.sp-limit-banner-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}
.sp-limit-banner-title {
    display: block;
    font-family: var(--sp-font);
    font-size: 15px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 2px;
}
.sp-limit-banner-msg {
    display: block;
    font-family: var(--sp-font);
    font-size: 13px;
    color: var(--sp-text-secondary);
}
body.sp-light .sp-limit-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.03) 100%);
}

/* ── Freenium highlight (pulse glow when redirected from limit) ── */
.sp-plan-highlight {
    animation: sp-plan-glow 2s ease-in-out infinite;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3), var(--sp-shadow);
}
@keyframes sp-plan-glow {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3), var(--sp-shadow); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15), 0 0 20px rgba(34, 197, 94, 0.1), var(--sp-shadow); }
}

/* Auth responsive — plans stack on mobile */
/* Tablet: 3-col → 2+1 wrap */
@media (max-width: 860px) {
    .sp-plans-row-3 {
        flex-wrap: wrap;
    }
    .sp-plans-row-3 .sp-plan-box {
        flex: 1 1 calc(50% - 7px);
        min-width: 0;
    }
    .sp-plans-row-3 .sp-plan-box:last-child {
        flex: 1 1 100%;
    }
    .sp-auth-with-3plans {
        max-width: 700px;
    }
}
/* Mobile: all plans stack */
@media (max-width: 640px) {
    .sp-plans-row,
    .sp-plans-row-3 {
        flex-direction: column;
    }
    .sp-plans-row-3 .sp-plan-box {
        flex: 1 1 100%;
    }
    .sp-auth-with-plans,
    .sp-auth-with-3plans {
        max-width: 420px;
    }
}
@media (max-width: 480px) {
    .sp-auth-card,
    .sp-account-card {
        padding: 24px 18px;
    }
    .sp-auth-title {
        font-size: 20px;
    }
    .sp-account-avatar {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }
    .sp-account-name {
        font-size: 17px;
    }
    .sp-plan-box {
        padding: 16px 18px;
    }
    .sp-plan-price-amount {
        font-size: 22px;
    }
    .sp-limit-modal {
        padding: 28px 20px;
    }
    .sp-limit-title {
        font-size: 19px;
    }
}

/* ══════════════════════════════════════════════
   MAIN CONTAINER
   ══════════════════════════════════════════════ */
.sp-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
}

/* ══════════════════════════════════════════════
   HERO CAROUSEL
   ══════════════════════════════════════════════ */
/* PERFFIX2: contain isolates hero from Guest Mode AJAX reflows */
.sp-hero {
    position: relative;
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16/9;
    width: 100%;
    background: var(--sp-bg-card);
    contain: layout style;
}

.sp-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    cursor: pointer;
}

.sp-hero-slide.active {
    opacity: 1;
}

.sp-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 24px;
    background: linear-gradient(transparent, var(--sp-hero-gradient));
}

.sp-hero-sport {
    display: inline-block;
    background: var(--sp-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.sp-hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.sp-hero-meta {
    font-size: 14px;
    color: var(--sp-text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-hero-play {
    background: var(--sp-accent);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: transform var(--sp-transition);
}

.sp-hero-play:hover {
    transform: scale(1.1);
}

/* Hero dots */
.sp-hero-dots {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: flex;
    gap: 6px;
}

.sp-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background var(--sp-transition);
}

.sp-hero-dot.active {
    background: var(--sp-accent);
}

/* ══════════════════════════════════════════════
   SECTION TITLES
   ══════════════════════════════════════════════ */
.sp-section-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--sp-accent);
}

/* ══════════════════════════════════════════════
   EPISODES GRID (A la une)
   ══════════════════════════════════════════════ */
.sp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

/* ── Featured grid : 3 small centered cards, same width as hero ── */
.sp-grid-featured {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sp-grid-featured .sp-card-title {
    font-size: 13px;
}

.sp-grid-featured .sp-card-body {
    padding: 8px 10px;
}

.sp-grid-featured .sp-card-sport {
    font-size: 10px;
}

.sp-grid-featured .sp-card-meta {
    font-size: 11px;
}

/* ══════════════════════════════════════════════
   EPISODE CARD (A-tier)
   ══════════════════════════════════════════════ */
.sp-card {
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--sp-transition), box-shadow var(--sp-transition);
}

.sp-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow);
}

.sp-card-image {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--sp-bg-surface);
    overflow: hidden;
}

.sp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sp-card:hover .sp-card-image img {
    transform: scale(1.05);
}

.sp-card-play {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sp-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--sp-transition);
}

.sp-card:hover .sp-card-play {
    opacity: 1;
    transform: scale(1);
}

.sp-card-duration {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--sp-card-play-bg);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}

.sp-card-body {
    padding: 12px 14px;
}

.sp-card-sport {
    font-size: 11px;
    font-weight: 700;
    color: var(--sp-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sp-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.sp-card-excerpt {
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--sp-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 2px 0 6px;
}

.sp-card-meta {
    font-size: 12px;
    color: var(--sp-text-muted);
}

/* ══════════════════════════════════════════════
   EPISODE LIST (derniers episodes)
   ══════════════════════════════════════════════ */
.sp-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 32px;
}

.sp-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius);
    cursor: pointer;
    transition: background var(--sp-transition);
}

.sp-list-item:hover {
    background: var(--sp-bg-hover);
}

.sp-list-play {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all var(--sp-transition);
}

.sp-list-item:hover .sp-list-play {
    background: var(--sp-accent);
    color: #fff;
}

.sp-list-image {
    flex-shrink: 0;
    width: 64px;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--sp-bg-surface);
}

.sp-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-list-content {
    flex: 1;
    min-width: 0;
}

.sp-list-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-list-meta {
    font-size: 12px;
    color: var(--sp-text-muted);
    display: flex;
    gap: 8px;
}

.sp-list-duration {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--sp-text-secondary);
    font-weight: 500;
}

/* ══════════════════════════════════════════════
   EPISODE PAGE
   ══════════════════════════════════════════════ */
.sp-episode-page {
    max-width: 900px;
    margin: 0 auto;
}

.sp-episode-header {
    margin-bottom: 24px;
}

.sp-episode-image {
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/9;
    background: var(--sp-bg-card);
}

.sp-episode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-episode-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.sp-episode-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--sp-text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Cross-language links (AIVISIBILITY1) */
.sp-episode-langs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.sp-episode-langs-icon {
    font-size: 15px;
    margin-right: 4px;
}
.sp-episode-lang {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--sp-font);
    letter-spacing: .5px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--sp-text-secondary);
    background: var(--sp-bg-surface);
    border: 1px solid var(--sp-border);
    transition: all var(--sp-transition);
}
a.sp-episode-lang:hover {
    background: var(--sp-accent);
    color: #fff;
    border-color: var(--sp-accent);
}
.sp-episode-lang-active {
    background: var(--sp-accent);
    color: #fff;
    border-color: var(--sp-accent);
}

/* Boutons d'action episode */
.sp-episode-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sp-episode-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sp-accent);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--sp-font);
    cursor: pointer;
    transition: background var(--sp-transition);
}

.sp-episode-play-btn:hover {
    background: var(--sp-accent-hover);
}

.sp-episode-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    border: 1px solid var(--sp-border);
    border-radius: 24px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--sp-font);
    text-decoration: none;
    transition: all var(--sp-transition);
}

.sp-episode-read-btn:hover {
    background: var(--sp-accent);
    color: #fff;
    border-color: var(--sp-accent);
}

/* Article / Script du podcast (texte complet — SEO + Google News) */
.sp-episode-article {
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    border-left: 4px solid var(--sp-accent);
}

.sp-article-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sp-border);
}

.sp-article-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--sp-text);
}

.sp-article-meta {
    font-size: 13px;
    color: var(--sp-text-secondary);
}

.sp-article-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--sp-text);
}

.sp-article-body p {
    margin-bottom: 16px;
}

.sp-article-tags {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--sp-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-tag {
    background: var(--sp-bg-surface);
    color: var(--sp-text-secondary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Lien lire dans la liste episodes */
.sp-list-title-link {
    text-decoration: none;
    color: inherit;
}

.sp-list-title-link:hover .sp-list-title {
    color: var(--sp-accent);
}

.sp-list-read {
    text-decoration: none;
    font-size: 18px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background var(--sp-transition);
    flex-shrink: 0;
    margin-left: -8px;
}

.sp-list-read:hover {
    background: var(--sp-bg-surface);
}

/* Lien titre dans les cards */
.sp-card-title-link {
    text-decoration: none;
    color: inherit;
}

.sp-card-title-link:hover .sp-card-title {
    color: var(--sp-accent);
}

/* Episodes similaires */
.sp-related {
    margin-top: 40px;
}

/* ══════════════════════════════════════════════
   SPORT PAGE
   ══════════════════════════════════════════════ */
.sp-sport-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
}

.sp-sport-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
    flex-shrink: 0;
}

.sp-sport-icon-img {
    background: var(--sp-bg-surface);
}

.sp-sport-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-sport-name {
    font-size: 24px;
    font-weight: 700;
}

.sp-sport-stats {
    font-size: 14px;
    color: var(--sp-text-secondary);
}

/* ── Pillar Intro (SEO editorial content) ── */
.sp-pillar-intro {
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius);
    padding: 24px 28px;
    margin: 20px 0 24px;
    border-left: 3px solid var(--sp-accent);
}

.sp-pillar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.sp-pillar-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sp-text-secondary);
    max-width: 720px;
}

.sp-pillar-body p {
    margin-bottom: 10px;
}

.sp-pillar-body p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   HOME INTRO — SEO Editorial H1
   ══════════════════════════════════════════════ */
/* PERFFIX1: min-height prevents CLS when Guest Mode AJAX updates the page */
.sp-home-intro {
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 20px 24px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius);
    border-left: 3px solid var(--sp-accent);
    min-height: 180px;
    contain: layout style;
}

.sp-home-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--sp-text);
}

.sp-home-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--sp-text-secondary);
    margin: 0;
}

.sp-home-desc strong {
    color: var(--sp-text);
    font-weight: 600;
}

/* Home intro RTL */
[dir="rtl"].sp-home-intro {
    border-left: none;
    border-right: 3px solid var(--sp-accent);
}

/* Home intro responsive */
@media (max-width: 600px) {
    .sp-home-intro {
        padding: 16px 16px;
        margin-bottom: 16px;
        min-height: 280px; /* PERFFIX1: taller on mobile (more text wrapping) */
    }
    .sp-home-title {
        font-size: 20px;
    }
}

/* ══════════════════════════════════════════════
   ABOUT PAGE — E-E-A-T
   ══════════════════════════════════════════════ */
.sp-about-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.sp-about-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.3;
    border-bottom: 3px solid var(--sp-accent);
    padding-bottom: 12px;
}

.sp-about-section {
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius);
    padding: 24px 28px;
    margin-bottom: 20px;
}

.sp-about-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
    color: var(--sp-text);
}

.sp-about-section p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sp-text-secondary);
    margin-bottom: 10px;
}

.sp-about-section p:last-child {
    margin-bottom: 0;
}

.sp-about-steps {
    list-style: decimal;
    padding-left: 24px;
    margin: 14px 0;
}

.sp-about-steps li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sp-text-secondary);
    margin-bottom: 10px;
    padding-left: 4px;
}

.sp-about-steps li strong {
    color: var(--sp-text);
}

.sp-about-note {
    font-style: italic;
    opacity: 0.85;
    margin-top: 14px;
}

.sp-about-sport-list {
    font-weight: 600;
    color: var(--sp-text) !important;
}

.sp-about-contact-btn {
    display: inline-block;
    background: var(--sp-accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--sp-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--sp-transition);
    margin-top: 6px;
}

.sp-about-contact-btn:hover {
    background: var(--sp-accent-hover);
}

.sp-about-correction {
    border-left: 3px solid var(--sp-accent);
}

.sp-about-company {
    border-left: 3px solid var(--sp-accent);
}

.sp-about-trust ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.sp-about-trust li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sp-text-secondary);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.sp-about-trust li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sp-accent);
    font-weight: 700;
}

.sp-about-trust li strong {
    color: var(--sp-text);
}

.sp-about-trust a {
    color: var(--sp-accent);
    text-decoration: underline;
}

.sp-about-trust a:hover {
    color: var(--sp-accent-hover);
}

/* About page — RTL support */
[dir="rtl"].sp-about-page .sp-about-steps {
    padding-left: 0;
    padding-right: 24px;
}

[dir="rtl"].sp-about-page .sp-about-trust li {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"].sp-about-page .sp-about-trust li::before {
    left: auto;
    right: 0;
}

[dir="rtl"].sp-about-page .sp-about-correction,
[dir="rtl"].sp-about-page .sp-about-company {
    border-left: none;
    border-right: 3px solid var(--sp-accent);
}

/* About responsive */
@media (max-width: 600px) {
    .sp-about-page {
        padding: 12px 0 24px;
    }
    .sp-about-title {
        font-size: 22px;
    }
    .sp-about-section {
        padding: 18px 16px;
    }
    .sp-about-section h2 {
        font-size: 17px;
    }
}

/* ══════════════════════════════════════════════
   EXPLORE PAGE — Sports Grid
   ══════════════════════════════════════════════ */
.sp-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.sp-explore-card {
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--sp-transition);
}

.sp-explore-card:hover {
    background: var(--sp-bg-hover);
    transform: translateY(-2px);
}

.sp-explore-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--sp-radius);
    overflow: hidden;
    margin-bottom: 10px;
}

.sp-explore-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sp-explore-card:hover .sp-explore-card-image img {
    transform: scale(1.05);
}

.sp-explore-card-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.sp-explore-card-name {
    font-size: 16px;
    font-weight: 700;
}

.sp-explore-card-count {
    font-size: 13px;
    color: var(--sp-text-muted);
    margin-top: 4px;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.sp-footer {
    background: var(--sp-bg-card);
    border-top: 1px solid var(--sp-border);
    padding: 24px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--sp-text-muted);
}

.sp-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.sp-footer-links a {
    color: var(--sp-text-secondary);
}

.sp-footer-links a:hover {
    color: var(--sp-accent);
}

.sp-footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 10px;
    font-size: 12px;
}

.sp-footer-legal a {
    color: var(--sp-text-muted);
}

.sp-footer-legal a:hover {
    color: var(--sp-accent);
}

/* Footer language links — SEOFIX1 */
.sp-footer-langs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 12px 0 10px;
    font-size: 11px;
}
.sp-footer-lang {
    color: var(--sp-text-muted, #888);
    text-decoration: none;
    transition: color .2s;
}
.sp-footer-lang:hover { color: var(--sp-accent); }
.sp-footer-lang-active {
    color: var(--sp-accent);
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════ */
.sp-legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    line-height: 1.7;
}

.sp-legal-page h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--sp-text);
}

.sp-legal-updated {
    font-size: 13px;
    color: var(--sp-text-muted);
    margin-bottom: 30px;
}

.sp-legal-page h2 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 10px;
    color: var(--sp-accent);
}

.sp-legal-page p,
.sp-legal-page li {
    font-size: 14px;
    color: var(--sp-text-secondary);
}

.sp-legal-page ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.sp-legal-page li {
    margin-bottom: 6px;
}

.sp-legal-page a {
    color: var(--sp-accent);
}

.sp-legal-page a:hover {
    text-decoration: underline;
}

.sp-legal-page code {
    background: var(--sp-bg-card);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.sp-contact-info {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0 24px;
}

.sp-email-protect {
    color: var(--sp-accent);
    font-weight: 500;
    user-select: none;
}

.sp-email-protect span {
    font-size: 12px;
    color: var(--sp-text-muted);
}

/* Legal tables (cookies, retention, sub-processors) */
.sp-legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 13px;
}

.sp-legal-table th,
.sp-legal-table td {
    border: 1px solid var(--sp-border);
    padding: 8px 12px;
    text-align: left;
    color: var(--sp-text-secondary);
}

.sp-legal-table th {
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sp-legal-table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.sp-legal-table code {
    background: var(--sp-bg-card);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 12px;
}

@media (max-width: 600px) {
    .sp-legal-table {
        font-size: 12px;
    }
    .sp-legal-table th,
    .sp-legal-table td {
        padding: 6px 8px;
    }
}

/* ══════════════════════════════════════════════
   LOADER
   ══════════════════════════════════════════════ */
.sp-loader {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.sp-loader::after {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid var(--sp-border);
    border-top-color: var(--sp-accent);
    border-radius: 50%;
    animation: sp-spin 0.8s linear infinite;
}

@keyframes sp-spin {
    to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════
   LOAD MORE
   ══════════════════════════════════════════════ */
.sp-load-more {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    padding: 12px;
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    font-family: var(--sp-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--sp-transition);
}

.sp-load-more:hover {
    background: var(--sp-accent);
    border-color: var(--sp-accent);
    color: #fff;
}

/* ══════════════════════════════════════════════
   PAGINATION (MAILLAGE1)
   ══════════════════════════════════════════════ */
.sp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 24px auto;
    padding: 0;
    flex-wrap: wrap;
}
.sp-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    font-family: var(--sp-font);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--sp-transition);
    cursor: pointer;
}
.sp-pagination-link:hover {
    background: var(--sp-accent);
    border-color: var(--sp-accent);
    color: #fff;
}
.sp-pagination-current {
    background: var(--sp-accent);
    border-color: var(--sp-accent);
    color: #fff;
    cursor: default;
    font-weight: 700;
}
.sp-pagination-dots {
    color: var(--sp-text-muted);
    padding: 0 4px;
    font-size: 14px;
}
.sp-pagination-prev,
.sp-pagination-next {
    font-weight: 700;
    font-size: 16px;
}

/* ══════════════════════════════════════════════
   EPISODE PREV/NEXT NAV (MAILLAGE1)
   ══════════════════════════════════════════════ */
.sp-episode-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    margin: 32px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--sp-border);
}
.sp-episode-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 12px 16px;
    background: var(--sp-bg-surface);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    text-decoration: none;
    color: var(--sp-text);
    transition: all var(--sp-transition);
    min-width: 0;
}
.sp-episode-nav-link:hover {
    border-color: var(--sp-accent);
    background: var(--sp-bg-hover);
}
.sp-episode-nav-placeholder {
    border: none;
    background: none;
}
.sp-episode-nav-prev {
    text-align: left;
}
.sp-episode-nav-next {
    text-align: right;
    justify-content: flex-end;
}
.sp-episode-nav-arrow {
    font-size: 20px;
    color: var(--sp-accent);
    flex-shrink: 0;
}
.sp-episode-nav-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.sp-episode-nav-meta small {
    font-size: 11px;
    color: var(--sp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sp-episode-nav-title {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sp-episode-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
    color: var(--sp-text-muted);
    text-decoration: none;
    font-size: 18px;
    border-radius: var(--sp-radius);
    transition: all var(--sp-transition);
}
.sp-episode-nav-center:hover {
    background: var(--sp-bg-hover);
    color: var(--sp-accent);
}

@media (max-width: 600px) {
    .sp-episode-nav {
        flex-direction: column;
        gap: 8px;
    }
    .sp-episode-nav-center {
        display: none;
    }
    .sp-episode-nav-next {
        text-align: left;
        justify-content: flex-start;
    }
}

/* ══════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════ */
.sp-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--sp-text-muted);
}

.sp-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* ══════════════════════════════════════════════
   THEME TOGGLE BUTTON
   ══════════════════════════════════════════════ */
.sp-theme-toggle {
    background: var(--sp-bg-surface);
    border: 1px solid var(--sp-border);
    border-radius: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--sp-transition);
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.sp-theme-toggle:hover {
    background: var(--sp-accent);
    border-color: var(--sp-accent);
}

/* Light mode : hero text toujours blanc sur fond image */
body.sp-light .sp-hero-title,
body.sp-light .sp-hero-meta,
body.sp-light .sp-hero-overlay {
    color: #fff;
}

/* Light mode : ombre cards */
body.sp-light .sp-card {
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid var(--sp-border);
}

body.sp-light .sp-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Light mode : list items border */
body.sp-light .sp-list-item {
    border: 1px solid var(--sp-border);
}

/* Light mode : header link colors */
body.sp-light .sp-nav-sports a {
    color: var(--sp-text-secondary);
}

/* Light mode : episode article */
body.sp-light .sp-episode-article {
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Light mode : footer */
body.sp-light .sp-footer {
    border-top: 1px solid var(--sp-border);
}

/* ══════════════════════════════════════════════
   SPORT DATA — ONGLETS
   ══════════════════════════════════════════════ */
.sp-sport-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
    padding: 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius) var(--sp-radius) 0 0;
    border-bottom: 2px solid var(--sp-border);
}

.sp-sport-tabs::-webkit-scrollbar {
    display: none;
}

.sp-sport-tab {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--sp-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: var(--sp-text-secondary);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--sp-transition);
    margin-bottom: -2px;
}

.sp-sport-tab:hover {
    color: var(--sp-text);
    background: var(--sp-bg-hover);
}

.sp-sport-tab.active {
    color: var(--sp-accent);
    border-bottom-color: var(--sp-accent);
}

/* Contenu onglets */
.sp-tab-content {
    background: var(--sp-bg-card);
    border-radius: 0 0 var(--sp-radius) var(--sp-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.sp-tab-podcasts-content {
    margin-top: 0;
}

/* Bannières intercalées dans la grille épisodes */
.sp-grid-banner {
    grid-column: 1 / -1;
    margin: 8px 0;
}

/* ══════════════════════════════════════════════
   SPORT DATA — CLASSEMENT (Standings)
   ══════════════════════════════════════════════ */
.sp-standings-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sp-standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 400px;
}

.sp-standings-table thead {
    background: var(--sp-bg-surface);
}

.sp-standings-table th {
    padding: 8px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--sp-text-secondary);
    text-align: center;
    border-bottom: 2px solid var(--sp-border);
}

.sp-standings-table td {
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid var(--sp-border);
    color: var(--sp-text);
}

.sp-standings-table tbody tr:hover {
    background: var(--sp-bg-hover);
}

.sp-standings-table .sp-col-pos {
    width: 36px;
    font-weight: 700;
    text-align: center;
}

.sp-standings-table .sp-col-team {
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.sp-standings-table .sp-col-num {
    width: 40px;
}

.sp-standings-table .sp-col-pts {
    width: 50px;
    font-size: 14px;
}

.sp-team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 2px;
}

/* Top 4 (zone verte - qualif) */
.sp-standings-top td:first-child {
    border-left: 3px solid #2ecc71;
}

/* Bottom 3 (zone rouge - relegation) */
.sp-standings-bottom td:first-child {
    border-left: 3px solid var(--sp-accent);
}

/* ══════════════════════════════════════════════
   SPORT DATA — TENNIS RANKINGS (ATP/WTA)
   ══════════════════════════════════════════════ */
.sp-tennis-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--sp-border);
}
.sp-tennis-tab {
    padding: 8px 20px;
    background: transparent;
    border: none;
    color: var(--sp-text-muted);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--sp-transition), border-color var(--sp-transition);
}
.sp-tennis-tab:hover {
    color: var(--sp-text-primary);
}
.sp-tennis-tab.active {
    color: var(--sp-accent);
    border-bottom-color: var(--sp-accent);
}

.sp-flag-icon {
    width: 24px !important;
    height: 16px !important;
    object-fit: contain;
    border-radius: 2px;
}

.sp-prog-up {
    color: #2ecc71;
    font-size: 0.85em;
    font-weight: 600;
}
.sp-prog-down {
    color: var(--sp-accent);
    font-size: 0.85em;
    font-weight: 600;
}
.sp-prog-same {
    color: var(--sp-text-muted);
}

/* ══════════════════════════════════════════════
   SPORT DATA — FIXTURES (Resultats & Calendrier)
   COMPFIX1: CSS Grid for perfect alignment
   ══════════════════════════════════════════════ */
.sp-fixtures-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sp-fixture-card {
    display: grid;
    grid-template-columns: 50px 1fr 70px 1fr 120px;
    align-items: center;
    padding: 10px 16px;
    background: var(--sp-bg-surface);
    border-radius: var(--sp-radius);
    transition: background var(--sp-transition);
}

.sp-fixture-card:hover {
    background: var(--sp-bg-hover);
}

.sp-fixture-date {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-text-secondary);
    line-height: 1.3;
}

.sp-fixture-date small {
    font-size: 11px;
    color: var(--sp-text-muted);
    font-weight: 400;
}

.sp-fixture-teams {
    display: contents;
}

.sp-fixture-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    min-width: 0;
}

.sp-fixture-team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* COMPFIX1c: Logo must be NEXT TO the score for visual alignment
   Home:  [name] [logo] → | score | ← [logo] [name]  */
.sp-fixture-home {
    justify-content: flex-end;
    text-align: right;
}
.sp-fixture-home .sp-team-logo {
    order: 1;        /* push logo after name (closer to score) */
    margin-right: 0;
    margin-left: 0;
}

.sp-fixture-away {
    justify-content: flex-start;
    text-align: left;
}
.sp-fixture-away .sp-team-logo {
    order: -1;       /* pull logo before name (closer to score) */
    margin-right: 0;
    margin-left: 0;
}

/* Override global .sp-team-logo margin inside fixture cards */
.sp-fixture-card .sp-team-logo {
    margin: 0;
    flex-shrink: 0;
}

.sp-fixture-score {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-text);
}

.sp-fixture-vs {
    font-size: 12px;
    font-weight: 400;
    color: var(--sp-text-muted);
    text-transform: uppercase;
}

.sp-fixture-round {
    font-size: 11px;
    color: var(--sp-text-muted);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Resultat joue : score en couleur */
.sp-fixture-result .sp-fixture-score strong {
    color: var(--sp-accent);
}

/* Match a venir */
.sp-fixture-upcoming {
    border-left: 3px solid var(--sp-accent);
}

/* Mise a jour */
.sp-data-updated {
    font-size: 11px;
    color: var(--sp-text-muted);
    text-align: right;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--sp-border);
}

/* ══════════════════════════════════════════════
   SPORT DATA — ROUND NAVIGATION (journees)
   ══════════════════════════════════════════════ */
.sp-rounds-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--sp-border);
}

.sp-round-prev,
.sp-round-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    border: 1px solid var(--sp-border);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--sp-transition);
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
}

.sp-round-prev:hover:not(:disabled),
.sp-round-next:hover:not(:disabled) {
    background: var(--sp-accent);
    color: #fff;
    border-color: var(--sp-accent);
}

.sp-round-prev:disabled,
.sp-round-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.sp-round-label {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--sp-text);
    text-align: center;
    min-width: 140px;
}

.sp-round-date-range {
    font-size: 12px;
    color: var(--sp-text-muted);
    text-align: center;
    margin-bottom: 10px;
}

/* Round pages: hidden by default, shown when .active */
.sp-round-page {
    display: none;
}

.sp-round-page.active {
    display: block;
}

/* Light mode sport data */
body.sp-light .sp-fixture-card {
    border: 1px solid var(--sp-border);
}

body.sp-light .sp-standings-table {
    border: 1px solid var(--sp-border);
}

body.sp-light .sp-sport-tabs {
    border-bottom-color: var(--sp-border);
}

/* COMPFIX1: Tablet — hide venue, adjust grid */
@media (max-width: 768px) {
    .sp-fixture-card {
        grid-template-columns: 50px 1fr 70px 1fr;
    }
    .sp-fixture-round {
        display: none;
    }
}

/* ══════════════════════════════════════════════
   EPISODE — LIENS SPORT DATA
   ══════════════════════════════════════════════ */
.sp-sport-links-section {
    margin: 28px 0 32px;
    padding: 24px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
    border-left: 4px solid var(--sp-accent);
}

.sp-sport-links-section .sp-section-title {
    margin-bottom: 14px;
}

.sp-sport-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-sport-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--sp-bg-surface);
    color: var(--sp-text);
    border: 1px solid var(--sp-border);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--sp-font);
    text-decoration: none;
    transition: all var(--sp-transition);
}

.sp-sport-link:hover {
    background: var(--sp-accent);
    color: #fff;
    border-color: var(--sp-accent);
}

/* Light mode */
body.sp-light .sp-sport-links-section {
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid var(--sp-border);
    border-left: 4px solid var(--sp-accent);
}

/* ══════════════════════════════════════════════
   YOUTUBE — PROMOTION
   ══════════════════════════════════════════════ */

/* YouTube button in header */
.sp-yt-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ff0000;
    color: #fff !important;
    border: none;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--sp-font);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--sp-transition);
    flex-shrink: 0;
}

.sp-yt-header-btn:hover {
    background: #cc0000;
    color: #fff !important;
    transform: scale(1.05);
}

/* Premium promo banner on home page */
.sp-premium-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    margin: 0 0 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--sp-radius-lg);
    color: #fff;
    text-decoration: none;
    transition: all var(--sp-transition);
    overflow: hidden;
    position: relative;
}

.sp-premium-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(15, 52, 96, 0.4);
    color: #fff;
}

.sp-premium-banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f5c518 0%, #e6a817 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1a1a2e;
}

.sp-premium-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-premium-banner-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.sp-premium-banner-text small {
    font-size: 13px;
    opacity: 0.75;
}

/* YouTube promo banner on home page */
.sp-yt-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    margin: 24px 0;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-radius: var(--sp-radius-lg);
    color: #fff;
    text-decoration: none;
    transition: all var(--sp-transition);
    overflow: hidden;
    position: relative;
}

.sp-yt-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    color: #fff;
}

.sp-yt-banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sp-yt-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-yt-banner-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.sp-yt-banner-text small {
    font-size: 13px;
    opacity: 0.85;
}

/* Widget promo banner (same layout as YT banner) */
.sp-widget-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    margin: 16px 0;
    background: linear-gradient(135deg, #e63946 0%, #c82333 100%);
    border-radius: var(--sp-radius-lg);
    color: #fff;
    text-decoration: none;
    transition: all var(--sp-transition);
    overflow: hidden;
    position: relative;
}

.sp-widget-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    color: #fff;
}

.sp-widget-banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sp-widget-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-widget-banner-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.sp-widget-banner-text small {
    font-size: 13px;
    opacity: 0.85;
}

/* PWA Install banner (mobile, sous le header) */
.sp-install-banner {
    background: #1a1a1a;
    color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}

.sp-install-banner.sp-install-show {
    max-height: 80px;
    padding: 12px 16px;
    opacity: 1;
}

.sp-install-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.sp-install-banner-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #e63946 0%, #c82333 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sp-install-banner-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.sp-install-banner-text strong {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-install-banner-text small {
    font-size: 11px;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-install-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sp-install-btn {
    background: #e63946;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.sp-install-btn:hover {
    background: #c82333;
}

.sp-install-close {
    background: none;
    border: none;
    color: #888;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.sp-install-close:hover {
    color: #fff;
}

/* YouTube highlight in sport-links section */
.sp-sport-link-yt {
    background: #ff0000 !important;
    color: #fff !important;
    border-color: #ff0000 !important;
}

.sp-sport-link-yt:hover {
    background: #cc0000 !important;
    border-color: #cc0000 !important;
}

/* Personalize CTA in sport-links section */
.sp-sport-link-perso {
    background: transparent !important;
    color: var(--sp-accent) !important;
    border: 1px dashed var(--sp-accent) !important;
    font-size: 13px;
}
.sp-sport-link-perso:hover {
    background: var(--sp-accent) !important;
    color: #fff !important;
    border-style: solid !important;
}

/* Footer YouTube link */
.sp-footer-yt {
    color: #ff4444 !important;
    font-weight: 600;
}

.sp-footer-yt:hover {
    color: #ff0000 !important;
}

/* ══════════════════════════════════════════════
   SHARE BUTTONS — Inline icons
   ══════════════════════════════════════════════ */
.sp-share-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.sp-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--sp-border);
    background: transparent;
    color: var(--sp-text);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--sp-transition);
}

.sp-share-icon:hover {
    background: var(--sp-accent);
    color: #fff;
    border-color: var(--sp-accent);
    transform: scale(1.1);
}

.sp-share-icon svg {
    width: 18px;
    height: 18px;
}

/* Brand colors on hover */
.sp-share-icon[data-action="twitter"]:hover { background: #000; border-color: #000; }
.sp-share-whatsapp:hover { background: #25D366 !important; border-color: #25D366 !important; }
.sp-share-facebook:hover { background: #1877F2 !important; border-color: #1877F2 !important; }
.sp-share-icon[data-action="email"]:hover { background: var(--sp-accent); border-color: var(--sp-accent); }
.sp-share-download:hover { background: #22c55e !important; border-color: #22c55e !important; }

/* Copy feedback */
.sp-share-icon.copied {
    background: #22c55e !important;
    color: #fff !important;
    border-color: #22c55e !important;
}

/* Mini share button on cards & list items */
.sp-mini-share {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--sp-transition);
    z-index: 5;
}

.sp-card:hover .sp-mini-share,
.sp-list-item:hover .sp-mini-share {
    opacity: 1;
}

.sp-mini-share:hover {
    background: var(--sp-accent);
}

/* Mini share in list items: inline, not absolute */
.sp-mini-share-list {
    position: static;
    opacity: 0;
    flex-shrink: 0;
    background: var(--sp-border);
    color: var(--sp-text);
}

.sp-list-item:hover .sp-mini-share-list {
    opacity: 1;
}

/* ══════════════════════════════════════════════
   PERSO1 — Mobile Account Button (visible in header bar)
   ══════════════════════════════════════════════ */
.sp-mobile-account {
    display: none; /* Hidden on desktop */
}
.sp-mobile-lang {
    display: none; /* Hidden on desktop */
}

/* ══════════════════════════════════════════════
   PERSO1 — SIGNUP TOAST (non-logged star click)
   ══════════════════════════════════════════════ */
.sp-signup-toast {
    position: fixed;
    bottom: calc(var(--sp-player-height) + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sp-bg-card);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--sp-radius-lg);
    padding: 14px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    max-width: 440px;
    width: calc(100% - 32px);
}

.sp-signup-toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.sp-signup-toast-star {
    font-size: 24px;
    color: #FFD700;
    flex-shrink: 0;
    line-height: 1;
    animation: sp-star-pulse 1s ease infinite;
}

@keyframes sp-star-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.sp-signup-toast-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-text);
    flex: 1;
    min-width: 0;
    font-family: var(--sp-font);
}

.sp-signup-toast-btn {
    display: inline-block;
    background: var(--sp-accent);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--sp-font);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--sp-transition);
}

.sp-signup-toast-btn:hover {
    background: var(--sp-accent-hover);
    color: #fff !important;
}

.sp-signup-toast-close {
    background: none;
    border: none;
    color: var(--sp-text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
    transition: color var(--sp-transition);
}

.sp-signup-toast-close:hover {
    color: var(--sp-text);
}

/* ══════════════════════════════════════════════
   PERSO1 — SIGNUP CTA BANNER (homepage)
   ══════════════════════════════════════════════ */
.sp-signup-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    margin: 8px 0 24px;
    background: linear-gradient(135deg, rgba(255,215,0,0.12) 0%, rgba(230,57,70,0.08) 100%);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--sp-radius-lg);
    transition: all var(--sp-transition);
}

.sp-signup-cta:hover {
    border-color: rgba(255, 215, 0, 0.5);
}

.sp-signup-cta-star {
    font-size: 28px;
    color: #FFD700;
    flex-shrink: 0;
    line-height: 1;
}

.sp-signup-cta-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--sp-text);
    flex: 1;
    font-family: var(--sp-font);
}

.sp-signup-cta-btn {
    display: inline-block;
    background: var(--sp-accent);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--sp-font);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--sp-transition), transform var(--sp-transition);
}

.sp-signup-cta-btn:hover {
    background: var(--sp-accent-hover);
    color: #fff !important;
    transform: scale(1.05);
}

/* ══════════════════════════════════════════════
   PERSO1 — FAVORITE BLOCKS (sous hero, connecté)
   ══════════════════════════════════════════════ */
.sp-fav-blocks {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 16px;
    margin: 0 0 12px;
}

.sp-fav-blocks::-webkit-scrollbar {
    display: none;
}

.sp-fav-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    max-width: 120px;
    padding: 12px 10px;
    background: var(--sp-bg-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--sp-radius);
    text-decoration: none;
    text-align: center;
    transition: all var(--sp-transition);
    flex-shrink: 0;
}

.sp-fav-block:hover {
    background: var(--sp-bg-hover);
    border-color: #FFD700;
    transform: translateY(-2px);
}

.sp-fav-block-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--sp-bg-surface);
}

.sp-fav-block-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--sp-text);
    font-family: var(--sp-font);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sp-fav-block-count {
    font-size: 11px;
    color: var(--sp-text-muted);
    white-space: nowrap;
}

/* ══════════════════════════════════════════════
   PERSO1 — INTRO CTA (bottom of home-intro for non-logged)
   ══════════════════════════════════════════════ */
.sp-intro-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--sp-border);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sp-intro-cta-text {
    font-size: 13px;
    color: var(--sp-text-secondary);
    flex: 1;
    text-align: right;
    font-style: italic;
}

.sp-intro-cta-btn {
    display: inline-block;
    background: var(--sp-accent);
    color: #fff !important;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--sp-font);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--sp-transition), transform var(--sp-transition);
}

.sp-intro-cta-btn:hover {
    background: var(--sp-accent-hover);
    color: #fff !important;
    transform: scale(1.05);
}

/* ══════════════════════════════════════════════
   PERSO1 — SETTINGS LOCK (non-logged sport selection)
   ══════════════════════════════════════════════ */
.sp-settings-lock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(255,215,0,0.10) 0%, rgba(230,57,70,0.06) 100%);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--sp-radius);
    font-size: 13px;
    color: var(--sp-text-secondary);
    flex-wrap: wrap;
}

.sp-settings-lock-btn {
    display: inline-block;
    background: var(--sp-accent);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--sp-font);
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto;
    transition: background var(--sp-transition);
}

.sp-settings-lock-btn:hover {
    background: var(--sp-accent-hover);
    color: #fff !important;
}

/* RTL — PERSO1 */
[dir="rtl"] .sp-signup-cta { flex-direction: row-reverse; }
[dir="rtl"] .sp-signup-toast { flex-direction: row-reverse; }
[dir="rtl"] .sp-intro-cta { justify-content: flex-start; }
[dir="rtl"] .sp-intro-cta-text { text-align: left; }
[dir="rtl"] .sp-settings-lock-btn { margin-left: 0; margin-right: auto; }

/* Light mode — PERSO1 */
body.sp-light .sp-signup-cta {
    background: linear-gradient(135deg, rgba(255,215,0,0.08) 0%, rgba(230,57,70,0.05) 100%);
}

body.sp-light .sp-signup-toast {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

body.sp-light .sp-fav-block {
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .sp-header-inner {
        gap: 10px;
    }

    /* YouTube header: hide text, keep icon only */
    .sp-yt-header-text {
        display: none;
    }

    .sp-yt-header-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* Premium banner smaller */
    .sp-premium-banner {
        padding: 12px 16px;
        gap: 12px;
    }

    .sp-premium-banner-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .sp-premium-banner-text strong {
        font-size: 14px;
    }

    .sp-premium-banner-text small {
        font-size: 12px;
    }

    /* YouTube banner smaller */
    .sp-yt-banner {
        padding: 12px 16px;
        gap: 12px;
    }

    .sp-yt-banner-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .sp-yt-banner-text strong {
        font-size: 14px;
    }

    .sp-yt-banner-text small {
        font-size: 12px;
    }

    /* Widget banner smaller */
    .sp-widget-banner {
        padding: 12px 16px;
        gap: 12px;
    }

    .sp-widget-banner-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .sp-widget-banner-text strong {
        font-size: 14px;
    }

    .sp-widget-banner-text small {
        font-size: 12px;
    }

    /* Share icons: smaller on mobile */
    .sp-share-icons {
        gap: 4px;
        margin-left: 4px;
    }

    .sp-share-icon {
        width: 34px;
        height: 34px;
    }

    .sp-share-icon svg {
        width: 16px;
        height: 16px;
    }

    /* Mini share always visible on touch */
    .sp-mini-share {
        opacity: 0.7;
    }

    .sp-logo-img {
        height: 36px;
    }

    /* ── Mobile account/login button visible in header bar ── */
    .sp-mobile-account {
        display: flex;
        margin-left: auto;
    }

    /* ── Mobile language selector (between login and burger) ── */
    .sp-mobile-lang {
        display: block;
        background: var(--sp-bg-surface, #1a1a1a);
        color: var(--sp-text);
        border: 1px solid var(--sp-border);
        border-radius: 6px;
        padding: 3px 4px;
        font-size: 12px;
        font-family: var(--sp-font);
        cursor: pointer;
        margin-left: 8px;
    }

    /* ── Burger visible on mobile ── */
    .sp-burger {
        display: flex;
        margin-left: 8px;
    }

    /* ── Collapse : dropdown hidden by default ── */
    .sp-header-collapse {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--sp-header-bg);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--sp-border);
        padding: 16px 20px;
        z-index: 99;
        flex-direction: column;
        gap: 16px;
    }

    .sp-header-collapse.sp-header-collapse-open {
        display: flex;
    }

    /* Nav links become vertical in dropdown */
    .sp-header-collapse .sp-nav-sports {
        flex-direction: column;
        flex: none;
        overflow-x: visible;
        gap: 4px;
    }

    .sp-header-collapse .sp-nav-sports a {
        padding: 10px 16px;
        border-radius: 8px;
        font-size: 14px;
        text-align: center;
    }

    /* Actions centered at bottom of dropdown */
    .sp-header-collapse .sp-header-actions {
        justify-content: center;
        padding-top: 12px;
        border-top: 1px solid var(--sp-border);
    }

    /* ── PERSO1: Toast responsive ── */
    .sp-signup-toast {
        bottom: calc(var(--sp-player-height) + 12px);
        padding: 12px 14px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .sp-signup-toast-star {
        font-size: 20px;
    }

    .sp-signup-toast-text {
        font-size: 13px;
    }

    .sp-signup-toast-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* ── PERSO1: CTA responsive ── */
    .sp-signup-cta {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 10px;
        text-align: center;
    }

    .sp-signup-cta-star {
        font-size: 24px;
    }

    .sp-signup-cta-text {
        font-size: 13px;
        flex-basis: calc(100% - 50px);
    }

    .sp-signup-cta-btn {
        width: 100%;
        text-align: center;
        padding: 10px 18px;
    }

    /* ── PERSO1: Fav blocks responsive ── */
    .sp-fav-block {
        min-width: 85px;
        padding: 10px 8px;
    }

    .sp-fav-block-img {
        width: 40px;
        height: 40px;
    }

    .sp-fav-block-name {
        font-size: 11px;
    }

    /* ── PERSO1: Intro CTA responsive ── */
    .sp-intro-cta {
        flex-direction: column;
        text-align: center;
    }

    .sp-intro-cta-text {
        text-align: center;
        font-size: 12px;
    }

    .sp-intro-cta-btn {
        width: 100%;
        text-align: center;
    }

    /* ── PERSO1: Settings lock responsive ── */
    .sp-settings-lock {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .sp-settings-lock-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    /* Nav star buttons: inline in mobile dropdown too */
    .sp-header-collapse .sp-nav-sports .sp-fav-star {
        font-size: 14px;
        padding: 2px 6px;
    }

    /* ── Featured grid: keep 3 columns on tablet ── */
    .sp-grid-featured {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 100%;
    }

    .sp-grid-featured .sp-card-title {
        font-size: 12px;
    }

    .sp-grid-featured .sp-card-body {
        padding: 6px 8px;
    }

    .sp-hero {
        /* 16/9 inherited, no max-height — full width always */
    }

    .sp-hero-title {
        font-size: 20px;
    }

    .sp-hero-overlay {
        padding: 20px 16px 16px;
    }

    .sp-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 12px;
    }

    .sp-episode-title {
        font-size: 24px;
    }

    .sp-section-title {
        font-size: 17px;
    }

    .sp-main {
        padding: 16px 12px;
    }

    /* Sport Data responsive — tabs visibles sur mobile */
    .sp-sport-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    .sp-sport-tab {
        padding: 8px 12px;
        font-size: 12px;
    }

    .sp-tab-content {
        padding: 14px 12px;
    }

    /* COMPFIX1: responsive grid fixtures */
    .sp-fixture-card {
        grid-template-columns: 40px 1fr 55px 1fr;
        padding: 8px 10px;
    }

    .sp-fixture-date {
        font-size: 12px;
    }

    .sp-fixture-team {
        font-size: 12px;
        gap: 5px;
    }

    .sp-fixture-score {
        font-size: 14px;
    }

    .sp-fixture-round {
        display: none;
    }

    .sp-rounds-nav {
        gap: 10px;
        padding: 10px 0;
    }

    .sp-round-prev,
    .sp-round-next {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .sp-round-label {
        font-size: 13px;
        min-width: 100px;
    }

    .sp-hide-mobile {
        display: none;
    }

    .sp-standings-table {
        font-size: 12px;
        min-width: 320px;
    }

    .sp-standings-table th,
    .sp-standings-table td {
        padding: 6px 6px;
    }

    .sp-team-logo {
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    .sp-grid {
        grid-template-columns: 1fr;
    }

    /* Featured: keep 3 columns even on small screens */
    .sp-grid-featured {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .sp-grid-featured .sp-card-title {
        font-size: 11px;
    }

    .sp-grid-featured .sp-card-duration {
        font-size: 9px;
        padding: 1px 4px;
    }

    .sp-grid-featured .sp-card-sport {
        font-size: 9px;
    }

    .sp-hero {
        margin-bottom: 20px;
    }

    .sp-list-image {
        display: none;
    }

    /* Sport links responsive */
    .sp-sport-links {
        flex-direction: column;
    }

    .sp-sport-link {
        justify-content: center;
    }

    .sp-sport-links-section {
        padding: 16px;
        margin: 20px 0 24px;
    }
}

/* ======================================================
   COMMENTS SECTION — COMMENTS1
   ====================================================== */
.sp-comments-section {
    margin: 28px 0 32px;
    padding: 24px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg, 12px);
    border-left: 4px solid var(--sp-accent);
}
.sp-comments-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--sp-text-secondary);
    margin-left: 4px;
}

/* -- Formulaire commentaire -- */
.sp-comment-form-wrap {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--sp-border);
}
.sp-comment-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.sp-comment-fields-row .sp-auth-field { margin-bottom: 12px; }
.sp-comment-logged-in {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-text);
}
.sp-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sp-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.sp-comment-textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 300px;
    line-height: 1.5;
}
.sp-comment-charcount {
    text-align: right;
    display: block;
    color: var(--sp-text-secondary);
    font-size: 12px;
    margin-top: 4px;
}
.sp-comment-submit {
    width: auto;
    padding: 10px 28px;
}

/* Honeypot — caché des humains */
.sp-comment-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* -- Liste commentaires -- */
.sp-comments-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sp-comment-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--sp-border);
}
.sp-comment-item:last-child { border-bottom: none; }
.sp-comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.sp-comment-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--sp-text);
}
.sp-comment-registered-badge {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sp-accent);
    margin-left: 2px;
    vertical-align: middle;
}
.sp-comment-date {
    font-size: 12px;
    color: var(--sp-text-muted, var(--sp-text-secondary));
    margin-left: auto;
}
.sp-comment-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--sp-text);
    word-break: break-word;
}
.sp-comment-body a {
    color: var(--sp-accent);
    text-decoration: underline;
}

/* Loading / empty */
.sp-comments-loading {
    text-align: center;
    color: var(--sp-text-secondary);
    padding: 20px 0;
    font-size: 14px;
}
.sp-comments-empty {
    text-align: center;
    color: var(--sp-text-secondary);
    padding: 24px 0;
    font-size: 14px;
}
.sp-comments-load-more { margin-top: 16px; }

/* Pending notice */
.sp-comment-pending {
    background: rgba(255, 193, 7, 0.08);
    border: 1px dashed rgba(255, 193, 7, 0.3);
    border-radius: var(--sp-radius, 8px);
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--sp-text-secondary);
}

/* Light mode */
[data-theme="light"] .sp-comments-section {
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid var(--sp-border);
    border-left: 4px solid var(--sp-accent);
}

/* RTL */
[dir="rtl"] .sp-comment-date { margin-left: 0; margin-right: auto; }
[dir="rtl"] .sp-comments-count { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .sp-comments-section { border-left: none; border-right: 4px solid var(--sp-accent); }

/* Responsive tablet */
@media (max-width: 768px) {
    .sp-comment-fields-row { grid-template-columns: 1fr; }
}
/* Responsive mobile */
@media (max-width: 480px) {
    .sp-comments-section { padding: 16px; margin: 20px 0 24px; }
    .sp-comment-submit { width: 100%; }
}

/* ══════════════════════════════════════════════
   PREMIUM1 — Premium Badge, CTAs, Billing
   ══════════════════════════════════════════════ */

/* ── PRO Badge (header) ── */
.sp-pro-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #f5a623);
    color: #1a1a1a;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    position: absolute;
    top: -4px;
    right: -8px;
    line-height: 1.3;
}
.sp-account-btn { position: relative; }

/* ── Premium CTA (homepage) ── */
.sp-premium-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0;
    cursor: default;
}
.sp-premium-cta-icon {
    font-size: 24px;
    color: #ffd700;
    flex-shrink: 0;
}
.sp-premium-cta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sp-premium-cta-text strong {
    color: #ffd700;
    font-size: 14px;
}
.sp-premium-cta-text small {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}
.sp-premium-cta-btn {
    background: linear-gradient(135deg, #ffd700, #f5a623);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sp-premium-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Light theme */
.sp-light .sp-premium-cta {
    background: linear-gradient(135deg, #f8f4e3 0%, #fff9e6 100%);
    border-color: rgba(245, 166, 35, 0.3);
}
.sp-light .sp-premium-cta-text strong { color: #b8860b; }
.sp-light .sp-premium-cta-text small { color: rgba(0,0,0,0.5); }

/* ── Account Premium Section ── */
.sp-premium-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.sp-light .sp-premium-section {
    border-top-color: rgba(0,0,0,0.1);
}

/* Status badge */
.sp-premium-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}
.sp-premium-status-trial {
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(245,166,35,0.08));
    border: 1px solid rgba(255,215,0,0.3);
}
.sp-premium-status-active {
    background: linear-gradient(135deg, rgba(76,175,80,0.1), rgba(56,142,60,0.08));
    border: 1px solid rgba(76,175,80,0.3);
}
.sp-premium-status-expired {
    background: linear-gradient(135deg, rgba(230,57,70,0.1), rgba(200,40,50,0.08));
    border: 1px solid rgba(230,57,70,0.3);
}
.sp-premium-badge-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.sp-premium-status-trial .sp-premium-badge-icon { color: #ffd700; }
.sp-premium-status-active .sp-premium-badge-icon { color: #4caf50; }
.sp-premium-status-expired .sp-premium-badge-icon { color: #e63946; }
.sp-premium-status-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sp-premium-status-info strong {
    font-size: 14px;
    color: inherit;
}
.sp-premium-status-info span {
    font-size: 12px;
    opacity: 0.7;
}

/* Pricing buttons */
.sp-premium-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.sp-premium-plan-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 12px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.sp-premium-plan-btn:hover {
    border-color: #ffd700;
    background: rgba(255,215,0,0.1);
    transform: translateY(-2px);
}
.sp-premium-plan-btn strong { font-size: 18px; }
.sp-premium-plan-btn small { font-size: 12px; opacity: 0.7; }
.sp-premium-plan-btn small em {
    color: #4caf50;
    font-style: normal;
    font-weight: 700;
}
.sp-premium-plan-yearly {
    border-color: rgba(255,215,0,0.4);
    background: rgba(255,215,0,0.05);
}
.sp-light .sp-premium-plan-btn {
    border-color: rgba(0,0,0,0.15);
    background: rgba(0,0,0,0.02);
}
.sp-light .sp-premium-plan-btn:hover {
    border-color: #b8860b;
    background: rgba(184,134,11,0.08);
}
.sp-light .sp-premium-plan-yearly {
    border-color: rgba(184,134,11,0.4);
    background: rgba(184,134,11,0.05);
}

/* Manage billing */
.sp-premium-manage-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 16px;
}
.sp-premium-manage-btn:hover {
    background: rgba(255,255,255,0.08);
}
.sp-light .sp-premium-manage-btn {
    border-color: rgba(0,0,0,0.2);
}
.sp-light .sp-premium-manage-btn:hover {
    background: rgba(0,0,0,0.05);
}

/* Upsell features list */
.sp-premium-upsell p {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 12px;
}
.sp-premium-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.sp-premium-features-list span {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(76,175,80,0.1);
    color: #4caf50;
    white-space: nowrap;
}
.sp-light .sp-premium-features-list span {
    background: rgba(76,175,80,0.08);
    color: #2e7d32;
}

/* ── Private Feed Section ── */
.sp-premium-feed {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
}
.sp-light .sp-premium-feed {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.1);
}
.sp-premium-feed-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
}
.sp-premium-feed-url-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.sp-premium-feed-url {
    flex: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 11px;
    color: inherit;
    font-family: monospace;
}
.sp-light .sp-premium-feed-url {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.15);
}
.sp-premium-copy-btn {
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.sp-premium-copy-btn:hover { background: #c5303c; }
.sp-premium-copied { background: #4caf50 !important; }
.sp-premium-feed-desc {
    font-size: 11px;
    opacity: 0.6;
    margin: 0;
    line-height: 1.5;
}

/* ── Regenerate Token Button ── */
.sp-premium-regen-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 152, 0, 0.4);
    border-radius: 6px;
    background: rgba(255, 152, 0, 0.1);
    color: #ffb74d;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--sp-font);
    cursor: pointer;
    transition: all var(--sp-transition);
}
.sp-premium-regen-btn:hover {
    background: rgba(255, 152, 0, 0.2);
    border-color: rgba(255, 152, 0, 0.6);
    color: #ffc107;
}
.sp-premium-regen-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.sp-light .sp-premium-regen-btn {
    background: rgba(255, 152, 0, 0.08);
    border-color: rgba(230, 126, 0, 0.35);
    color: #e67e00;
}
.sp-light .sp-premium-regen-btn:hover {
    background: rgba(255, 152, 0, 0.15);
    border-color: rgba(230, 126, 0, 0.5);
    color: #d47200;
}

/* ── Cancel Plan Button ── */
.sp-plan-cancel-btn {
    display: block;
    margin-top: 10px;
    padding: 7px 16px;
    border: 1px solid rgba(244, 67, 54, 0.35);
    border-radius: 6px;
    background: transparent;
    color: #ef9a9a;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--sp-font);
    cursor: pointer;
    transition: all var(--sp-transition);
}
.sp-plan-cancel-btn:hover {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.6);
    color: #f44336;
}
.sp-plan-cancel-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.sp-light .sp-plan-cancel-btn {
    color: #c62828;
    border-color: rgba(244, 67, 54, 0.3);
}
.sp-light .sp-plan-cancel-btn:hover {
    background: rgba(244, 67, 54, 0.08);
    color: #b71c1c;
}
.sp-plan-no-commitment {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.55;
    text-align: center;
}
.sp-plan-cancelled-info {
    display: block;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    color: #ffb74d;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.sp-light .sp-plan-cancelled-info {
    background: rgba(255, 152, 0, 0.06);
    border-color: rgba(255, 152, 0, 0.25);
    color: #e67e00;
}

/* ── Admin Debug Panel (admin only) ── */
.sp-debug-panel {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(156, 39, 176, 0.08);
    border: 1px dashed rgba(156, 39, 176, 0.4);
}
.sp-debug-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.sp-debug-panel-icon {
    font-size: 16px;
    opacity: 0.7;
}
.sp-debug-panel-title {
    font-size: 12px;
    font-weight: 700;
    color: #ce93d8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--sp-font);
}
.sp-debug-panel-status {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(156, 39, 176, 0.15);
    color: #e1bee7;
    font-family: monospace;
}
.sp-debug-panel-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.sp-debug-btn {
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: var(--sp-text);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--sp-font);
    cursor: pointer;
    transition: all var(--sp-transition);
}
.sp-debug-btn:hover { background: rgba(255,255,255,0.12); }
.sp-debug-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.sp-debug-btn-visitor { border-color: rgba(156, 39, 176, 0.5); color: #ce93d8; }
.sp-debug-btn-visitor:hover { background: rgba(156, 39, 176, 0.15); }
.sp-debug-btn-freenium { border-color: rgba(76, 175, 80, 0.5); color: #81c784; }
.sp-debug-btn-freenium:hover { background: rgba(76, 175, 80, 0.15); }
.sp-debug-btn-trial { border-color: rgba(33, 150, 243, 0.5); color: #64b5f6; }
.sp-debug-btn-trial:hover { background: rgba(33, 150, 243, 0.15); }
.sp-debug-btn-premium { border-color: rgba(255, 193, 7, 0.5); color: #ffd54f; }
.sp-debug-btn-premium:hover { background: rgba(255, 193, 7, 0.15); }
.sp-debug-btn-reset { border-color: rgba(244, 67, 54, 0.5); color: #ef9a9a; }
.sp-debug-btn-reset:hover { background: rgba(244, 67, 54, 0.15); }
.sp-light .sp-debug-btn-visitor { color: #7b1fa2; border-color: rgba(156,39,176,0.4); }
.sp-light .sp-debug-panel {
    background: rgba(156, 39, 176, 0.04);
    border-color: rgba(156, 39, 176, 0.3);
}
.sp-light .sp-debug-panel-title { color: #7b1fa2; }
.sp-light .sp-debug-panel-status { background: rgba(156, 39, 176, 0.1); color: #7b1fa2; }
.sp-light .sp-debug-btn { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.12); color: var(--sp-text); }
.sp-light .sp-debug-btn:hover { background: rgba(0,0,0,0.06); }
.sp-light .sp-debug-btn-freenium { color: #2e7d32; border-color: rgba(76,175,80,0.4); }
.sp-light .sp-debug-btn-trial { color: #1565c0; border-color: rgba(33,150,243,0.4); }
.sp-light .sp-debug-btn-premium { color: #f57f17; border-color: rgba(255,193,7,0.4); }
.sp-light .sp-debug-btn-reset { color: #c62828; border-color: rgba(244,67,54,0.4); }

/* ── Responsive Premium ── */
@media (max-width: 480px) {
    .sp-premium-cta {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .sp-premium-pricing { grid-template-columns: 1fr; }
    .sp-premium-feed-url-wrap { flex-direction: column; }
    .sp-premium-features-list { justify-content: center; }
}

/* ══════════════════════════════════════════════
   ARTICLES SEO (ARTICLES1)
   ══════════════════════════════════════════════ */

/* ── Card Article ── */
.sp-card-article {
    display: flex;
    flex-direction: column;
}

.sp-card-article-image {
    position: relative;
}

.sp-card-article-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--sp-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
}

/* ── Breadcrumb ── */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--sp-text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sp-breadcrumb a {
    color: var(--sp-accent);
    text-decoration: none;
}

.sp-breadcrumb a:hover {
    text-decoration: underline;
}

.sp-breadcrumb span {
    color: var(--sp-text-muted);
}

/* ── Article Page Single ── */
.sp-article-seo-page {
    max-width: 800px;
    margin: 0 auto;
}

.sp-article-seo-header {
    margin-bottom: 24px;
}

.sp-article-seo-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.sp-article-seo-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--sp-text-muted);
    flex-wrap: wrap;
}

.sp-article-seo-type {
    background: var(--sp-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
}

/* ── Language switcher ── */
.sp-article-seo-langs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 16px 0;
    font-size: 13px;
}

.sp-article-seo-langs .sp-article-seo-lang {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--sp-text-muted);
    background: var(--sp-bg-surface);
    transition: background var(--sp-transition), color var(--sp-transition);
}

.sp-article-seo-langs .sp-article-seo-lang:hover {
    background: var(--sp-accent);
    color: #fff;
}

.sp-article-seo-langs .sp-article-seo-lang-active {
    background: var(--sp-accent);
    color: #fff;
    cursor: default;
}

/* ── Article Image (SEO: alt = keyword) ── */
.sp-article-seo-image {
    margin: 0 0 32px;
    border-radius: 12px;
    overflow: hidden;
}
.sp-article-seo-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ── Article Body ── */
.sp-article-seo-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--sp-text);
    margin-bottom: 40px;
    max-width: 720px;
}

.sp-article-seo-body h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 16px;
    padding-top: 12px;
    border-top: 2px solid var(--sp-accent);
    color: var(--sp-text);
}

.sp-article-seo-body h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.sp-article-seo-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--sp-text);
}

.sp-article-seo-body p {
    margin-bottom: 18px;
}

.sp-article-seo-body p:last-child {
    margin-bottom: 0;
}

.sp-article-seo-body p strong:first-child {
    color: var(--sp-accent);
}

.sp-article-seo-body ul,
.sp-article-seo-body ol {
    margin: 12px 0 18px 24px;
}

.sp-article-seo-body li {
    margin-bottom: 8px;
}

/* ── CTA Podcast ── */
.sp-article-seo-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--sp-bg-surface);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    padding: 16px 20px;
    margin: 24px 0;
    text-decoration: none;
    color: var(--sp-text);
    transition: border-color var(--sp-transition), transform var(--sp-transition);
}

.sp-article-seo-cta:hover {
    border-color: var(--sp-accent);
    transform: translateY(-1px);
}

.sp-article-seo-cta-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.sp-article-seo-cta-text {
    flex: 1;
}

.sp-article-seo-cta-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.sp-article-seo-cta-text span {
    font-size: 13px;
    color: var(--sp-text-muted);
}

/* ── Sport articles section (sport page) ── */
.sp-sport-articles-section {
    margin-top: 40px;
}

.sp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sp-section-header .sp-section-title {
    margin-bottom: 0;
}

.sp-section-link {
    font-size: 13px;
    color: var(--sp-accent);
    text-decoration: none;
    white-space: nowrap;
}

.sp-section-link:hover {
    text-decoration: underline;
}

/* ── Related articles on episode ── */
.sp-related-articles {
    border-top: 1px solid var(--sp-border);
    padding-top: 24px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .sp-article-seo-title {
        font-size: 22px;
    }

    .sp-article-seo-body {
        font-size: 15px;
        line-height: 1.75;
    }

    .sp-article-seo-body h2 {
        font-size: 19px;
        margin: 28px 0 12px;
    }

    .sp-article-seo-image {
        margin: 0 0 24px;
        border-radius: 8px;
    }

    .sp-article-seo-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .sp-article-seo-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .sp-breadcrumb {
        font-size: 12px;
    }
}

/* ══════════════════════════════════════════════════════════════
   SEO Content Block (below "Load More" on homepage, visitors only)
   ══════════════════════════════════════════════════════════════ */
.sp-seo-content {
    max-width: 800px;
    margin: 40px auto 24px;
    padding: 32px 36px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
    border-left: 4px solid var(--sp-accent);
    font-size: 17px;
    line-height: 1.8;
    color: var(--sp-text);
}
.sp-seo-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 16px;
    padding-top: 12px;
    border-top: 2px solid var(--sp-accent);
    color: var(--sp-text);
    line-height: 1.3;
}
.sp-seo-content h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}
.sp-seo-content p {
    margin: 0 0 18px;
    color: var(--sp-text-secondary);
}
.sp-seo-content p:last-child {
    margin-bottom: 0;
}
.sp-seo-content strong {
    color: var(--sp-text);
    font-weight: 600;
}
[dir="rtl"].sp-seo-content {
    border-left: none;
    border-right: 4px solid var(--sp-accent);
}
@media (max-width: 600px) {
    .sp-seo-content {
        padding: 20px 18px;
        margin: 28px auto 16px;
        font-size: 15px;
    }
    .sp-seo-content h2 {
        font-size: 18px;
        margin: 28px 0 12px;
    }
}
