<style>

/* Scrollbar cyan global pour flash-info */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ffff, #00cccc);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ffff, #ff00ff);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
html {
    scrollbar-width: thin;
    scrollbar-color: #00ffff #0a0a0a;
}

  .flash-social-share-bar {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

  /* Styles pour les liens des noms d'utilisateur dans les commentaires */
.flash-comment-author a {
    color: #00ffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.flash-comment-author a:hover {
    color: #ff00ff !important;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

.flash-comment-author a:visited {
    color: #00ffff !important;
}

.flash-comment-author a:link {
    color: #00ffff !important;
}

.flash-comment-author a:active {
    color: #00ffff !important;
}

.flash-comment-avatar a {
    display: block;
    transition: all 0.3s ease;
}

.flash-comment-avatar a:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .flash-social-share-bar {
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }
}

  .flash-iframe-wrapper {
    position: relative;
    width: 100%;
}

/* Wrapper responsive UNIQUEMENT pour YouTube */
.flash-youtube-wrapper {
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.flash-youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Embeds des chapitres */
.flash-chapter-embed {
    margin: 25px 0;
    overflow: hidden;
}

.flash-chapter-embed .flash-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.flash-chapter-embed .flash-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.flash-youtube-embed {
    padding: 0;
}

.flash-twitter-embed {
    display: flex;
    justify-content: center;
}

.flash-twitter-embed .twitter-tweet {
    margin: 0 auto !important;
}

.flash-tiktok-embed {
    display: flex;
    justify-content: center;
}

.flash-tiktok-embed .tiktok-embed {
    margin: 0 auto !important;
}

/* TikTok garde son comportement natif */
.flash-news-tiktok {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.flash-news-tiktok .tiktok-embed {
    margin: 0 auto !important;
    max-width: 100% !important;
    position: relative;
    z-index: 0;
}
  
body, html {
    background-color: #0d1117 !important;
    color: #e0e0e0;
    font-family: "Quicksand", sans-serif;
}

.site-content {
    background-color: #0d1117 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Ajout du fond dynamique avec image mise en avant */
.flash-page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.45; /* R?duit la transparence pour une meilleure visibilit? */
    z-index: 0;
    pointer-events: none;
    transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseBackground {
    0% { opacity: 0.35; filter: brightness(0.7) hue-rotate(-10deg); }
    100% { opacity: 0.55; filter: brightness(0.9) hue-rotate(10deg); }
}

.flash-news-container {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.8), rgba(13, 17, 23, 0.8));
    color: #e0e0e0;
    width: 100%;
    max-width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    line-height: 1.6;
    position: relative;
    z-index: 1; /* S'assurer que le contenu est au-dessus du fond */
}

.flash-news-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(26, 26, 26, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(0, 255, 255, 0.1),
                0 0 40px rgba(0, 255, 255, 0.05),
                inset 0 0 8px rgba(0, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.flash-news-content:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), 
                0 0 25px rgba(0, 255, 255, 0.2),
                0 0 50px rgba(0, 255, 255, 0.1),
                inset 0 0 12px rgba(0, 255, 255, 0.15);
}

/* Fil d'Ariane */
.flash-breadcrumb {
    width: 100%;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.flash-breadcrumb-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(13, 17, 23, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 30px;
    padding: 12px 28px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 
                0 0 15px rgba(0, 255, 255, 0.2),
                0 0 30px rgba(0, 255, 255, 0.05);
    width: auto;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.flash-breadcrumb-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.7), transparent);
    animation: breadcrumb-glow 4s infinite;
}

.flash-breadcrumb-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.7), transparent);
    animation: breadcrumb-glow 4s infinite reverse;
}

@keyframes breadcrumb-glow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#flash-breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

#flash-breadcrumb-list li {
    display: flex;
    align-items: center;
}

#flash-breadcrumb-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    font-size: 1rem; /* Taille de police uniforme */
}

#flash-breadcrumb-list .current {
    color: #00ffff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
                 0 0 15px rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    position: relative;
    font-size: 1rem; /* Taille de police uniforme */
}

#flash-breadcrumb-list a:hover {
    background: rgba(0, 255, 255, 0.15);
    color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4), 
                0 0 10px rgba(0, 255, 255, 0.3),
                0 0 20px rgba(0, 255, 255, 0.1);
}

#flash-breadcrumb-list a:hover svg {
    transform: translateY(-1px) scale(1.1);
    filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.7));
}

.flash-breadcrumb-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 2px;
}

.flash-breadcrumb-separator svg {
    width: 14px;
    height: 14px;
    stroke: rgba(0, 255, 255, 0.6);
    filter: drop-shadow(0 0 3px rgba(0, 255, 255, 0.3));
}

/* Barre de partage sociale - Style maintenu intact */
.flash-social-share-bar {
    position: fixed !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    z-index: 10 !important;
    background: #1a1a1a !important;
    padding: 15px 10px !important;
    border: 1px solid #0ff !important;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5), 
               0 0 10px rgba(0, 255, 255, 0.3),
               0 0 15px rgba(0, 255, 255, 0.2) !important;
}

.flash-social-button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    background: #1a1a1a !important;
    overflow: visible !important;
    border: 2px solid #0ff !important;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5),
                0 0 10px rgba(0, 255, 255, 0.3),
                0 0 15px rgba(0, 255, 255, 0.2) !important;
}

.flash-social-button::before {
    content: none !important;
}

.flash-social-icon {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 24px !important;
    height: 24px !important;
}

.flash-social-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: #0ff !important;
    stroke-width: 2 !important;
    filter: drop-shadow(0 0 5px #0ff) !important;
    transition: all 0.3s ease !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.flash-social-button:hover {
    transform: scale(1.1) rotate(360deg) !important;
    border-color: #0ff !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8),
                0 0 20px rgba(0, 255, 255, 0.6),
                0 0 30px rgba(0, 255, 255, 0.4) !important;
}

.flash-social-button:hover .flash-social-icon svg {
    stroke: #0ff !important;
    filter: drop-shadow(0 0 8px #0ff) 
            drop-shadow(0 0 12px #0ff) 
            drop-shadow(0 0 16px #0ff) !important;
}

.flash-social-button::after {
    content: attr(data-tooltip) !important;
    position: absolute !important;
    left: 120% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
}

.flash-social-button:hover::after {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force icon visibility */
.flash-social-button svg path {
    fill: none !important;
    stroke: #0ff !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* En-t?te du Flash News */
.flash-news-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 20px;
    position: relative;
}

.flash-news-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 255, 0.5) 25%, 
        rgba(0, 255, 255, 0.8) 50%, 
        rgba(255, 0, 255, 0.5) 75%, 
        transparent 100%);
    filter: blur(1px);
}

.flash-news-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.flash-news-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4),
                0 0 15px rgba(0, 255, 255, 0.2);
    position: relative;
}

.flash-news-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    z-index: -1;
    animation: rotateGradient 8s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flash-news-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-news-author-info {
    display: flex;
    flex-direction: column;
}

.flash-news-author-name {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    color: #00ffff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3),
                 0 0 10px rgba(0, 255, 255, 0.2);
}

.flash-news-author-name a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flash-news-author-name a:hover {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

.flash-news-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    color: #999;
    font-size: 0.9rem;
}

.flash-news-date, .flash-news-update-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Style pour le bouton favoris - Corrig? pour garder le coeur rouge */
.flash-favorite-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 3px 8px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.1);
}

.flash-favorite-icon {
    font-size: 18px;
    color: #999;
    transition: all 0.2s ease;
}

.flash-favorite-icon.liked {
    color: #ff0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.7),
                 0 0 20px rgba(255, 0, 85, 0.4);
}

.flash-favorite-btn:hover .flash-favorite-icon:not(.liked) {
    color: #ff0055;
    transform: scale(1.2);
}

.flash-favorite-btn:hover {
    background: rgba(255, 0, 85, 0.1);
}

.flash-favorite-count {
    font-size: 0.9rem;
    color: #999;
}

@keyframes heart-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.flash-favorite-icon.pulse {
    animation: heart-pulse 0.4s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

.flash-news-title {
    font-family: "Orbitron", sans-serif;
    font-size: 2rem;
    color: #e0e0e0;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3),
                 0 0 20px rgba(0, 255, 255, 0.1);
    position: relative;
    line-height: 1.3;
    animation: textGlow 4s infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px rgba(0, 255, 255, 0.3),
                      0 0 10px rgba(0, 255, 255, 0.1); }
    100% { text-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
                        0 0 20px rgba(0, 255, 255, 0.3),
                        0 0 30px rgba(0, 255, 255, 0.1); }
}

.flash-news-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, rgba(255, 0, 255, 0.5), #00ffff, rgba(128, 0, 255, 0.5));
    margin-top: 15px;
    position: relative;
    animation: glowBar 4s infinite alternate;
}

@keyframes glowBar {
    0% { filter: brightness(0.8) blur(1px); }
    100% { filter: brightness(1.5) blur(0.5px); }
}

