/* Rekick — styles MVP */

.rekick-match {
    max-width: 760px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Score header */
.rekick-score-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a0a0a;
    color: #fff;
    border-radius: 8px;
    padding: 24px 32px;
    margin-bottom: 12px;
}

.rekick-team { flex: 1; }
.rekick-team.away { text-align: right; }
.team-name { font-size: 1.3em; font-weight: 700; }

.rekick-score {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2.5em;
    font-weight: 900;
}
.score-sep { color: #555; }
.rekick-score .score-penalties {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.4em;
    font-weight: 600;
    color: #999;
    margin-top: 2px;
}
.rekick-score { flex-wrap: wrap; justify-content: center; }

.rekick-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 24px;
    padding: 0 4px;
}

/* Texte réécrit */
.rekick-text {
    line-height: 1.75;
    font-size: 1.05em;
    color: #1a1a1a;
    border-left: 3px solid #0073aa;
    padding-left: 20px;
    margin-bottom: 24px;
}

/* Indicateur live */
.rekick-live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.live-dot {
    width: 8px; height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Formulaire */
.rekick-comment-form {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}
.rekick-comment-form h3 {
    margin: 0 0 16px;
    font-size: 1.1em;
}
.form-row { margin-bottom: 12px; }
.form-row input, .form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95em;
    box-sizing: border-box;
    font-family: inherit;
}
.form-row textarea { resize: vertical; }
.word-counter {
    text-align: right;
    font-size: 0.8em;
    color: #888;
    margin-top: 4px;
}
.word-counter.over { color: #e74c3c; font-weight: bold; }

.rekick-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.95em;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.rekick-btn:hover { background: #005a87; }
.rekick-btn:disabled { background: #aaa; cursor: not-allowed; }

/* Notices */
.rekick-notice {
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 0.9em;
}
.rekick-notice.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.rekick-notice.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Archive notice */
.rekick-archived-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 0.9em;
    margin-bottom: 24px;
    color: #856404;
}

/* Commentaires */
.rekick-comments h4 {
    font-size: 1em;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.comments-list { list-style: none; padding: 0; margin: 0; }
.comment-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.comment-item:last-child { border-bottom: none; }
.comment-item strong { font-size: 0.9em; color: #0073aa; }
.comment-date { font-size: 0.8em; color: #999; margin-left: 8px; }
.comment-item p { margin: 6px 0 0; font-size: 0.9em; color: #444; line-height: 1.5; }
