/* ============================================
   SKEUD.CI - Styles Pages (Article + Admin)
   Palette : Orange Urbain (#FF6B00)
   ============================================ */

/* ============================================
   1. FORCER COULEURS HEADER/FOOTER/TICKER
   ============================================ */
#header-container header { background: #0a0a0a !important; border-bottom-color: rgba(42, 42, 42, 0.3) !important; }
#header-container header a, #header-container header nav a { color: #f5f5f5 !important; }
#header-container header a:hover, #header-container header nav a:hover { color: #FF6B00 !important; }
#header-container header button { color: #f5f5f5 !important; }

#footer-container footer { background: #0a0a0a !important; border-top-color: rgba(42, 42, 42, 0.3) !important; }
#footer-container footer h3, #footer-container footer a { color: #f5f5f5 !important; }
#footer-container footer a:hover { color: #FF6B00 !important; }
#footer-container footer p { color: rgba(245, 245, 245, 0.7) !important; }

#ticker-container { background: #0a0a0a !important; border-bottom-color: rgba(42, 42, 42, 0.3) !important; }

/* ============================================
   2. ARTICLE PAGE BASE (Fond Blanc)
   ============================================ */
.article-page { background: #ffffff; min-height: 100vh; }

/* Breadcrumb */
.article-breadcrumb { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: rgba(26, 26, 26, 0.5); margin-bottom: 2rem; flex-wrap: wrap; padding: 0 0 1.5rem; border-bottom: 1px solid rgba(255, 107, 0, 0.15); }
.article-breadcrumb a { color: rgba(26, 26, 26, 0.6); transition: all 0.3s ease; position: relative; }
.article-breadcrumb a:hover { color: #FF6B00; }
.article-breadcrumb a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: #FF6B00; transition: width 0.3s ease; }
.article-breadcrumb a:hover::after { width: 100%; }
.article-breadcrumb .sep { color: rgba(26, 26, 26, 0.25); }
.article-breadcrumb .current { color: #FF6B00; font-weight: 600; }

/* Article Header */
.article-header { margin-bottom: 2.5rem; }
.article-category { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; background: rgba(255, 107, 0, 0.08); border: 1px solid rgba(255, 107, 0, 0.3); border-radius: 9999px; color: #FF6B00; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.article-category::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.15), transparent); animation: shimmer 3s infinite; }
.article-category::after { content: ''; width: 6px; height: 6px; background: #FF6B00; border-radius: 50%; box-shadow: 0 0 10px rgba(255, 107, 0, 0.5); animation: pulse-glow 2s ease-in-out infinite; }
.article-title { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; line-height: 1.1; margin-bottom: 1rem; color: #0a0a0a; letter-spacing: -0.02em; }
.article-lead { font-size: 1.2rem; line-height: 1.5; color: rgba(26, 26, 26, 0.75); margin-bottom: 1.5rem; font-weight: 400; border-left: 3px solid #FF6B00; padding-left: 1.25rem; }
.article-meta { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid rgba(26, 26, 26, 0.1); border-bottom: 1px solid rgba(26, 26, 26, 0.1); flex-wrap: wrap; }
.article-author { display: flex; align-items: center; gap: 1rem; }
.article-author-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3); }
.article-author-info .name { font-weight: 600; color: #0a0a0a; font-size: 0.95rem; }
.article-author-info .role { font-size: 0.8rem; color: rgba(26, 26, 26, 0.5); }
.article-date, .article-readtime { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: rgba(26, 26, 26, 0.6); }
.article-date svg, .article-readtime svg { width: 18px; height: 18px; color: #FF6B00; stroke-width: 1.5; }

/* Hero Image */
.article-hero { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 1rem; overflow: hidden; margin-bottom: 2.5rem; background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); }
.article-hero .hero-visual { position: absolute; inset: 0; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); }
.article-hero .hero-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, transparent 70%); border-radius: 50%; filter: blur(80px); animation: float-glow 8s ease-in-out infinite; }
.article-hero .hero-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); font-style: italic; }

/* Article Body (Resserré) */
.article-body { 
    font-size: 1.05rem; 
    line-height: 1.6; 
    color: #2a2a2a; 
    display: flow-root;
}
.article-body p { margin-bottom: 1.25rem; }
.article-body h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.65rem; font-weight: 700; margin: 2rem 0 1rem; color: #0a0a0a; position: relative; padding-left: 1.25rem; border-left: 4px solid #FF6B00; }
.article-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; margin: 1.75rem 0 0.75rem; color: #0a0a0a; }
.article-body strong { color: #0a0a0a; font-weight: 700; }
.article-body em { color: #FF6B00; font-style: italic; font-weight: 500; }

/* Pull Quote */
.article-pullquote { margin: 2rem 0; padding: 1.75rem; background: linear-gradient(135deg, #FFF7F0 0%, #FFF 100%); border-left: 4px solid #FF6B00; border-radius: 0 0.75rem 0.75rem 0; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(255, 107, 0, 0.08); }
.article-pullquote::before { content: '"'; position: absolute; top: -1rem; left: 1.5rem; font-size: 8rem; color: rgba(255, 107, 0, 0.15); font-family: 'Space Grotesk', sans-serif; line-height: 1; }
.article-pullquote p { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 600; line-height: 1.35; color: #0a0a0a; margin: 0; font-style: italic; position: relative; z-index: 1; }
.article-pullquote cite { display: block; margin-top: 1.25rem; font-size: 0.9rem; color: #FF6B00; font-style: normal; font-weight: 600; position: relative; z-index: 1; }

/* Inline Image */
.article-image { margin: 2rem 0; border-radius: 1rem; overflow: hidden; position: relative; border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.article-image .img-visual { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); position: relative; }
.article-image .img-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 70%); }
.article-image figcaption { padding: 1rem 1.5rem; background: #fafafa; font-size: 0.85rem; color: rgba(26, 26, 26, 0.6); font-style: italic; border-top: 1px solid rgba(0, 0, 0, 0.05); }

/* Tags & Share */
.article-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2.5rem 0; padding-top: 2rem; border-top: 1px solid rgba(26, 26, 26, 0.1); }
.article-tags .tag-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #FF6B00; margin-right: 0.5rem; align-self: center; }
.article-tags .tag { padding: 0.5rem 1.25rem; background: rgba(255, 107, 0, 0.06); border: 1px solid rgba(255, 107, 0, 0.25); border-radius: 9999px; font-size: 0.8rem; color: #2a2a2a; transition: all 0.3s ease; cursor: pointer; }
.article-tags .tag:hover { background: #FF6B00; color: #fff; border-color: #FF6B00; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3); }

.article-share { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; padding: 1.5rem; background: #fafafa; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 1rem; }
.article-share .share-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #FF6B00; margin-right: 0.5rem; }
.article-share button { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(0, 0, 0, 0.1); color: #2a2a2a; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.article-share button:hover { background: #FF6B00; color: #fff; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4); border-color: #FF6B00; }
.article-share button svg { width: 20px; height: 20px; }

/* Author Box */
.author-box { margin: 3rem 0; padding: 2rem; background: #fafafa; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 1.25rem; display: flex; gap: 2rem; align-items: flex-start; position: relative; overflow: hidden; }
.author-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #FF6B00, #FF8533); }
.author-box-avatar { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 1.75rem; flex-shrink: 0; box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3); }
.author-box-content .author-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: #0a0a0a; margin-bottom: 0.25rem; }
.author-box-content .author-role { font-size: 0.9rem; color: #FF6B00; margin-bottom: 1rem; font-weight: 600; }
.author-box-content .author-bio { font-size: 1rem; line-height: 1.6; color: rgba(26, 26, 26, 0.7); margin-bottom: 1.25rem; }
.author-box-content .author-social { display: flex; gap: 0.75rem; }
.author-box-content .author-social a { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(0, 0, 0, 0.1); display: flex; align-items: center; justify-content: center; color: #2a2a2a; transition: all 0.3s ease; }
.author-box-content .author-social a:hover { background: #FF6B00; color: #fff; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4); border-color: #FF6B00; }
.author-box-content .author-social a svg { width: 16px; height: 16px; }

/* Comments Section */
.comments-section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(26, 26, 26, 0.1); }
.comments-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.75rem; font-weight: 700; margin-bottom: 2rem; color: #0a0a0a; display: flex; align-items: center; gap: 0.75rem; }
.comments-title::before { content: ''; width: 4px; height: 28px; background: #FF6B00; border-radius: 2px; }
.comments-count { font-size: 1rem; color: rgba(26, 26, 26, 0.4); font-weight: 400; }
.comment-form { margin-bottom: 2.5rem; padding: 2rem; background: #fafafa; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 1rem; }
.comment-form-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; color: #0a0a0a; margin-bottom: 1.5rem; }
.comment-form textarea { width: 100%; min-height: 120px; padding: 1rem; background: #fff; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0.75rem; color: #0a0a0a; font-size: 0.95rem; line-height: 1.6; resize: vertical; margin-bottom: 1rem; transition: all 0.3s ease; font-family: 'Inter', sans-serif; }
.comment-form textarea:focus { outline: none; border-color: #FF6B00; box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1); }
.comment-form textarea::placeholder { color: rgba(26, 26, 26, 0.4); }
.comment-form-actions { display: flex; justify-content: space-between; align-items: center; }
.comment-form-hint { font-size: 0.8rem; color: rgba(26, 26, 26, 0.5); }
.comment-form button { padding: 0.875rem 2rem; background: #FF6B00; color: #fff; border: none; border-radius: 9999px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; }
.comment-form button:hover { background: #E55A00; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4); }

.comment-list { display: flex; flex-direction: column; gap: 1.5rem; }
.comment-item { padding: 1.75rem; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 1rem; transition: all 0.3s ease; }
.comment-item:hover { border-color: rgba(255, 107, 0, 0.3); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
.comment-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.comment-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 1rem; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3); }
.comment-meta { flex: 1; }
.comment-author { font-weight: 600; color: #0a0a0a; font-size: 0.95rem; }
.comment-date { font-size: 0.8rem; color: rgba(26, 26, 26, 0.5); }
.comment-actions { display: flex; gap: 1rem; }
.comment-actions button { font-size: 0.8rem; color: rgba(26, 26, 26, 0.5); background: none; border: none; cursor: pointer; transition: color 0.3s ease; display: flex; align-items: center; gap: 0.375rem; }
.comment-actions button:hover { color: #FF6B00; }
.comment-actions button svg { width: 16px; height: 16px; }
.comment-content { color: #2a2a2a; line-height: 1.7; font-size: 0.95rem; }

/* Related Articles */
.related-section { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid rgba(26, 26, 26, 0.1); }
.related-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; color: #0a0a0a; display: flex; align-items: center; gap: 0.75rem; }
.related-title::before { content: ''; width: 4px; height: 28px; background: #FF6B00; border-radius: 2px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.related-card { position: relative; border-radius: 1rem; overflow: hidden; background: #fafafa; border: 1px solid rgba(0, 0, 0, 0.08); transition: all 0.3s ease; cursor: pointer; display: flex; flex-direction: row; min-height: 150px; }
.related-card:hover { border-color: rgba(255, 107, 0, 0.4); transform: translateX(6px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); }
.related-card .rc-image { position: relative; width: 40%; min-height: 100%; overflow: hidden; flex-shrink: 0; }
.related-card .rc-visual { position: absolute; inset: 0; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); }
.related-card .rc-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent 0%, rgba(10, 10, 10, 0.8) 100%); }
.related-card .rc-content { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.related-card .rc-category { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #FF6B00; margin-bottom: 0.5rem; }
.related-card .rc-category::before { content: '● '; font-size: 0.4rem; }
.related-card .rc-title { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.3; color: #0a0a0a; transition: color 0.3s ease; }
.related-card:hover .rc-title { color: #FF6B00; }

/* Inline Ad (Habillage) */
.inline-ad { float: right; margin: 0 0 2rem 2.5rem; padding: 1.5rem; background: #fafafa; border: 1px dashed rgba(0, 0, 0, 0.15); border-radius: 1rem; text-align: center; width: 320px; shape-outside: margin-box; clear: right; }
.inline-ad .ad-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(26, 26, 26, 0.4); margin-bottom: 1rem; }
.inline-ad .ad-slot { width: 100%; max-width: 300px; height: 250px; margin: 0 auto; background: #fff; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; color: rgba(26, 26, 26, 0.4); font-size: 0.9rem; border: 1px solid rgba(0, 0, 0, 0.08); }
.article-body::after { content: ''; display: table; clear: both; }

/* Responsive Article */
@media (max-width: 1024px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .inline-ad { float: none; margin: 2rem auto; width: 100%; max-width: 320px; }
}
@media (max-width: 640px) {
    .related-grid { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; text-align: center; }
    .author-box-content .author-social { justify-content: center; }
    .article-meta { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .article-title { font-size: 2.25rem; }
}

/* ============================================
   3. ADMIN PANEL - SKEUD.CI
   ============================================ */

/* Scrollbar sophistiquée */
.admin-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.admin-scrollbar::-webkit-scrollbar-track { background: #1a1a1a; }
.admin-scrollbar::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
.admin-scrollbar::-webkit-scrollbar-thumb:hover { background: #FF6B00; }

/* Glassmorphism sidebar */
.sidebar-glass {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effects */
.glow-accent { box-shadow: 0 0 40px rgba(255,107,0,0.15); }
.glow-accent-sm { box-shadow: 0 0 20px rgba(255,107,0,0.1); }

/* Card hover */
.card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.card-hover:hover {
    transform: translateY(-2px);
    border-color: rgba(255,107,0,0.3);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}

/* Nav item */
.nav-item {
    position: relative;
    transition: all 0.2s ease;
}
.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #FF6B00;
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}
.nav-item:hover::before, .nav-item.active::before { height: 60%; }
.nav-item.active {
    background: rgba(255,107,0,0.08);
    color: #FF6B00;
}

/* Quill Editor custom */
.ql-toolbar.ql-snow {
    background-color: #141414;
    border: 1px solid rgba(255,255,255,0.06);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px;
}
.ql-container.ql-snow {
    background-color: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0 0 8px 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #f5f5f5;
    min-height: 300px;
}
.ql-snow .ql-stroke { stroke: rgba(245,245,245,0.7); }
.ql-snow .ql-fill { fill: rgba(245,245,245,0.7); }
.ql-snow .ql-picker { color: rgba(245,245,245,0.7); }
.ql-snow .ql-picker-options { background-color: #1a1a1a; border: 1px solid rgba(255,255,255,0.1); }
.ql-snow button:hover .ql-stroke, .ql-snow .ql-picker-label:hover .ql-stroke { stroke: #FF6B00; }
.ql-snow button:hover .ql-fill, .ql-snow .ql-picker-label:hover .ql-fill { fill: #FF6B00; }
.ql-editor h1 { font-family: 'Space Grotesk'; font-size: 1.75rem; font-weight: 700; color: #FF6B00; margin-bottom: 1rem; }
.ql-editor h2 { font-family: 'Space Grotesk'; font-size: 1.4rem; font-weight: 700; color: #f5f5f5; margin: 1.5rem 0 0.75rem; border-left: 3px solid #FF6B00; padding-left: 0.75rem; }
.ql-editor h3 { font-family: 'Space Grotesk'; font-size: 1.2rem; font-weight: 600; color: #f5f5f5; margin: 1.25rem 0 0.5rem; }
.ql-editor blockquote { border-left: 4px solid #FF6B00; background: rgba(255,107,0,0.05); padding: 1rem; font-style: italic; border-radius: 0 8px 8px 0; }

/* Toggle switch */
.toggle-switch { position: relative; width: 44px; height: 24px; display: inline-block; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: #2a2a2a; border-radius: 24px;
    transition: 0.3s;
}
.toggle-slider::before {
    content: ''; position: absolute; height: 18px; width: 18px;
    left: 3px; bottom: 3px; background: white;
    border-radius: 50%; transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: #FF6B00; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Toast */
.toast {
    position: fixed; bottom: 24px; right: 24px; z-index: 100;
    background: #1a1a1a; border: 1px solid rgba(255,107,0,0.3);
    border-radius: 12px; padding: 16px 20px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; align-items: center; gap: 12px;
    min-width: 300px;
}

/* Tab indicator */
.tab-btn { position: relative; }
.tab-btn.active::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 2px; background: #FF6B00; border-radius: 2px;
}

/* Stat card gradients */
.stat-gradient-1 { background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, rgba(255,107,0,0.02) 100%); }
.stat-gradient-2 { background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(59,130,246,0.02) 100%); }
.stat-gradient-3 { background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.02) 100%); }
.stat-gradient-4 { background: linear-gradient(135deg, rgba(168,85,247,0.1) 0%, rgba(168,85,247,0.02) 100%); }

/* Empty state animation */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-anim { animation: float 3s ease-in-out infinite; }

/* Stagger animation for list items */
.stagger-item { opacity: 0; animation: slideUp 0.4s ease-out forwards; }
.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.15s; }
.stagger-item:nth-child(4) { animation-delay: 0.2s; }
.stagger-item:nth-child(5) { animation-delay: 0.25s; }

/* ============================================
   4. PAGES.CSS - Styles spécifiques (Article, etc.)
   ============================================ */

/* --- ARTICLE PAGE : TYPOGRAPHIE & ESPACEMENTS PROFESSIONNELS --- */
.article-body h2 { margin-top: 1.25rem; margin-bottom: 0.5rem; line-height: 1.25; }
.article-body h3 { margin-top: 1rem; margin-bottom: 0.375rem; line-height: 1.3; }
.article-body p { margin-bottom: 0.875rem; line-height: 1.6; }
.article-body blockquote { margin: 1.25rem 0; }
.article-body figure { margin: 1.25rem 0; }
.section-spacing { margin-top: 1.5rem; margin-bottom: 1.5rem; }

/* --- SIDEBAR & BLOC INLINE (LES PLUS LUS) --- */
.sidebar-highlight {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.25rem;
}
.most-read-item { display: flex; gap: 0.75rem; padding: 0.625rem 0; border-bottom: 1px solid #e5e5e5; transition: all 0.2s ease; }
.most-read-item:last-child { border-bottom: none; }
.most-read-item:hover { transform: translateX(4px); }
.most-read-item .mr-image { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); }
.most-read-item .mr-image img { width: 100%; height: 100%; object-fit: cover; }
.most-read-item .mr-content { flex: 1; min-width: 0; }
.most-read-item .mr-category { font-size: 0.625rem; font-weight: 700; color: #FF6B00; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.1875rem; }
.most-read-item .mr-title { font-size: 0.8125rem; font-weight: 600; color: #1a1a1a; line-height: 1.25; margin-bottom: 0.1875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.most-read-item .mr-title:hover { color: #FF6B00; }
.most-read-item .mr-author { font-size: 0.6875rem; color: #6b7280; }

/* --- FLOAT POUR LE BLOC INLINE DANS L'ARTICLE (TEXTE COULÉ) --- */
.inline-sidebar { float: right; margin-left: 1.5rem; margin-bottom: 1.25rem; width: 300px; clear: none; }
@media (max-width: 1024px) {
    .inline-sidebar { float: none; margin-left: 0; width: 100%; clear: both; }
}

/* Clearfix pour le contenu après le float */
.article-body::after { content: ""; display: table; clear: both; }

/* Supprimer les espaces vides créés par Quill */
.article-body p:empty, .article-body p br:only-child { display: none; margin: 0; padding: 0; height: 0; }
.article-body p + p { margin-top: 0.5rem; }
.article-body h2 { margin-top: 1.5rem !important; margin-bottom: 0.5rem !important; }
.article-body h3 { margin-top: 1.25rem !important; margin-bottom: 0.375rem !important; }
.article-body blockquote + p { margin-top: 0.75rem; }
.article-body figure + p { margin-top: 0.75rem; }
.article-body br + br { display: none; }

/* Contrôles de taille de texte premium */
.text-size-control { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem; background: rgba(255, 107, 0, 0.1); border: 1px solid rgba(255, 107, 0, 0.2); border-radius: 9999px; transition: all 0.3s ease; }
.text-size-control:hover { background: rgba(255, 107, 0, 0.15); border-color: rgba(255, 107, 0, 0.3); }
.text-size-btn { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: white; border: 1px solid #e5e5e5; color: #FF6B00; font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: all 0.2s ease; user-select: none; }
.text-size-btn:hover { background: #FF6B00; color: white; border-color: #FF6B00; transform: scale(1.05); }
.text-size-btn:active { transform: scale(0.95); }
.text-size-label { font-size: 0.75rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }

/* ✅ Espacement pour les métadonnées des petites images (Musique) */
.mag-side .mag-item > div[class*="flex"][class*="gap-2"] { margin-top: 0.50rem !important; margin-bottom: 0.15rem !important; }
.mag-featured .mag-item > div[class*="flex"][class*="gap-2"] { margin-top: 0 !important; }

/* ============================================
   🎬 EMBEDS — HABILLAGE DU TEXTE (VERSION FINALE)
   ============================================ */

/* Le wrapper gère le float et la largeur globale */
.article-body .embed-wrapper {
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    margin: 1rem 0;
}

/* ✅ AGRANDI : Embed flottant à gauche */
.article-body .embed-float-left {
    float: left;
    width: 48%;
    max-width: 600px;
    margin: 0 2rem 1rem 0;
}

/* ✅ AGRANDI : Embed flottant à droite */
.article-body .embed-float-right {
    float: right;
    width: 48%;
    max-width: 600px;
    margin: 0 0 1rem 2rem;
}

/* Embed centré */
.article-body .embed-centered {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem auto;
    clear: both;
}

/* ============================================
   🎬 SKEUD TV PLAYER — Lecteur vidéo personnalisé (v2 - #356476)
   ============================================ */

.skeud-tv-player {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(53, 100, 118, 0.3);
}

/* Loader avec animation du logo */
.skeud-tv-loader {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.5s ease;
}

.skeud-tv-logo-anim {
    width: 80px;
    height: 80px;
    animation: skeudLogoPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(53, 100, 118, 0.6));
    object-fit: contain;
}

@keyframes skeudLogoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.skeud-tv-loading-text {
    margin-top: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #356476;
    letter-spacing: 0.1em;
    animation: skeudTextFade 1.5s ease-in-out infinite;
}

@keyframes skeudTextFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Conteneur principal */
.skeud-tv-container {
    position: relative;
    width: 100%;
}

/* Wrapper vidéo */
.skeud-tv-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

/* Poster (thumbnail) */
.skeud-tv-poster {
    position: absolute;
    inset: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

.skeud-tv-poster:hover {
    transform: scale(1.02);
}

.skeud-tv-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay de lecture */
.skeud-tv-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.skeud-tv-poster:hover .skeud-tv-play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.skeud-tv-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(53, 100, 118, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(53, 100, 118, 0.5);
}

.skeud-tv-play-btn svg {
    width: 40px;
    height: 40px;
    fill: white;
    margin-left: 5px;
}

.skeud-tv-poster:hover .skeud-tv-play-btn {
    transform: scale(1.1);
    background: #356476;
}

/* Iframe YouTube */
.skeud-tv-iframe-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.skeud-tv-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Barre d'info en bas */
.skeud-tv-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 100%);
    border-top: 1px solid rgba(53, 100, 118, 0.3);
}

.skeud-tv-info-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skeud-tv-info-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.skeud-tv-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.skeud-tv-info-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #356476;
}

.skeud-tv-info-views {
    font-size: 0.8rem;
    color: rgba(245, 245, 245, 0.6);
}

.skeud-tv-info-right {
    display: flex;
    gap: 0.75rem;
}

.skeud-tv-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(53, 100, 118, 0.2);
    border: 2px solid rgba(53, 100, 118, 0.5);
    border-radius: 10px;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.skeud-tv-action-btn:hover {
    background: rgba(53, 100, 118, 0.4);
    border-color: #356476;
    transform: translateY(-2px);
}

.skeud-tv-action-btn.active {
    background: white;
    border-color: white;
    color: #356476;
}

.skeud-tv-action-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.skeud-tv-action-count {
    color: white;
    font-weight: 700;
}

/* Posts réseaux sociaux cliquables */
.social-post-link {
    display: block;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
}

.social-post-link:hover {
    transform: scale(1.02);
}

.social-post-link::after {
    content: '🔗 Voir le post original';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 107, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.social-post-link:hover::after {
    opacity: 1;
}

/* ✅ CORRECTION ESPACE BLANC APRÈS LES EMBEDS FLOTTÉS */
.article-body .embed-wrapper {
    margin-bottom: 1.5rem;
    clear: both;
}

.article-body .embed-float-left {
    float: left;
    margin: 0 1.5rem 1rem 0;
    max-width: 45%;
    width: 100%;
}

.article-body .embed-float-right {
    float: right;
    margin: 0 0 1rem 1.5rem;
    max-width: 45%;
    width: 100%;
}

/* Force le contenu après l'embed à passer en dessous */
.article-body::after {
    content: "";
    display: table;
    clear: both;
}

/* Supprime tout espace résiduel */
.article-body .native-post-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Pour les iframes Facebook/TikTok/Instagram */
.article-body .native-post-wrapper iframe,
.article-body .native-post-wrapper blockquote {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

/* ============================================
   📱 POSTS NATIFS (Facebook, Instagram, X, TikTok)
   ============================================ */

/* Conteneur pour les posts natifs */
.article-body .native-post-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    padding: 0;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

.article-body .embed-float-left .native-post-wrapper,
.article-body .embed-float-right .native-post-wrapper {
    max-width: 100%;
    margin: 0;
}

/* Facebook post */
.article-body .fb-post,
.article-body .fb-video {
    max-width: 100% !important;
    margin: 0 !important;
}

/* Instagram post */
.article-body .instagram-media {
    max-width: 100% !important;
    min-width: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Twitter/X post */
.article-body .twitter-tweet {
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* TikTok post */
.article-body .tiktok-embed {
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* ============================================
   CAS SPÉCIAUX — RATIOS DIFFÉRENTS
   ============================================ */

.article-body .embed-wrapper .video-container.tiktok,
.article-body .embed-wrapper .video-container.instagram {
    padding-bottom: 177.77%;
    max-width: 400px;
    margin: 0 auto;
}

.article-body .embed-wrapper .video-container.twitter {
    padding-bottom: 0;
    height: auto;
    background: transparent;
}
.article-body .embed-wrapper .video-container.twitter iframe {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 300px;
}

.article-body .embed-wrapper .video-container.spotify {
    padding-bottom: 0;
    height: 152px;
}
.article-body .embed-wrapper .video-container.spotify iframe {
    position: relative;
    width: 100%;
    height: 100%;
}

.article-body .embed-wrapper .video-container.soundcloud {
    padding-bottom: 0;
    height: 166px;
}
.article-body .embed-wrapper .video-container.soundcloud iframe {
    position: relative;
    width: 100%;
    height: 100%;
}

/* MOBILE — TOUS LES EMBEDS PLEINE LARGEUR */
@media (max-width: 768px) {
    .article-body .embed-float-left,
    .article-body .embed-float-right {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 1.5rem auto;
    }
    
    .skeud-tv-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .skeud-tv-info-right {
        width: 100%;
        justify-content: flex-end;
    }
    
    .skeud-tv-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .skeud-tv-play-btn svg {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   PALETTE SKEUD ÉTENDUE (Gradients & Glows)
   ============================================ */
.gradient-orange { background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%); }
.gradient-teal { background: linear-gradient(135deg, #1f657a 0%, #2a7d96 100%); }
.gradient-yellow { background: linear-gradient(135deg, #fed10c 0%, #ffe04d 100%); }
.gradient-brand { background: linear-gradient(135deg, #FF6B00 0%, #fed10c 50%, #1f657a 100%); }

.glow-orange { box-shadow: 0 0 30px rgba(255,107,0,0.3); }
.glow-teal { box-shadow: 0 0 30px rgba(31,101,122,0.3); }
.glow-yellow { box-shadow: 0 0 30px rgba(254,209,12,0.3); }

.bg-orange-tint { background: rgba(255,107,0,0.1); }
.bg-teal-tint { background: rgba(31,101,122,0.1); }
.bg-yellow-tint { background: rgba(254,209,12,0.1); }

.text-teal { color: #1f657a; }
.text-yellow { color: #fed10c; }

.border-teal { border-color: #1f657a; }
.border-yellow { border-color: #fed10c; }

.stat-gradient-orange { background: linear-gradient(135deg, rgba(255,107,0,0.12) 0%, rgba(255,107,0,0.02) 100%); }
.stat-gradient-teal { background: linear-gradient(135deg, rgba(31,101,122,0.15) 0%, rgba(31,101,122,0.02) 100%); }
.stat-gradient-yellow { background: linear-gradient(135deg, rgba(254,209,12,0.12) 0%, rgba(254,209,12,0.02) 100%); }

/* ============================================
   5. KEYFRAMES GLOBAUX
   ============================================ */
@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }
@keyframes pulse-glow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
@keyframes float-glow { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes slideUp { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { 0% { transform: translateX(100%); } 100% { transform: translateX(0); } }
@keyframes scaleIn { 0% { opacity: 0; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 20px rgba(255,107,0,0.3); } 50% { box-shadow: 0 0 40px rgba(255,107,0,0.6); } }
@keyframes countUp { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }

/* Animations utilitaires */
.animate-fade-in { animation: fadeIn 0.3s ease-out; }
.animate-slide-up { animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-slide-in-right { animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-scale-in { animation: scaleIn 0.2s ease-out; }
.animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }
.animate-count-up { animation: countUp 1s ease-out; }
/* ============================================================
   🎬 SKEUD EMBED v1 — Lecteur maison + posts natifs
   (ajout — fonctionne avec assets/js/skeud-embed.js)
   Couleur du lecteur : modifiez --sktv-accent ci-dessous
   ============================================================ */
.sktv, .sk-social { --sktv-accent: #356476; --sktv-accent-2: #4a8ba3; }

/* Bloc avant chargement du script */
.skeud-embed { position: relative; display: block; max-width: 100%; }
.skeud-embed:not([data-skeud-ready]) { background: #0a0a0a; border-radius: 12px; overflow: hidden; color: #fff; text-align: center; }
.skeud-embed:not([data-skeud-ready]) img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .6; }
.skeud-embed:not([data-skeud-ready]) a { display: block; padding: .75rem 1rem; color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; }

/* --- Lecteur --- */
.sktv { position: relative; width: 100%; margin: 1.5rem 0; border-radius: 12px; overflow: hidden; background: #0a0a0a; box-shadow: 0 10px 40px rgba(0,0,0,.3); border: 1px solid rgba(53,100,118,.3); font-family: 'Inter', sans-serif; line-height: 1.2; }
.embed-wrapper .sktv { margin: 0; }
.sktv-stage { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; outline: none; color: #fff; user-select: none; -webkit-user-select: none; }
.sktv-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--sktv-accent-2); }
.sktv--fill { position: absolute; inset: 0; margin: 0; border: 0; border-radius: inherit; box-shadow: none; }
.sktv--fill .sktv-stage { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }

/* Vidéo : l'iframe dépasse en haut et en bas, seule l'image reste visible */
.sktv-video, .sktv-ad-media { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; aspect-ratio: 16/9; max-height: 100%; overflow: hidden; background: #000; }
.sktv-video iframe, .sktv-ad-media iframe { position: absolute; left: 0; top: -100%; width: 100%; height: 300%; border: 0; pointer-events: none; }
.sktv-ad-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.sktv-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; }

.sktv-poster, .sktv-end, .sktv-error, .sktv-ad, .sktv-intro { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.sktv-poster { z-index: 3; cursor: pointer; background: #000; }
.sktv-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sktv-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15) 45%, rgba(0,0,0,.25)); }
.sktv:not(.sktv--started) .sktv-poster { opacity: 1; visibility: visible; }

/* Bouton lecture central */
.sktv-bigplay { position: absolute; z-index: 5; top: 50%; left: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border: 0; border-radius: 50%; background: var(--sktv-accent); color: #fff; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 40px rgba(53,100,118,.5); transition: transform .25s ease, background .25s ease; }
.sktv-bigplay svg { width: 40px; height: 40px; margin-left: 5px; }
.sktv-bigplay:hover { transform: scale(1.1); background: var(--sktv-accent-2); }
.sktv[data-state="idle"] .sktv-bigplay, .sktv[data-state="paused"] .sktv-bigplay { display: flex; }
.sktv[data-state="paused"] .sktv-shield { background: rgba(0,0,0,.35); }

/* Chargement */
.sktv-spinner { position: absolute; z-index: 4; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: sktvSpin .8s linear infinite; display: none; pointer-events: none; }
.sktv[data-state="loading"] .sktv-spinner { display: block; }
@keyframes sktvSpin { to { transform: rotate(360deg); } }

/* Effet logo avant la lecture */
.sktv-intro { z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; background: radial-gradient(circle at 50% 45%, #16262d 0%, #0a0a0a 70%); }
.sktv[data-state="intro"] .sktv-intro { opacity: 1; visibility: visible; }
.sktv-intro-logo { position: relative; width: 22%; max-width: 120px; min-width: 64px; }
.sktv-intro-logo img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 0 22px rgba(74,139,163,.7)); }
.sktv-intro-logo::after { content: ''; position: absolute; inset: -18%; border-radius: 50%; border: 2px solid var(--sktv-accent-2); opacity: 0; }
.sktv-intro-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(.8rem, 2.2vw, 1.15rem); letter-spacing: .32em; text-indent: .32em; color: #fff; opacity: 0; }
.sktv[data-state="intro"] .sktv-intro-logo img { animation: sktvLogoIn 1.1s cubic-bezier(.2,.9,.25,1.15) both; }
.sktv[data-state="intro"] .sktv-intro-logo::after { animation: sktvRing 1.4s ease-out .35s both; }
.sktv[data-state="intro"] .sktv-intro-brand { animation: sktvBrandIn .7s ease-out .55s both; }
@keyframes sktvLogoIn { 0% { opacity: 0; transform: scale(.35) rotate(-12deg); filter: blur(10px); } 60% { opacity: 1; filter: blur(0) drop-shadow(0 0 22px rgba(74,139,163,.7)); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes sktvRing { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes sktvBrandIn { 0% { opacity: 0; transform: translateY(8px); letter-spacing: .6em; } 100% { opacity: .9; transform: none; letter-spacing: .32em; } }

/* Écran de fin (remplace les suggestions) */
.sktv-end { z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; background: radial-gradient(circle at 50% 45%, #16262d 0%, #0a0a0a 75%); }
.sktv[data-state="ended"] .sktv-end { opacity: 1; visibility: visible; }
.sktv-end-logo img { display: block; width: 72px; height: 72px; object-fit: contain; }
.sktv-replay { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.3rem; border: 2px solid var(--sktv-accent-2); border-radius: 9999px; background: rgba(53,100,118,.25); color: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .25s ease; }
.sktv-replay:hover { background: var(--sktv-accent); }
.sktv-replay svg { width: 18px; height: 18px; }

/* Vidéo indisponible */
.sktv-error { z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1rem; text-align: center; background: #0a0a0a; }
.sktv[data-state="error"] .sktv-error { opacity: 1; visibility: visible; }
.sktv-error p { margin: 0 !important; color: rgba(255,255,255,.8); font-size: .95rem; }
.sktv-error a { padding: .55rem 1.2rem; border-radius: 9999px; background: var(--sktv-accent); color: #fff !important; font-weight: 700; font-size: .85rem; text-decoration: none; }

/* Publicité avant la vidéo */
.sktv-ad { z-index: 7; background: #000; }
.sktv[data-state="ad"] .sktv-ad { opacity: 1; visibility: visible; }
.sktv-ad-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: .3rem .65rem; border-radius: 6px; background: rgba(0,0,0,.7); color: #fed10c; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sktv-ad-cta { position: absolute; top: 12px; right: 12px; z-index: 2; padding: .4rem .85rem; border-radius: 9999px; background: #fff; color: #0a0a0a !important; font-size: .78rem; font-weight: 700; text-decoration: none; }
.sktv-ad-skip { position: absolute; right: 0; bottom: 26px; z-index: 2; min-width: 150px; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.35); border-right: 0; border-radius: 8px 0 0 8px; background: rgba(0,0,0,.75); color: #fff; font-size: .82rem; font-weight: 600; cursor: pointer; }
.sktv-ad-skip:disabled { color: rgba(255,255,255,.65); cursor: default; }
.sktv-ad-skip:not(:disabled):hover { background: #000; border-color: #fff; }
.sktv-ad-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 4px; background: rgba(255,255,255,.25); }
.sktv-ad-bar i { display: block; height: 100%; width: 0; background: #fed10c; transition: width .2s linear; }

/* Activer le son (lecture démarrée en muet sur mobile) */
.sktv-unmute { position: absolute; z-index: 10; top: 12px; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: .45rem; padding: .5rem 1rem; border: 0; border-radius: 9999px; background: #fff; color: #0a0a0a; font-size: .8rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.sktv-unmute svg { width: 16px; height: 16px; }
.sktv--needsound .sktv-unmute { display: inline-flex; }

/* Barre de contrôle — logo au centre */
.sktv-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 1.75rem .75rem .5rem; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.sktv--started.sktv--ui[data-state="playing"] .sktv-controls,
.sktv--started[data-state="paused"] .sktv-controls,
.sktv--started[data-state="loading"] .sktv-controls { opacity: 1; transform: none; pointer-events: auto; }
.sktv[data-state="playing"]:not(.sktv--ui) .sktv-shield { cursor: none; }
.sktv-progress { display: flex; align-items: center; height: 16px; }
.sktv-progress input, .sktv-volume { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 0; padding: 0; border: 0; border-radius: 4px; outline-offset: 4px; cursor: pointer; background: linear-gradient(to right, var(--sktv-accent-2) var(--p, 0%), rgba(255,255,255,.3) var(--p, 0%)); transition: height .15s ease; }
.sktv-progress:hover input { height: 6px; }
.sktv-progress input::-webkit-slider-thumb, .sktv-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 3px rgba(74,139,163,.45); }
.sktv-progress input::-moz-range-thumb, .sktv-volume::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.sktv-volume { width: 70px; background: rgba(255,255,255,.45); }
.sktv-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; margin-top: .15rem; }
.sktv-left, .sktv-right { display: flex; align-items: center; gap: .35rem; min-width: 0; }
.sktv-right { justify-content: flex-end; }
.sktv-center { display: flex; justify-content: center; }
.sktv-logo { display: block; height: 28px; width: auto; max-width: 110px; object-fit: contain; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.sktv-btn { width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; transition: background .2s ease; }
.sktv-btn:hover { background: rgba(255,255,255,.16); }
.sktv-btn svg { width: 22px; height: 22px; }
.sktv-time { font-size: .78rem; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.9); white-space: nowrap; }

/* Plein écran */
.sktv-stage:fullscreen, .sktv-stage:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; }
.sktv-stage.sktv-pseudo-fs { position: fixed; inset: 0; z-index: 99999; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; }
.sktv-is-fs .sktv-video, .sktv-is-fs .sktv-ad-media { width: min(100%, calc(100vh * 16 / 9)); }
.sktv-is-fs .sktv-logo { height: 36px; }

/* Barre J'aime sous le lecteur */
.sktv-bar { padding: .6rem 1rem; }
.sktv-bar .skeud-tv-action-btn { padding: .4rem .85rem; }
.sktv-bar .skeud-tv-action-btn.active svg { stroke: #356476; }
.sktv-bar .skeud-tv-action-btn.active .skeud-tv-action-count { color: #356476; }

/* --- Posts natifs : Facebook, Instagram, X, TikTok, Threads --- */
.sk-social { width: 100%; max-width: 550px; margin: 1.5rem auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.embed-wrapper .sk-social { margin: 0 auto; }
.sk-social-body { display: flex; flex-direction: column; align-items: center; min-height: 80px; overflow: hidden; }
.sk-social-body > * { max-width: 100% !important; }
.sk-social-body blockquote { margin: 0 !important; padding: 1rem; border: 0 !important; background: none !important; font-size: .85rem; word-break: break-all; }
.sk-social-body .instagram-media, .sk-social-body iframe.instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.sk-social-body .twitter-tweet { margin: 0 auto !important; }
.sk-social--facebook .sk-social-body { background: #fff; }
.sk-social--facebook .fb-post, .sk-social--facebook .fb-video { display: block; max-width: 100%; }
.sk-social-tiktok { display: block; width: 100%; max-width: 325px; height: 740px; border: 0; }
.sk-social-wait { margin: 0 !important; padding: 1.5rem 1rem; color: #6b7280; font-size: .85rem; }
.sk-social-source { display: block; padding: .6rem 1rem; border-top: 1px solid #e5e7eb; background: #fafafa; color: #356476 !important; font-size: .78rem; font-weight: 600; text-align: center; text-decoration: none; }
.sk-social-source:hover { background: #f0f4f6; }

@media (max-width: 640px) {
    .sktv-bigplay { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .sktv-bigplay svg { width: 30px; height: 30px; }
    .sktv-controls { padding: 1.25rem .4rem .3rem; }
    .sktv-logo { height: 22px; max-width: 80px; }
    .sktv-time { font-size: .7rem; }
    .sktv-ad-skip { min-width: 0; bottom: 18px; padding: .5rem .75rem; font-size: .75rem; }
    .sktv-bar.skeud-tv-info { flex-direction: row; align-items: center; }
}
@media (hover: none) { .sktv-volume { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .sktv-intro-logo img, .sktv-intro-logo::after, .sktv-intro-brand { animation-duration: .01s !important; animation-delay: 0s !important; }
}