.flash-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.flash-news-categories, .flash-news-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.flash-news-categories svg, .flash-news-tags svg {
    color: #e0e0e0;
}

.flash-category-tag, .flash-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.flash-category-tag {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border: 1px solid #00ffff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), 
                0 0 5px rgba(0, 255, 255, 0.2);
}

.flash-tag {
    background: rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    border: 1px solid #444;
}

.flash-category-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 
                0 0 8px rgba(0, 255, 255, 0.4),
                0 0 15px rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

.flash-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

/* Media (image ou vid?o) */
.flash-news-media {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 
                0 0 15px rgba(0, 255, 255, 0.2),
                0 0 30px rgba(0, 255, 255, 0.1);
    position: relative;
}

.flash-news-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
                rgba(255, 0, 255, 0.1) 0%, 
                transparent 40%, 
                transparent 60%, 
                rgba(0, 255, 255, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.flash-news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.flash-news-image:hover img {
    transform: scale(1.05);
}

.flash-news-iframe {
    display: block;
    width: 100%;
    border: none;
    aspect-ratio: 16/9;
    position: relative;
    z-index: 0;
}

/* Corps de l'article */
.flash-news-body {
    line-height: 1.7;
}

.flash-news-intro {
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.flash-news-intro a {
    color: #00ffff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.flash-news-intro a:hover {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

.flash-news-intro a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.flash-news-intro a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.flash-news-chapter-title {
    font-family: "Orbitron", sans-serif;
    color: #e0e0e0;
    margin: 30px 0 20px;
    position: relative;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3),
                 0 0 15px rgba(0, 255, 255, 0.1);
}

h2.flash-news-chapter-title {
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 10px;
    background: linear-gradient(90deg, 
                rgba(0, 0, 0, 0) 0%, 
                rgba(0, 255, 255, 0.05) 30%, 
                rgba(0, 255, 255, 0.05) 70%, 
                rgba(0, 0, 0, 0) 100%);
}

h3.flash-news-chapter-title {
    font-size: 1.4rem;
    padding-left: 15px;
    border-left: 3px solid #ff00ff;
    box-shadow: -5px 0 15px -5px rgba(255, 0, 255, 0.5);
}

.flash-news-chapter {
    margin-bottom: 30px;
}

.flash-news-chapter p {
    margin-bottom: 15px;
}

.flash-news-chapter a {
    color: #00ffff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.flash-news-chapter a:hover {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

.flash-news-chapter a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.flash-news-chapter a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Style pour les images des chapitres */
.flash-chapter-image {
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 
                0 0 10px rgba(0, 255, 255, 0.2),
                0 0 20px rgba(0, 255, 255, 0.1);
    max-width: 100%;
    position: relative;
    cursor: pointer;
}

.flash-chapter-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #7000ff, #00ffff);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 14px;
    animation: gradientBorder 10s ease infinite;
    filter: blur(2px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.flash-chapter-image:hover::before {
    opacity: 1;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.flash-chapter-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.flash-chapter-image:hover img {
    transform: scale(1.03);
}

/* Style pour les vid?os des chapitres (WebM/MP4 en boucle) */
.flash-chapter-video {
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 
                0 0 10px rgba(0, 255, 255, 0.2),
                0 0 20px rgba(0, 255, 255, 0.1);
    max-width: 100%;
    position: relative;
}

.flash-chapter-video::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #7000ff, #00ffff);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 14px;
    animation: gradientBorder 10s ease infinite;
    filter: blur(2px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.flash-chapter-video:hover::before {
    opacity: 1;
}

.flash-chapter-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* Signature de l'auteur pour Google News */
.flash-author-signature {
    margin: 40px 0;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4),
                0 0 10px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.flash-author-signature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 0, 255, 0.5), rgba(0, 255, 255, 0.8), rgba(255, 0, 255, 0.5));
}

.flash-author-signature-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    flex-shrink: 0;
}

.flash-author-signature-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-author-signature-content {
    flex: 1;
}

.flash-author-signature-name {
    font-family: "Orbitron", sans-serif;
    font-size: 1.3rem;
    color: #00ffff;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.flash-author-signature-name a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flash-author-signature-name a:hover {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

.flash-author-signature-avatar a {
    display: block;
    transition: all 0.3s ease;
}

.flash-author-signature-avatar a:hover {
    transform: scale(1.05);
}

.flash-author-signature-actions {
    margin-top: 15px;
}

.flash-author-profile-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid #00ffff;
    border-radius: 8px;
    color: #00ffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.flash-author-profile-button svg {
    width: 16px;
    height: 16px;
    stroke: #00ffff;
    transition: all 0.3s ease;
}

.flash-author-profile-button:hover {
    color: #ffffff;
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.flash-author-profile-button:hover svg {
    stroke: #ffffff;
    transform: scale(1.1);
}

.flash-author-signature-title {
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 10px;
    font-size: 1rem;
}

.flash-author-signature-bio {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Nouveaux styles pour la signature enrichie */
.flash-author-signature-stats {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flash-author-subscribers {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ccc;
    font-size: 0.9rem;
}

.subscribers-number {
    font-weight: 600;
    color: #00ffff;
}

.flash-author-signature-social {
    display: flex;
    gap: 10px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.flash-social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    background: transparent;
    border: 2px solid #00ffff;
}

.flash-social-link:hover {
    transform: translateY(-2px) scale(1.1);
    text-decoration: none;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}

.flash-social-link.flash-social-twitter i::before {
    content: "X" !important;
    font-family: "Segoe UI", "Arial", sans-serif !important;
    font-weight: bold !important;
    font-style: normal !important;
}

.flash-author-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    border-radius: 8px;
    color: #00ffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: 10px;
}

.flash-author-subscribe-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.flash-author-subscribe-btn.subscribed {
    background: rgba(0, 255, 255, 0.2);
    color: #fff;
}

@media (max-width: 768px) {
    .flash-author-signature {
        flex-direction: column;
        text-align: center;
    }
    
    .flash-author-signature-avatar {
        margin: 0 auto;
    }
    
    .flash-author-signature-stats {
        justify-content: center;
    }
    
    .flash-author-signature-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .flash-author-profile-button,
    .flash-author-subscribe-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .flash-author-signature-social {
        justify-content: center;
    }
}

/* Styles pour les encadr?s "Voir cet article" - Centrer pour rediriger vers un autre article */
.flash-encadres-section {
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 90%;
}

.flash-encadre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4), 
                0 0 10px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.flash-encadre:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5),
                0 0 15px rgba(0, 255, 255, 0.2), 
                0 0 30px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.6);
}

.flash-encadre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #ff00ff, transparent);
}

.flash-encadre-title {
    font-family: "Orbitron", sans-serif;
    color: #00ffff;
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3),
                 0 0 10px rgba(0, 255, 255, 0.1);
    text-align: center;
}

.flash-encadre-content {
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: center;
}

.flash-encadre-link {
    display: block;
    width: fit-content;
    margin: 10px auto;
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.flash-encadre-arrow {
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.flash-encadre-link:hover {
    background: rgba(0, 0, 0, 0.6);
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6),
                0 0 10px rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.5);
}

.flash-encadre-link:hover .flash-encadre-arrow {
    transform: translateX(5px);
}

/* Styles pour les citations */
.flash-citation {
    position: relative;
    padding: 25px 30px;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #00ffff;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4), 
                0 0 10px rgba(0, 255, 255, 0.1);
}

.flash-citation::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 3rem;
    color: rgba(0, 255, 255, 0.3);
    font-family: Georgia, serif;
}

.flash-citation-text {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.flash-citation-author {
    display: block;
    text-align: right;
    font-weight: bold;
    color: #e0e0e0;
}

.flash-citation-source {
    color: #999;
    font-weight: normal;
}

/* Styles pour la galerie photo modale */
.flash-galerie-section {
    margin: 40px 0;
}

.flash-galerie-title {
    font-family: "Orbitron", sans-serif;
    color: #e0e0e0;
    margin: 0 0 20px 0;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
    text-align: center;
}

.flash-galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

/* Ajustement de la grille en fonction du nombre d'images */
.flash-galerie-grid-1 {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.flash-galerie-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: 0 auto;
}

.flash-galerie-grid-3, .flash-galerie-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
    .flash-galerie-grid-3, .flash-galerie-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .flash-galerie-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.flash-galerie-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.flash-galerie-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 255, 255, 0.3);
}

.flash-galerie-thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.flash-galerie-item:hover .flash-galerie-thumbnail {
    filter: brightness(1.2);
}

/* Modal Galerie Fix?e */
/* Modal pour galerie d'images */
.flash-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
}

.flash-gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.flash-gallery-modal-container {
    position: relative;
    width: 95%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.flash-gallery-modal-content {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 255, 0.2);
}

.flash-gallery-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.flash-gallery-modal-title {
    font-family: "Orbitron", sans-serif;
    color: #e0e0e0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.flash-gallery-modal-close {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff5555;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.flash-gallery-modal-close:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff5555;
}

.flash-gallery-modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    max-height: 60vh;
    min-height: 200px;
}

.flash-gallery-modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.flash-gallery-modal-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.flash-gallery-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
}

.flash-gallery-modal-counter {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.flash-gallery-modal-nav {
    display: contents;
}

.flash-gallery-modal-prev, .flash-gallery-modal-next {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.flash-gallery-modal-prev:hover, .flash-gallery-modal-next:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* Desktop */
@media (min-width: 769px) {
    .flash-gallery-modal-container {
        width: 85%;
        max-width: 1100px;
        max-height: 90vh;
    }
    
    .flash-gallery-modal-header {
        padding: 20px;
    }
    
    .flash-gallery-modal-title {
        font-size: 1.1rem;
    }
    
    .flash-gallery-modal-close {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .flash-gallery-modal-body {
        padding: 20px;
        max-height: 70vh;
        min-height: 400px;
    }
    
    .flash-gallery-modal-image {
        cursor: zoom-in;
    }
    
    .flash-gallery-modal-footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
    }
    
    .flash-gallery-modal-counter {
        order: 0;
    }
    
    .flash-gallery-modal-nav {
        order: 0;
        gap: 20px;
    }
    
    .flash-gallery-modal-prev, .flash-gallery-modal-next {
        width: 45px;
        height: 45px;
        font-size: 15px;
    }
}

/* Fiches personnages li?es */
.flash-characters-linked-section {
    margin: 30px 0;
}

.flash-characters-game-group {
    margin-bottom: 10px;
}

.flash-characters-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.flash-character-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 255, 255, 0.04);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    text-decoration: none;
    transition: all 0.3s;
    flex: 1 1 calc(50% - 6px);
    min-width: 220px;
    max-width: 100%;
}

.flash-character-card {
    position: relative;
    overflow: hidden;
}

@keyframes flash-char-pan {
    0% { background-position: center top; }
    50% { background-position: center bottom; }
    100% { background-position: center top; }
}

.flash-char-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.flash-character-card:hover .flash-char-bg {
    opacity: 0.25;
    animation: flash-char-pan 6s ease-in-out infinite;
}

.flash-char-image, .flash-char-info {
    position: relative;
    z-index: 1;
}

.flash-char-metas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 3px;
}

.flash-char-meta {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    padding: 1px 7px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flash-char-meta-type {
    color: #ff69b4;
    background: rgba(255, 105, 180, 0.1);
    border-color: rgba(255, 105, 180, 0.3);
}

.flash-character-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.flash-char-image {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.flash-char-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.flash-char-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.08);
    color: rgba(0, 255, 255, 0.5);
}

.flash-char-score {
    font-weight: 700;
    font-size: 0.75rem;
}

.flash-char-score.high { color: #00ff88; }
.flash-char-score.medium { color: #00ffff; }
.flash-char-score.low { color: #ff5050; }

.flash-char-info {
    flex: 1;
    min-width: 0;
}

.flash-char-name {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flash-char-stats {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.flash-char-heart { font-size: 0.7rem; }

.flash-char-link-text {
    font-size: 0.75rem;
    color: rgba(0, 255, 255, 0.5);
    transition: color 0.3s;
}

.flash-character-card:hover .flash-char-link-text {
    color: #00ffff;
}

@media (max-width: 600px) {
    .flash-character-card {
        flex: 1 1 100%;
    }
    .flash-char-image {
        width: 50px;
        height: 50px;
    }
}

/* Fiche jeu - Style am?lior? */
.flash-game-card {
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 
                0 0 8px rgba(0, 255, 255, 0.3),
                0 0 20px rgba(0, 255, 255, 0.1);
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.flash-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(0, 255, 255, 0.1) 0%, 
                transparent 50%, 
                rgba(255, 0, 255, 0.1) 100%);
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.flash-game-card:hover::before {
    opacity: 1;
}

.flash-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6), 
                0 0 12px rgba(0, 255, 255, 0.4),
                0 0 25px rgba(0, 255, 255, 0.2);
}

.flash-game-image {
    flex: 0 0 100px;
    height: 100px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    position: relative;
}

.flash-game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(0, 255, 255, 0.2) 0%, 
                transparent 50%, 
                rgba(255, 0, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flash-game-image:hover::after {
    opacity: 1;
}

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

.flash-game-image:hover img {
    transform: scale(1.1);
}

.flash-game-info {
    flex: 1;
}

.flash-game-info h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 1.3rem;
    color: #e0e0e0;
    margin: 0 0 10px 0;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3),
                 0 0 10px rgba(0, 255, 255, 0.1);
}

.flash-game-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.flash-game-platform {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.flash-game-date {
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-left: 10px;
}

.flash-avis-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #008080, #00ffff);
    color: #0d1117;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.flash-avis-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #7000ff, #ff00ff);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientButton 10s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes gradientButton {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.flash-avis-button:hover::before {
    opacity: 1;
}

.flash-avis-button:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 
                0 0 10px rgba(0, 255, 255, 0.4),
                0 0 20px rgba(0, 255, 255, 0.2);
    color: #00ffff;
}

.flash-avis-button svg {
    transition: all 0.3s ease;
}

.flash-avis-button:hover svg {
    transform: rotate(72deg) scale(1.2);
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.8));
}

/* Sondage - Style am?lior? */
.flash-poll {
    margin: 40px 0;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(0, 255, 255, 0.1),
                0 0 30px rgba(0, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.flash-poll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(0, 255, 255, 0.8), 
                rgba(255, 0, 255, 0.8), 
                rgba(0, 255, 255, 0.8), 
                transparent);
    filter: blur(1.5px);
}

.flash-poll::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(0, 255, 255, 0.05) 0%, 
                transparent 50%, 
                rgba(255, 0, 255, 0.05) 100%);
    pointer-events: none;
}

.flash-poll-title {
    font-family: "Orbitron", sans-serif;
    font-size: 1.4rem;
    color: #e0e0e0;
    margin: 0 0 20px 0;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3),
                 0 0 15px rgba(0, 255, 255, 0.1);
    text-align: center;
}

.flash-poll-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.flash-poll-option {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.flash-poll-option:hover {
    transform: translateX(5px);
}

.flash-poll-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #00ffff;
    border-radius: 50%;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.flash-poll-option input[type="radio"]:checked {
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.flash-poll-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #ff00ff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.6),
                0 0 12px rgba(255, 0, 255, 0.4);
    animation: pulseDot 1.5s infinite alternate;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 5px rgba(255, 0, 255, 0.6); }
    100% { box-shadow: 0 0 10px rgba(255, 0, 255, 0.9); }
}

.flash-poll-option label {
    cursor: pointer;
    flex: 1;
    font-size: 1.05rem;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.flash-poll-option:hover label {
    background: rgba(0, 255, 255, 0.05);
    padding-left: 12px;
}

.flash-poll-submit.ready-to-vote {
    animation: pulseBouton 1s ease-in-out 2;
}

@keyframes pulseBouton {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(0, 255, 255, 0.6); }
}

.flash-poll-submit {
    display: block;
    margin: 0 auto;
    background: linear-gradient(45deg, #008080, #00ffff);
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Orbitron", sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flash-poll-submit::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
                #00ffff, 
                #ff00ff, 
                #7000ff, 
                #00ffff);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientButton 10s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flash-poll-submit:disabled {
    background: #555;
    color: #ffffff !important;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .flash-poll-submit:disabled {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

.flash-poll-submit:disabled::before {
    display: none;
}

  /* Style pour le bouton apr?s vote */
.flash-poll-submit:disabled.vote-recorded {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #00ffff !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
                0 0 20px rgba(0, 255, 255, 0.3) !important;
    opacity: 1 !important;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.flash-poll-submit:not(:disabled):hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 
                0 0 10px rgba(0, 255, 255, 0.4),
                0 0 20px rgba(0, 255, 255, 0.2);
    color: #00ffff;
}

.flash-poll-submit:not(:disabled):hover::before {
    opacity: 1;
}

.flash-poll-results {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
}

.flash-poll-results::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 0, 255, 0.8), 
                transparent);
}

.flash-poll-results h4 {
    font-family: "Orbitron", sans-serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3),
                 0 0 15px rgba(0, 255, 255, 0.1);
}

.flash-poll-results-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.flash-poll-result-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.flash-poll-result-label {
    display: flex;
    justify-content: space-between;
}

.flash-poll-result-text {
    font-weight: bold;
}

.flash-poll-result-percentage {
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.flash-poll-result-bar-container {
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
    position: relative;
}

.flash-poll-result-bar {
    height: 100%;
    background: linear-gradient(to right, #00ccff, #ff00ff);
    border-radius: 5px;
    width: 0%;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.flash-poll-result-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 150%; }
}

.flash-poll-total {
    text-align: center;
    margin-top: 15px;
    color: #999;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    width: fit-content;
    margin: 15px auto 0;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.flash-poll-total-votes {
    font-weight: bold;
    color: #e0e0e0;
}

/* Twitter et TikTok embed styles */
.flash-news-twitter, .flash-news-tiktok {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.flash-news-twitter::before, .flash-news-tiktok::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(0, 255, 255, 0.8), 
                transparent);
    filter: blur(1px);
    z-index: 1;
}

.flash-news-twitter::after, .flash-news-tiktok::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 0, 255, 0.8), 
                transparent);
    filter: blur(1px);
    z-index: 1;
}

.twitter-tweet, .tiktok-embed {
    margin: 0 auto !important;
    max-width: 550px !important;
    position: relative;
    z-index: 0;
}

/* Section des articles similaires */
.flash-article-related {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
}

.flash-article-related::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 0, 255, 0.8), 
                rgba(0, 255, 255, 0.8), 
                rgba(255, 0, 255, 0.8), 
                transparent);
    filter: blur(1px);
}

.flash-article-related-title {
    font-family: "Orbitron", sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3),
                 0 0 15px rgba(0, 255, 255, 0.1);
    position: relative;
    display: inline-block;
    width: 100%;
}

.flash-article-related-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(0, 255, 255, 0.8),
                rgba(255, 0, 255, 0.8),
                rgba(0, 255, 255, 0.8),
                transparent);
}

.flash-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.flash-article-card {
    background: #1a1a1a;
    border: 1px solid #0ff;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5), 
               0 0 10px rgba(0, 255, 255, 0.3),
               0 0 15px rgba(0, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.flash-article-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #7000ff, #00ffff);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientBorder 10s ease infinite;
}

.flash-article-card-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
    z-index: 1;
}

.flash-article-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7),
                0 0 20px rgba(0, 255, 255, 0.4),
                0 0 30px rgba(0, 255, 255, 0.2);
}

.flash-article-card:hover::before {
    opacity: 1;
}

.flash-article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flash-article-card:hover img {
    transform: scale(1.1);
}

.flash-card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, 
                rgba(0, 0, 0, 0.7),
                rgba(26, 26, 26, 1));
    position: relative;
    overflow: hidden;
}

.flash-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(0, 255, 255, 0.05) 0%, 
                transparent 50%, 
                rgba(255, 0, 255, 0.05) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flash-article-card:hover .flash-card-content::before {
    opacity: 1;
}

.flash-card-category {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0, 255, 255, 0.1);
    color: #0ff;
    border-radius: 4px;
    font-size: 0.8em;
    margin-bottom: 10px;
    align-self: flex-start;
    border: 1px solid rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.flash-card-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(0, 255, 255, 0.3), 
                transparent);
    transition: all 0.6s ease;
}

.flash-article-card:hover .flash-card-category::before {
    left: 100%;
}

.flash-article-card:hover .flash-card-category {
   background: rgba(0, 255, 255, 0.2);
   box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.flash-card-title {
   font-size: 1.1rem;
   font-weight: 700;
   margin-bottom: 10px;
   line-height: 1.4;
   color: #e0e0e0;
   transition: all 0.3s ease;
}

.flash-article-card:hover .flash-card-title {
   color: #00ffff;
   text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

/* ===== BLOC ENTR?E GEMSTREAM ===== */
.gemstream-entry-block {
    max-width: 800px;
    margin: 50px auto 0 auto;
    padding: 30px;
    background: transparent;
    border: 1px solid #0ff;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5), 
               0 0 10px rgba(0, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.gemstream-entry-block:hover {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 
               0 0 20px rgba(0, 255, 255, 0.5),
               0 0 30px rgba(255, 0, 255, 0.3);
    border-color: #ff00ff;
}

.gemstream-entry-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gemstream-entry-icon {
    flex-shrink: 0;
}

.gemstream-entry-icon svg {
    width: 32px;
    height: 32px;
    stroke: #00ffff;
}

.gemstream-entry-block:hover .gemstream-entry-icon svg {
    stroke: #ff00ff;
}

.gemstream-entry-text {
    flex: 1;
}

.gemstream-entry-text h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 0 0 5px 0;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.gemstream-entry-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.gemstream-entry-arrow {
    flex-shrink: 0;
}

.gemstream-entry-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #00ffff;
    transition: transform 0.3s ease;
}

.gemstream-entry-block:hover .gemstream-entry-arrow svg {
    transform: translateX(5px);
    stroke: #ff00ff;
}

.gemstream-entry-swipe-hint {
    text-align: center;
    margin-top: 15px;
}

.gemstream-entry-swipe-hint span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop : afficher "Cliquer" */
.gemstream-entry-swipe-hint span::after {
    display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .gemstream-entry-block {
        margin: 30px 0;
        padding: 20px;
    }
    
    .gemstream-entry-text h3 {
        font-size: 1rem;
    }
    
    .gemstream-entry-text p {
        font-size: 0.85rem;
    }
    
    /* Mobile : afficher "Swiper" */
    .gemstream-entry-swipe-hint span::after {
        display: none !important;
    }
}

/* Section de commentaires - Style am?lior? */
.flash-comments-section {
   max-width: 800px;
   margin: 30px auto 0;
   padding: 30px 20px;
   background: rgba(26, 26, 26, 0.7);
   border-radius: 15px;
   border: 1px solid rgba(0, 255, 255, 0.2);
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 
               0 0 15px rgba(0, 255, 255, 0.1),
               0 0 40px rgba(0, 255, 255, 0.05),
               inset 0 0 8px rgba(0, 255, 255, 0.1);
   position: relative;
   z-index: 2;
}

.flash-comments-section::before {
   content: '';
   position: absolute;
   top: -1px;
   left: 10%;
   right: 10%;
   height: 2px;
   background: linear-gradient(90deg, 
               transparent, 
               rgba(0, 255, 255, 0.8), 
               rgba(255, 0, 255, 0.8), 
               rgba(0, 255, 255, 0.8), 
               transparent);
   filter: blur(1px);
}

.flash-comments-title {
   font-family: "Orbitron", sans-serif;
   font-size: 1.6rem;
   color: #e0e0e0;
   margin: 0 0 25px 0;
   text-shadow: 0 0 8px rgba(0, 255, 255, 0.3),
                0 0 15px rgba(0, 255, 255, 0.1);
   text-align: left;
   position: relative;
   display: inline-block;
}

.flash-comments-title::after {
   content: '';
   position: absolute;
   bottom: -10px;
   left: 0;
   width: 100%;
   height: 2px;
   background: linear-gradient(90deg, 
               rgba(0, 255, 255, 0.8), 
               rgba(255, 0, 255, 0.8), 
               transparent);
}

.flash-comment-form {
   margin-bottom: 30px;
   background: rgba(0, 0, 0, 0.2);
   border-radius: 15px;
   padding: 20px;
   border: 1px solid rgba(0, 255, 255, 0.2);
   position: relative;
   overflow: hidden;
}

.flash-comment-form::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, 
               rgba(0, 255, 255, 0.05) 0%, 
               transparent 50%, 
               rgba(255, 0, 255, 0.05) 100%);
   pointer-events: none;
}

.flash-comment-form-user {
   display: flex;
   gap: 15px;
   align-items: flex-start;
}

.flash-reply-avatar {
   width: 40px;
   height: 40px;
}

.flash-comment-input-wrapper {
   flex: 1;
}

#flash-comment-textarea, .flash-reply-textarea, .flash-edit-textarea {
   width: 100%;
   min-height: 80px;
   padding: 12px;
   border-radius: 10px;
   background: rgba(26, 26, 26, 0.6);
   border: 1px solid rgba(0, 255, 255, 0.3);
   color: #e0e0e0;
   font-family: "Quicksand", sans-serif;
   resize: vertical;
   transition: all 0.3s ease;
   box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

#flash-comment-textarea:focus, .flash-reply-textarea:focus, .flash-edit-textarea:focus {
   outline: none;
   border-color: #00ffff;
   box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3),
               0 0 10px rgba(0, 255, 255, 0.4);
   background: rgba(26, 26, 26, 0.8);
}

.flash-comment-submit, .flash-reply-submit, .flash-edit-actions {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 15px;
   width: 100%;
}

.flash-comment-submit small {
   color: #888;
   font-size: 0.85rem;
   flex: 1;
   min-width: 200px;
}

.flash-comment-submit button, .flash-reply-submit button[type="submit"], .flash-edit-actions button.flash-edit-save {
   background: transparent;
   color: #00ffff;
   padding: 10px 25px;
   border: 2px solid #00ffff;
   border-radius: 8px;
   font-weight: bold;
   cursor: pointer;
   transition: all 0.3s ease;
   font-family: "Quicksand", sans-serif;
   text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
   box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.flash-comment-submit button:hover, 
.flash-reply-submit button[type="submit"]:hover, 
.flash-edit-actions button.flash-edit-save:hover {
   background: rgba(0, 255, 255, 0.1);
   color: #00ffff;
   transform: translateY(-2px);
   box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
   text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.flash-reply-submit button[type="button"], .flash-edit-actions button.flash-edit-cancel {
   background: rgba(0, 0, 0, 0.3);
   color: #e0e0e0;
   margin-right: 10px;
   border: 1px solid rgba(255, 255, 255, 0.2);
}

.flash-reply-submit button[type="button"]:hover, .flash-edit-actions button.flash-edit-cancel:hover {
   background: rgba(0, 0, 0, 0.5);
   color: #ff00ff;
   transform: translateY(-2px);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
   border-color: rgba(255, 0, 255, 0.5);
}

.flash-comment-login-prompt {
   background: rgba(0, 0, 0, 0.2);
   padding: 15px;
   border-radius: 10px;
   text-align: center;
   position: relative;
   overflow: hidden;
}

.flash-comment-login-prompt::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, 
               rgba(0, 255, 255, 0.05) 0%, 
               transparent 50%, 
               rgba(255, 0, 255, 0.05) 100%);
   pointer-events: none;
}

.flash-comment-login-button {
   display: inline-block;
   background: linear-gradient(45deg, #008080, #00ffff);
   color: #0d1117;
   padding: 8px 20px;
   border-radius: 8px;
   font-weight: bold;
   text-decoration: none;
   margin-top: 10px;
   transition: all 0.3s ease;
   position: relative;
   overflow: hidden;
}

.flash-comment-login-button::before {
   content: '';
   position: absolute;
   top: -2px;
   left: -2px;
   right: -2px;
   bottom: -2px;
   background: linear-gradient(45deg, #ff00ff, #00ffff, #7000ff, #ff00ff);
   background-size: 400% 400%;
   z-index: -1;
   opacity: 0;
   transition: opacity 0.3s ease;
   animation: gradientButton 10s ease infinite;
}

.flash-comment-login-button:hover {
   background: transparent;
   color: #00ffff;
   transform: translateY(-2px);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 
               0 0 10px rgba(0, 255, 255, 0.4);
}

.flash-comment-login-button:hover::before {
   opacity: 1;
}

/* Liste des commentaires */
.flash-comments-list {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.flash-comment {
   background: rgba(0, 0, 0, 0.3);
   border-radius: 15px;
   padding: 15px;
   margin-bottom: 20px;
   border: 1px solid rgba(0, 255, 255, 0.1);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.flash-comment-header {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   margin-bottom: 15px;
}

.flash-comment-avatar {
   width: 45px;
   height: 45px;
   border-radius: 50%;
   overflow: hidden;
   border: 2px solid rgba(0, 255, 255, 0.5);
   flex-shrink: 0;
}

.flash-comment-avatar img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.flash-comment-author-details {
   flex: 1;
   min-width: 0;
}

.flash-comment-author {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 8px;
   margin-bottom: 3px;
}

.flash-comment-date {
   color: #666;
   font-size: 0.85rem;
   display: block;
}

.flash-comment-admin-actions {
   display: flex;
   gap: 8px;
   flex-shrink: 0;
}

.flash-comment-admin-actions button {
   background: transparent;
   border: none;
   cursor: pointer;
   padding: 5px;
   font-size: 1rem;
   opacity: 0.7;
   transition: all 0.3s ease;
}

.flash-comment-admin-actions button:hover {
   opacity: 1;
   transform: scale(1.1);
}

.flash-comment-body {
   padding-left: 57px;
}

.flash-comment-content {
   flex: 1;
   background: rgba(0, 0, 0, 0.2);
   border-radius: 15px;
   padding: 15px;
   position: relative;
   border: 1px solid rgba(0, 255, 255, 0.1);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
   transition: all 0.3s ease;
}

.flash-comment-content:hover {
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 
               0 0 10px rgba(0, 255, 255, 0.1);
   border-color: rgba(0, 255, 255, 0.2);
}

.flash-comment-content::before {
   content: '';
   position: absolute;
   left: -10px;
   top: 15px;
   border-width: 10px 10px 10px 0;
   border-style: solid;
   border-color: transparent rgba(0, 0, 0, 0.2) transparent transparent;
}

.flash-comment-content::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, 
               rgba(0, 255, 255, 0.03) 0%, 
               transparent 50%, 
               rgba(255, 0, 255, 0.03) 100%);
   pointer-events: none;
   border-radius: 15px;
}

.flash-comment-author {
   font-weight: bold;
   color: #00ffff;
   margin-bottom: 5px;
   text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

/* Badges niveau et XP style forum */
.user-level-forum {
    display: inline;
    font-size: 0.7rem;
    color: #ff80cc;
    font-weight: 600;
    margin-left: 8px;
    padding: 2px 6px;
    background: rgba(255, 128, 204, 0.1);
    border: 1px solid rgba(255, 128, 204, 0.3);
    border-radius: 8px;
    text-shadow: 0 0 3px rgba(255, 128, 204, 0.4);
    white-space: nowrap;
}

.user-xp-forum {
    display: inline;
    font-size: 0.65rem;
    color: #00ffff;
    font-weight: 500;
    margin-left: 5px;
    opacity: 0.8;
    white-space: nowrap;
}

.topic-creator-badge {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border: 1px solid;
    border-image: linear-gradient(45deg, #00ffff, #ff00ff) 1;
    margin-left: 8px;
}

/* === R?PONSES STYLE FORUM === */
.replies-thread {
    margin-left: 20px;
    margin-top: 15px;
    padding-left: 15px;
    border-left: 3px solid #007bff;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 0 8px 8px 0;
}

.reply-badge {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.reply-arrow {
    font-size: 1.1rem;
    color: #b3d9ff;
}

.child-reply {
    background: rgba(0, 123, 255, 0.08) !important;
    border: 1px solid rgba(0, 123, 255, 0.25) !important;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 15px;
}

.reply-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reply-author-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reply-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0, 123, 255, 0.5);
}

.reply-author-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.reply-author-name {
    font-weight: bold;
    color: #00ffff;
}

.reply-date {
    font-size: 0.8rem;
    color: #888;
}

.reply-admin-actions {
    display: flex;
    gap: 8px;
}

.reply-admin-actions button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.reply-admin-actions button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Citation du commentaire parent */
.parent-quote {
    background: rgba(0, 123, 255, 0.1);
    border-left: 4px solid #007bff;
    border-radius: 0 8px 8px 0;
    padding: 12px;
    margin: 10px 0 15px 0;
    font-size: 0.9rem;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #007bff;
    font-weight: bold;
}

.quote-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0, 123, 255, 0.3);
}

.quote-content {
    color: #b0b0b0;
    font-style: italic;
    line-height: 1.4;
}

.reply-content {
    padding-left: 52px;
}

.reply-text {
    margin-bottom: 15px;
    line-height: 1.6;
}

.reply-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Images et vid?os des commentaires */
.comment-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.comment-image {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-image:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    transform: scale(1.02);
}

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

.comment-iframe {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.comment-iframe iframe {
    max-width: 100%;
    border-radius: 8px;
}

/* Preview iframe */
.iframe-preview-container {
    margin-top: 10px;
    width: 100%;
}

.iframe-preview-placeholder {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    color: #888;
    text-align: center;
    border: 1px dashed rgba(0, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .replies-thread {
        margin-left: 0;
        padding-left: 10px;
        margin-right: 0;
    }
    
    .reply-content {
        padding-left: 0;
    }
    
    .reply-author-section {
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }
    
    .reply-author-avatar {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        flex-shrink: 0 !important;
    }
    
    .reply-author-details {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }
    
    .reply-info {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .reply-admin-actions {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .child-reply {
        position: relative;
        padding: 10px !important;
    }
    
    .reply-badge {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
    
    .parent-quote {
        padding: 8px;
        font-size: 0.8rem;
    }
}

/* Titre du formulaire */
.reply-form-title {
    font-family: "Orbitron", sans-serif;
    color: #00ffff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

/* Extras du formulaire (images + vid?o) */
.reply-form-extras {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.reply-form-extras-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.image-upload-btn {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border: 2px solid rgba(0, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.image-upload-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
}

.iframe-label {
    color: #00ffff;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.iframe-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.form-input {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #e0e0e0;
    padding: 10px 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Preview des images upload?es */
.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.image-preview {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

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

.image-preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.image-preview-remove:hover {
    background: #dc3545;
}

.reply-submit-btn {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
    border-radius: 8px;
    padding: 12px 25px;
    font-family: "Quicksand", sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.reply-submit-btn span {
    filter: hue-rotate(180deg) saturate(2);
}

.reply-submit-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.reply-submit-btn:active,
.reply-submit-btn:focus {
    background: rgba(0, 255, 255, 0.15) !important;
    outline: none !important;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6) !important;
}

.flash-reply-cancel {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #888 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flash-reply-cancel:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #ff00ff !important;
    border-color: rgba(255, 0, 255, 0.5) !important;
}

.flash-reply-cancel:active,
.flash-reply-cancel:focus {
    background: rgba(0, 0, 0, 0.5) !important;
    outline: none !important;
}

/* Style wp_editor - IDENTIQUE AU FORUM */
.wp-editor-wrap {
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #00ffff !important;
    background: #0d1117 !important;
}

.wp-editor-wrap .wp-editor-tools {
    background: rgba(0, 0, 0, 0.8) !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3) !important;
}

.wp-editor-wrap .wp-editor-tabs {
    background: rgba(0, 0, 0, 0.8) !important;
}

.wp-editor-wrap .wp-editor-tabs .wp-switch-editor {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #00ffff !important;
    border-color: rgba(0, 255, 255, 0.3) !important;
}

.wp-editor-wrap .wp-editor-tabs .wp-switch-editor:hover,
.wp-editor-wrap .wp-editor-tabs .wp-switch-editor.switch-tmce {
    background: rgba(0, 255, 255, 0.2) !important;
    color: #00ffff !important;
}

.wp-editor-wrap .wp-editor-container {
    background: #0d1117 !important;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
}

.wp-editor-wrap .wp-editor-area {
    background: #0d1117 !important;
    color: #e0e0e0 !important;
}

.wp-editor-wrap textarea {
    background: #0d1117 !important;
    color: #e0e0e0 !important;
    border: none !important;
}

.wp-editor-wrap iframe {
    background: #0d1117 !important;
}

.mce-toolbar-grp {
    background: rgba(0, 0, 0, 0.8) !important;
    border-color: rgba(0, 255, 255, 0.3) !important;
}

.mce-btn {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(0, 255, 255, 0.3) !important;
    color: #e0e0e0 !important;
}

.mce-btn:hover,
.mce-btn.mce-active {
    background: rgba(0, 255, 255, 0.2) !important;
    border-color: #00ffff !important;
    color: #00ffff !important;
}

.mce-btn button {
    color: #e0e0e0 !important;
}

.mce-btn:hover button {
    color: #00ffff !important;
}

.mce-panel {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(0, 255, 255, 0.3) !important;
}

.mce-menu {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(0, 255, 255, 0.3) !important;
}

.mce-menu-item {
    color: #e0e0e0 !important;
}

.mce-menu-item:hover,
.mce-menu-item.mce-selected {
    background: rgba(0, 255, 255, 0.2) !important;
    color: #00ffff !important;
}

.mce-content-body {
    background: #0d1117 !important;
    color: #e0e0e0 !important;
}

.mce-edit-area iframe,
.wp-editor-wrap .mce-tinymce iframe {
    background: #0d1117 !important;
}

.wp-editor-wrap iframe[id$="_ifr"] {
    background: #0d1117 !important;
}

.mce-btn button,
.mce-btn .mce-txt {
    color: #ffffff !important;
}

.mce-btn:hover button,
.mce-btn:hover .mce-txt {
    color: #00ffff !important;
}

.mce-ico {
    filter: brightness(0) invert(1) !important;
}

.mce-btn:hover .mce-ico {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(175deg) !important;
}

.mce-toolbar .mce-btn * {
    color: #ffffff !important;
}

.mce-toolbar .mce-btn:hover * {
    color: #00ffff !important;
}

.flash-comment-text {
   margin-bottom: 10px;
   line-height: 1.5;
}

.flash-comment-edit-form {
   margin-bottom: 15px;
}

.flash-comment-actions {
   display: flex;
   align-items: center;
   gap: 15px;
   color: #999;
   font-size: 0.9rem;
   flex-wrap: wrap;
}

.flash-comment-like {
   display: flex;
   align-items: center;
   gap: 5px;
   background: none;
   border: none;
   color: #999;
   cursor: pointer;
   transition: all 0.3s ease;
   padding: 3px 8px;
   border-radius: 15px;
}

.flash-comment-like svg {
   width: 16px;
   height: 16px;
   fill: none;
   stroke: currentColor;
   transition: all 0.3s ease;
}

.flash-comment-like:hover, .flash-comment-like.active {
   color: #00ffff;
   background: rgba(0, 255, 255, 0.1);
}

.flash-comment-like:hover svg, .flash-comment-like.active svg {
   fill: none;
   stroke: #00ffff;
   filter: drop-shadow(0 0 3px rgba(0, 255, 255, 0.5));
}

.flash-comment-like.active {
   color: #ff00ff;
}

.flash-comment-like.active svg {
   stroke: #ff00ff;
   filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.5));
}

.flash-comment-like.processing {
   opacity: 0.5;
   pointer-events: none;
}

.flash-comment-reply, .flash-comment-edit, .flash-comment-delete {
   background: none;
   border: none;
   color: #999;
   cursor: pointer;
   transition: all 0.2s ease;
   padding: 3px 8px;
   border-radius: 15px;
}

.flash-comment-reply:hover, .flash-comment-edit:hover {
   color: #00ffff;
   background: rgba(0, 255, 255, 0.1);
   transform: translateY(-1px);
}

.flash-comment-delete:hover {
   color: #ff5555;
   background: rgba(255, 85, 85, 0.1);
   transform: translateY(-1px);
}

.flash-comment-admin-actions {
   display: flex;
   gap: 8px;
}

.flash-comment-date {
   color: #666;
   font-size: 0.85rem;
}

.flash-comment-replies {
   margin-top: 15px;
   margin-left: 20px;
   display: flex;
   flex-direction: column;
   gap: 15px;
}

/* Style forum pour les r?ponses avec trait bleu */
.flash-reply .flash-comment-content {
   background: rgba(0, 0, 0, 0.15);
   border-color: rgba(255, 0, 255, 0.1);
}

.flash-reply .flash-comment-content::before {
   border-color: transparent rgba(0, 0, 0, 0.15) transparent transparent;
}

.flash-reply-form {
   margin-top: 15px;
   margin-bottom: 15px;
}

.flash-comments-empty {
   text-align: center;
   color: #999;
   padding: 20px;
   background: rgba(0, 0, 0, 0.2);
   border-radius: 15px;
   position: relative;
   overflow: hidden;
   border: 1px solid rgba(0, 255, 255, 0.1);
}

.flash-comments-empty::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, 
               rgba(0, 255, 255, 0.05) 0%, 
               transparent 50%, 
               rgba(255, 0, 255, 0.05) 100%);
   pointer-events: none;
}

/* Notifications - Style am?lior? */
.flash-notification {
   position: fixed;
   bottom: 80px;
   left: 50%;
   transform: translateX(-50%);
   background: linear-gradient(45deg, rgba(0, 255, 255, 0.8), rgba(255, 0, 255, 0.8));
   color: #fff;
   padding: 10px 20px;
   border-radius: 30px;
   font-weight: bold;
   z-index: 1000;
   box-shadow: 0 0 15px rgba(0, 255, 255, 0.5),
               0 0 10px rgba(255, 0, 255, 0.5);
   opacity: 0;
   transition: opacity 0.3s ease, transform 0.3s ease;
   pointer-events: none;
   text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
   border: 1px solid rgba(255, 255, 255, 0.3);
}

.flash-notification.show {
   opacity: 1;
   transform: translateX(-50%) translateY(-10px);
}

/* Responsive */
@media (max-width: 768px) {
   .flash-news-container {
       padding: 20px 15px;
   }
   
   .flash-breadcrumb {
       width: 100%;
       display: flex;
       justify-content: center;
       text-align: center;
       padding: 8px 5px;
       margin: 0 auto 15px;
   }
   
   .flash-breadcrumb-container {
       padding: 6px 10px;
       border-radius: 20px;
       box-shadow: 0 0 10px rgba(0, 0, 0, 0.6), 0 0 8px rgba(0, 255, 255, 0.2);
   }
   
   #flash-breadcrumb-list {
       justify-content: center;
       gap: 4px;
   }
   
   #flash-breadcrumb-list a,
   #flash-breadcrumb-list .current {
       font-size: 0.85rem;
       padding: 4px 8px;
   }
   
   /* Adaptation de la barre sociale pour tablette */
   .flash-social-share-bar {
       left: 10px !important;
   }
   
   .flash-news-content {
       padding: 15px;
   }
   
   .flash-news-title {
       font-size: 1.6rem;
   }
   
   .flash-news-author {
       flex-direction: column;
       align-items: flex-start;
       gap: 10px;
   }
   
   .flash-news-avatar {
       margin: 0 auto;
   }
   
   .flash-news-author-info, .flash-news-dates {
       width: 100%;
       text-align: center;
   }
   
   /* S'assurer que les dates s'affichent bien en mobile */
.flash-news-dates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.flash-news-date, .flash-news-update-date {
    display: flex;
    align-items: center;
    gap: 5px;
}
   
   h2.flash-news-chapter-title {
       font-size: 1.5rem;
   }
   
   h3.flash-news-chapter-title {
       font-size: 1.3rem;
   }
   
   .flash-game-card {
       flex-direction: column;
       align-items: center;
       text-align: center;
   }
   
   .flash-game-image {
       width: 120px;
       margin-bottom: 15px;
   }
   
   .flash-game-details {
       justify-content: center;
   }
   
   /* Encadr?s et citations responsives */
   .flash-encadres-section {
       grid-template-columns: 1fr;
   }
   
   /* Galerie responsive */
   .flash-galerie-grid {
       grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
   }
   
   /* Articles similaires responsive */
   .flash-article-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .flash-article-related-title {
       font-size: 1.6rem;
   }
   
   .flash-comment {
       padding: 12px;
   }
   
   .flash-comment-header {
       flex-wrap: nowrap;
   }
   
   .flash-comment-avatar {
       width: 35px;
       height: 35px;
   }
   
   .flash-comment-author {
       flex-wrap: wrap;
   }
   
   .flash-comment-body {
       padding-left: 0;
       margin-top: 10px;
   }
   
   .flash-comment-admin-actions {
       position: absolute;
       top: 12px;
       right: 12px;
   }
   
   .flash-comment {
       position: relative;
   }
   
   /* R?ponses mobile */
   .reply-author-section {
       flex-wrap: nowrap !important;
   }
   
   .reply-author-avatar {
       width: 30px !important;
       height: 30px !important;
   }
   
   .reply-author-details {
       min-width: 0;
   }
   
   .user-level-forum {
       font-size: 0.6rem !important;
       margin-left: 0 !important;
       display: inline-block !important;
   }
   
   .user-xp-forum {
       font-size: 0.55rem !important;
       margin-left: 3px !important;
   }
   
   .flash-comment-author {
       flex-wrap: wrap;
       gap: 4px !important;
   }
   
   .flash-comment-content::before {
       display: none;
   }
   
   .flash-comment-form-user {
       flex-direction: column;
       align-items: center;
   }
   
   .flash-comment-actions {
       flex-wrap: wrap;
   }
   
   .flash-comment-date {
       width: 100%;
       margin-top: 5px;
   }
   
   .flash-comment-admin-actions {
       width: 100%;
       justify-content: flex-start;
       margin-top: 5px;
   }
   
   /* Twitter et TikTok responsives */
   .flash-news-twitter, .flash-news-tiktok {
       overflow: hidden;
   }
   
   /* Modal galerie responsive */
   .flash-modal-container {
       width: 95%;
   }
   
   .flash-modal-title {
       font-size: 1.2rem;
   }
   
   /* Formulaire commentaire responsive */
   .flash-comment-submit {
       flex-direction: column;
       align-items: center !important;
       gap: 12px;
   }
   
   .flash-comment-submit small {
       text-align: center;
       order: 2;
   }
   
   .flash-comment-submit button,
   .flash-comment-submit .reply-submit-btn {
       width: auto !important;
       min-width: 200px;
       order: 1;
   }
   
   .reply-form-extras {
       width: 100%;
   }
   
   .form-input {
       width: 100% !important;
       min-width: 0 !important;
       box-sizing: border-box;
   }
   
   .iframe-label {
       width: 100%;
   }
   
   .image-upload-btn {
       width: 100%;
       justify-content: center;
       box-sizing: border-box;
   }
}

@media (max-width: 576px) {
   .flash-news-title {
       font-size: 1.4rem;
   }
   
   .flash-breadcrumb {
       padding: 5px 5px;
       margin: 0 auto 10px;
   }
   
   .flash-breadcrumb-container {
       padding: 5px 8px;
       width: 95%;
   }
   
   .flash-breadcrumb-container::before,
   .flash-breadcrumb-container::after {
       display: none;
   }
   
   #flash-breadcrumb-list a,
   #flash-breadcrumb-list .current {
       font-size: 0.8rem;
       padding: 3px 6px;
   }
   
   .flash-news-chapter p {
       font-size: 0.95rem;
   }
   
   .flash-poll-option label {
       font-size: 0.95rem;
   }
   
/* S'assurer que l'information "Maj" est visible sur mobile */
.flash-news-dates {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.flash-news-date, .flash-news-update-date {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

.flash-favorite-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px auto 0;
    order: 10;
}
   
   /* Grille d'articles en une colonne pour mobile */
   .flash-article-grid {
       grid-template-columns: 1fr;
   }
   
   .flash-article-related-title {
       font-size: 1.4rem;
   }
   
   /* Galerie en grille r?duite */
   .flash-galerie-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .flash-galerie-thumbnail {
       height: 100px;
   }
   
 /* Mobile - Bouton d?roulant pour la barre sociale */
@media (max-width: 768px) {
    .flash-social-share-bar {
        position: fixed !important;
        bottom: 70px !important;
        right: 20px !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        flex-direction: column-reverse !important;
        padding: 0 !important;
        width: 60px !important;
        height: auto !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 10px !important;
        border-radius: 30px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        z-index: 9999 !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    }


    /* Masquer tous les boutons par d?faut */
    .flash-social-button {
        width: 45px !important;
        height: 45px !important;
        margin: 0 !important;
        opacity: 0 !important;
        transform: scale(0.5) translateY(20px) !important;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        pointer-events: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 255, 255, 0.2) !important;
    }

    /* ?tat d?ploy? */
    .flash-social-share-bar.expanded .flash-social-button {
        opacity: 1 !important;
        transform: scale(1) translateY(0) !important;
        pointer-events: auto !important;
    }

    /* Animation en cascade */
    .flash-social-share-bar.expanded .flash-social-button:nth-child(1) {
        transition-delay: 0.05s !important;
    }
    .flash-social-share-bar.expanded .flash-social-button:nth-child(2) {
        transition-delay: 0.1s !important;
    }
    .flash-social-share-bar.expanded .flash-social-button:nth-child(3) {
        transition-delay: 0.15s !important;
    }
    .flash-social-share-bar.expanded .flash-social-button:nth-child(4) {
        transition-delay: 0.2s !important;
    }
    .flash-social-share-bar.expanded .flash-social-button:nth-child(5) {
        transition-delay: 0.25s !important;
    }

    .flash-social-button::after {
        display: none !important;
    }
}

  
   
   /* Modal galerie pour petit ?cran */
   .flash-modal-image {
       max-height: 60vh;
   }
   
   .flash-modal-prev, .flash-modal-next {
       width: 30px;
       height: 30px;
   }
}

  @media (max-width: 576px) {
   /* Code existant... */
   
   /* Ajoutez ceci : */
   .flash-poll-submit {
       font-size: 0.85rem;
       padding: 8px 15px;
       max-width: 90%;
       white-space: normal;
       line-height: 1.2;
   }
   
   .flash-poll-title {
       font-size: 1.2rem;
   }
   
   .flash-poll-option label {
       font-size: 0.9rem;
   }
}

/* Styles pour le formulaire de connexion dans les commentaires */
.flash-comment-login-prompt {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.flash-comment-login-prompt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(0, 255, 255, 0.05) 0%, 
                transparent 50%, 
                rgba(255, 0, 255, 0.05) 100%);
    pointer-events: none;
}

.flash-comment-login-prompt h4 {
    font-size: 1.2rem;
}

.google-login-btn-flash {
    background: #ffffff;
    color: #757575;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 12px 20px;
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-sizing: border-box;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .flash-comment-login-prompt h4 {
        font-size: 1rem;
    }
    
    .google-login-btn-flash {
        font-size: 13px;
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .flash-comment-login-prompt h4 {
        font-size: 0.9rem;
    }
    
    .google-login-btn-flash {
        font-size: 12px;
        padding: 8px 12px;
    }
}

.google-login-btn-flash:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transform: translateY(-1px);
    text-decoration: none;
    color: #757575;
}

.login-separator-flash {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #e6edf3;
    font-size: 14px;
}

.login-separator-flash:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #00ffff, transparent);
    z-index: 0;
}

.login-separator-flash span {
    background: rgba(0, 0, 0, 0.2);
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.flash-login-form {
    width: 100%;
}

.flash-form-field {
    margin-bottom: 15px;
}

.flash-form-field label {
    display: block;
    color: #00ffff;
    font-family: 'Quicksand', sans-serif !important;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.flash-form-field input[type="text"],
.flash-form-field input[type="email"],
.flash-form-field input[type="password"] {
    width: 100%;
    background: rgba(26, 26, 26, 0.7);
    border: 2px solid #00ffff;
    color: #e6edf3;
    border-radius: 6px;
    padding: 10px;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.flash-form-field input:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
    background: rgba(26, 26, 26, 0.9);
}

.flash-form-field-remember {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.flash-form-field-remember input[type="checkbox"] {
    margin-right: 8px;
}

.flash-form-field-remember label {
    color: #e6edf3;
    font-weight: normal;
    font-size: 14px;
}

.flash-login-submit {
    background: #00ffff;
    color: #1a1a1a;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-family: 'Orbitron', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    margin-bottom: 15px;
}

.flash-login-submit:hover {
    background: #ff00ff;
    color: #e6edf3;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.flash-login-submit:disabled {
    background: #555;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

.flash-form-links {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.flash-form-links a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flash-form-links a:hover {
    color: #ff00ff;
    text-decoration: underline;
}

.flash-login-error {
    background: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff3333;
    padding: 10px 15px;
    margin-top: 15px;
    color: #ff3333;
    font-size: 14px;
    border-radius: 0 6px 6px 0;
    font-weight: bold;
}

.flash-login-success {
    background: rgba(0, 255, 0, 0.1);
    border-left: 4px solid #00ff00;
    padding: 10px 15px;
    margin-top: 15px;
    color: #00ff00;
    font-size: 14px;
    border-radius: 0 6px 6px 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .flash-form-links {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===== TABLE DES MATI?RES FLASH-INFO ===== */
.flash-toc-wrapper {
    margin: 30px 0;
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.flash-toc-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.flash-toc-toggle:hover {
    background: rgba(0, 255, 255, 0.05);
}

.flash-toc-toggle svg {
    color: #00ffff;
    flex-shrink: 0;
}

.flash-toc-toggle span {
    font-family: "Orbitron", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #00ffff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.flash-toc-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.flash-toc-wrapper.open .flash-toc-arrow {
    transform: rotate(180deg);
}

.flash-toc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: transparent;
}

.flash-toc-wrapper.open .flash-toc-content {
    max-height: 3000px;
}

.flash-toc-list {
    list-style: none;
    margin: 0;
    padding: 15px 20px;
}

.flash-toc-item {
    margin-bottom: 8px;
}

.flash-toc-item:last-child {
    margin-bottom: 0;
}

.flash-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: #e0e0e0;
    text-decoration: none;
    font-family: "Quicksand", sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.flash-toc-link:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    color: #00ffff;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.flash-toc-item.flash-toc-sub .flash-toc-link {
    padding-left: 30px;
    font-size: 0.85rem;
    background: transparent;
    border-color: rgba(255, 128, 204, 0.3);
}

.flash-toc-item.flash-toc-sub .flash-toc-link:hover {
    border-color: #ff80cc;
    color: #ff80cc;
    text-shadow: 0 0 10px rgba(255, 128, 204, 0.5);
}

.flash-toc-sub-indicator {
    color: #ff80cc;
    font-size: 0.8rem;
}

/* TOC Mobile */
@media (max-width: 768px) {
    .flash-toc-wrapper {
        margin: 20px 0;
    }
    
    .flash-toc-toggle {
        padding: 12px 15px;
    }
    
    .flash-toc-toggle span {
        font-size: 0.85rem;
    }
    
    .flash-toc-list {
        padding: 10px 15px;
    }
    
    .flash-toc-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .flash-toc-item.flash-toc-sub .flash-toc-link {
        padding-left: 20px;
        font-size: 0.8rem;
    }
}

/* ===== BOUTONS DANS LA CARD JEU ===== */
.flash-game-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.flash-game-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-family: "Quicksand", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.flash-avis-button {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 200, 200, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.5) !important;
    color: #00ffff;
}

.flash-avis-button:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(0, 200, 200, 0.2));
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.flash-characters-button {
    background: linear-gradient(135deg, rgba(255, 128, 204, 0.2), rgba(200, 100, 160, 0.1));
    border: 1px solid rgba(255, 128, 204, 0.5);
    color: #ff80cc;
}

.flash-characters-button:hover {
    background: linear-gradient(135deg, rgba(255, 128, 204, 0.3), rgba(200, 100, 160, 0.2));
    box-shadow: 0 0 15px rgba(255, 128, 204, 0.3);
    transform: translateY(-2px);
}

.flash-cheatcodes-button {
    background: linear-gradient(135deg, rgba(255, 200, 50, 0.2), rgba(200, 150, 30, 0.1));
    border: 1px solid rgba(255, 200, 50, 0.5);
    color: #ffc832;
}

.flash-cheatcodes-button:hover {
    background: linear-gradient(135deg, rgba(255, 200, 50, 0.3), rgba(200, 150, 30, 0.2));
    box-shadow: 0 0 15px rgba(255, 200, 50, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Bouton OST vert */
.flash-ost-button {
    background: linear-gradient(135deg, rgba(0, 200, 100, 0.2), rgba(0, 150, 80, 0.1));
    border: 1px solid rgba(0, 200, 100, 0.5);
    color: #00c864;
}

.flash-ost-button:hover {
    background: linear-gradient(135deg, rgba(0, 200, 100, 0.3), rgba(0, 150, 80, 0.2));
    box-shadow: 0 0 15px rgba(0, 200, 100, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ===== MODALE OST FLASH-INFO ===== */
.flash-ost-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.flash-ost-modal.active {
    opacity: 1;
    visibility: visible;
}

.flash-ost-modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(13, 17, 23, 0.98));
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flash-ost-modal-content::-webkit-scrollbar {
    display: none;
}

.flash-ost-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ff80cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ff80cc;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.flash-ost-modal-close:hover {
    background: rgba(255, 128, 204, 0.2);
    transform: rotate(90deg);
}

.flash-ost-modal-title {
    font-family: "Orbitron", sans-serif;
    font-size: 1.1rem;
    color: #00ffff;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    padding: 0 45px;
    line-height: 1.3;
}

/* Grille de cartes OST */
.flash-ost-modal-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.flash-ost-modal-card {
    width: 140px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 128, 204, 0.3);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flash-ost-modal-card:hover {
    border-color: #ff80cc;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 128, 204, 0.2);
}

.flash-ost-modal-cover {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.flash-ost-modal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flash-ost-modal-card:hover .flash-ost-modal-cover img {
    transform: scale(1.1);
}

.flash-ost-modal-info {
    padding: 10px;
}

.flash-ost-modal-name {
    font-family: "Quicksand", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flash-ost-modal-composer {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flash-ost-modal-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #ffc832;
}

.flash-ost-modal-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.flash-ost-modal-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 25px;
    color: #00ffff;
    font-family: "Quicksand", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flash-ost-modal-view-all:hover {
    background: rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    animation: neonTextGlowModal 1.5s ease-in-out infinite;
}

/* ===== MODALE PERSONNAGES FLASH-INFO ===== */
.flash-characters-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.flash-characters-modal.active {
    opacity: 1;
    visibility: visible;
}

.flash-characters-modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(13, 17, 23, 0.98));
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flash-characters-modal-content::-webkit-scrollbar {
    display: none;
}

.flash-characters-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ff80cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ff80cc;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.flash-characters-modal-close:hover {
    background: rgba(255, 128, 204, 0.2);
    transform: rotate(90deg);
}

.flash-characters-modal-title {
    font-family: "Orbitron", sans-serif;
    font-size: 1.1rem;
    color: #00ffff;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    padding: 0 45px;
    line-height: 1.3;
}

.flash-characters-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.flash-characters-modal-character {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 128, 204, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.flash-characters-modal-character:hover {
    border-color: #ff80cc;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 128, 204, 0.2);
}

.flash-characters-modal-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 255, 255, 0.5);
    margin-bottom: 10px;
}

.flash-characters-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-characters-modal-char-name {
    font-family: "Quicksand", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 5px;
}

.flash-characters-modal-char-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #ff80cc;
}

.flash-characters-modal-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.flash-characters-modal-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #00ffff;
    border-radius: 25px;
    color: #00ffff;
    font-family: "Quicksand", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flash-characters-modal-view-all:hover {
    background: rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    animation: neonTextGlowModal 1.5s ease-in-out infinite;
}

/* Carte classement style */
.classement-game-card {
    margin: 25px 0;
}

.classement-game-card h4 {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    color: #fff;
}

@keyframes neonTextGlowModal {
    0% { 
        color: #ffffff; 
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }
    33% { 
        color: #ff80cc; 
        text-shadow: 0 0 10px rgba(255, 128, 204, 0.8);
    }
    66% { 
        color: #00ffff; 
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    }
    100% { 
        color: #ffffff; 
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }
}

/* Mobile pour les boutons et modales */
@media (max-width: 576px) {
    .flash-game-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 220px;
        margin: 15px auto 0;
    }
    
    .flash-game-btn {
        justify-content: center;
        width: 100%;
    }
    
    /* Modale Personnages Mobile */
    .flash-characters-modal-content {
        padding: 20px 15px;
        max-height: 85vh;
    }
    
    .flash-characters-modal-title {
        font-size: 1rem !important;
        padding: 0 30px !important;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .flash-characters-modal-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 12px;
    }
    
    .flash-characters-modal-avatar {
        width: 55px;
        height: 55px;
    }
    
    .flash-characters-modal-char-name {
        font-size: 0.75rem;
    }
    
    /* Modale OST Mobile */
    .flash-ost-modal-content {
        padding: 20px 15px;
        max-height: 90vh;
    }
    
    .flash-ost-modal-title {
        font-size: 1rem !important;
        padding: 0 35px !important;
        margin-bottom: 20px;
    }
    
    .flash-ost-modal-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .flash-ost-modal-grid {
        gap: 10px;
    }
    
    .flash-ost-modal-card {
        width: 100px;
    }
    
    .flash-ost-modal-info {
        padding: 8px;
    }
    
    .flash-ost-modal-name {
        font-size: 0.7rem;
    }
    
    .flash-ost-modal-composer {
        font-size: 0.6rem;
    }
    
    .flash-ost-modal-rating {
        font-size: 0.6rem;
    }
    
    .flash-ost-modal-rating svg {
        width: 10px;
        height: 10px;
    }
    
    .flash-ost-modal-footer {
        padding-top: 15px;
    }
    
    .flash-ost-modal-view-all {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
}

</style>