:root {
    --primary: #1a472a;
    --primary-light: #2d7a4a;
    --primary-dark: #0e2e1a;
    --accent: #f0c040;
    --bg: #f5f5f5;
    --card-bg: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --danger: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 80px;
}

.header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 28px;
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
}

.equipe-switcher select {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.equipe-switcher select option {
    background: #333;
    color: white;
}

.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    overflow-x: auto;
}

.nav-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
    flex-shrink: 0;
    min-width: 62px;
}

.nav-btn.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-icon {
    font-size: 22px;
}

.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.page-header h2 {
    font-size: 24px;
    color: var(--primary);
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-card, .match-card, .event-card, .annonce-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
    position: relative;
}

.player-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.player-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.player-info .player-detail {
    font-size: 13px;
    color: var(--text-light);
}

.player-actions {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.photo-upload {
    text-align: center;
    margin-bottom: 16px;
}

.photo-upload img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: 10px;
}

.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    line-height: 1.3;
    margin: 0 auto;
    border: 2px dashed var(--text-light);
    transition: background 0.2s;
}

.photo-placeholder:hover {
    background: #ddd;
}

.match-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-type {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.type-amical { background: #e8f5e9; color: #2e7d32; }
.type-championnat { background: #e3f2fd; color: #1565c0; }
.type-coupe { background: #fff3e0; color: #ef6c00; }

.match-score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 28px;
    font-weight: 700;
    padding: 10px 0;
}

.match-team {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.match-meta {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.match-status {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-prevu { background: #e3f2fd; color: #1565c0; }
.status-gagne { background: #e8f5e9; color: #2e7d32; }
.status-perdu { background: #ffebee; color: #c62828; }
.status-nul { background: #fff8e1; color: #f57f17; }

/* ========== SCORE EN DIRECT ========== */

.match-card.match-live {
    border: 2px solid var(--danger);
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.35);
}

.live-badge {
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    animation: pulse-live 1.2s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.score-side {
    text-align: center;
    min-width: 90px;
}

.score-big {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
}

.score-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 6px;
}

.score-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    font-weight: 800;
    color: white;
    cursor: pointer;
    transition: transform 0.1s;
}

.score-btn:active {
    transform: scale(0.85);
}

.score-btn-plus {
    background: var(--success);
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.4);
}

.score-btn-minus {
    background: #95a5a6;
}

.btn-live {
    background: var(--danger);
    color: white;
    font-weight: 600;
}

.btn-finish {
    background: var(--warning);
    color: white;
    font-weight: 600;
}

.event-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.event-info p {
    font-size: 13px;
    color: var(--text-light);
}

.annonce-card {
    border-left: 4px solid var(--accent);
    position: relative;
}

.annonce-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.annonce-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.annonce-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.search-bar {
    margin-bottom: 14px;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-bar input:focus {
    border-color: var(--primary);
}

.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 20px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.table-container {
    overflow-x: auto;
}

.classement-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.classement-table th {
    background: var(--primary);
    color: white;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.classement-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.classement-table tr:last-child td {
    border-bottom: none;
}

.classement-table tr:nth-child(-n+3) td:first-child {
    font-weight: 700;
}

.pts-cell {
    font-weight: 700;
    color: var(--primary);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 18px;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

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

.delete-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.delete-btn:hover {
    background: #ffebee;
}

.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
}

.score-win { color: var(--success); }
.score-lose { color: var(--danger); }
.score-draw { color: var(--warning); }

/* ========== COACH ========== */

.coach-card {
    position: relative;
}

.coach-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.coach-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid var(--primary-light);
}

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

.coach-avatar span {
    font-size: 32px;
}

.coach-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.coach-info p {
    font-size: 13px;
    color: var(--text-light);
}

.coach-bio {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ========== COMPOSITION ========== */

.btn-composition {
    background: var(--primary-light);
    color: white;
    font-weight: 600;
}

.btn-composition:active {
    background: var(--primary);
}

.match-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.compo-info {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.compo-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    text-align: center;
}

.compo-count.too-many {
    color: var(--danger);
}

.compo-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 50vh;
    overflow-y: auto;
}

.compo-legend {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.dot-titulaire { background: var(--primary); }
.dot-remplacant { background: #ddd; }

.compo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    border: 2px solid #e8e8e8;
    background: #fafafa;
    transition: all 0.2s;
}

.compo-row:hover {
    background: #f0f0f0;
}

.compo-row.row-titulaire {
    background: #e8f5e9;
    border-color: var(--primary-light);
}

.compo-row.row-titulaire:hover {
    background: #d4ecd6;
}

.compo-poste-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 600;
}

.compo-role-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(26, 71, 42, 0.3);
}

/* ========== EQUIPES ========== */

.equipe-card {
    position: relative;
    border-left: 5px solid var(--equipe-couleur, var(--primary));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.equipe-card.equipe-active {
    box-shadow: 0 0 0 2px var(--equipe-couleur, var(--primary));
}

.equipe-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.equipe-avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--equipe-couleur, var(--primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.equipe-identity h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.btn-utilise {
    background: #e8f5e9;
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* ========== COMPOSITION SUR LA CARTE ========== */

.match-compo {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.compo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.formation-badge {
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.formation-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.pitch {
    position: relative;
    width: 100%;
    height: 300px;
    background:
        repeating-linear-gradient(0deg, #37964f 0 12px, #3fa35a 12px 24px);
    border: 3px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.pitch-markings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pm-box {
    position: absolute;
    width: 58%;
    height: 14%;
    border: 3px solid rgba(255,255,255,0.85);
}

.pm-box-top {
    top: 0;
    left: 21%;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.pm-box-bottom {
    bottom: 0;
    left: 21%;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.pm-goal {
    position: absolute;
    width: 34%;
    height: 4.5%;
    border: 2px solid rgba(255,255,255,0.85);
}

.pm-goal-top {
    top: 0;
    left: 33%;
    border-top: none;
}

.pm-goal-bottom {
    bottom: 0;
    left: 33%;
    border-bottom: none;
}

.pm-half {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 3px solid rgba(255,255,255,0.85);
}

.pm-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22%;
    height: 22%;
    border: 3px solid rgba(255,255,255,0.85);
    border-radius: 50%;
}

.pm-arrow-top {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

.pitch-player {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 56px;
    z-index: 2;
}

.pitch-jersey {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #f2f2f2);
    color: #1a472a;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid var(--primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.pitch-name {
    background: rgba(0,0,0,0.65);
    color: white;
    font-size: 9.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 8px;
    white-space: nowrap;
}

.pitch-poste {
    display: none;
}

.compo-subs {
    margin-top: 4px;
}

.compo-block {
    margin-bottom: 10px;
}

.compo-block-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.compo-block:first-child .compo-block-title {
    color: var(--primary);
}

.lineup {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lineup-player {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f2f2f2;
    border-radius: 6px;
    padding: 3px 8px 3px 3px;
    font-size: 12px;
}

.compo-block:first-child .lineup-player {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.lineup-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lineup-name {
    white-space: nowrap;
}

.lineup-empty {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

.compo-player {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    font-size: 14px;
    font-weight: 600;
}

.player-avatar.small {
    width: 32px;
    height: 32px;
    font-size: 13px;
}

.compo-poste {
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    background: white;
    flex-shrink: 0;
}

.compo-role-btn {
    padding: 6px 12px;
    border: 2px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    background: white;
    color: var(--text-light);
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.compo-role-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========== BOUTONS D'EDITION ========== */

.edit-btn {
    background: none;
    border: none;
    color: #1565c0;
    cursor: pointer;
    font-size: 17px;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.edit-btn:hover {
    background: #e3f2fd;
}

.match-header-actions,
.coach-actions,
.equipe-actions,
.event-actions,
.annonce-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}

.event-info {
    padding-right: 70px;
}

.match-actions {
    flex-wrap: wrap;
    gap: 6px;
}

.btn-stats {
    background: #7b1fa2;
    color: white;
    font-weight: 600;
}

.btn-stats:active {
    background: #4a148c;
}

.player-avatar[onclick] {
    cursor: pointer;
}

/* ========== BUTEURS ========== */

.buteurs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.buteur-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 10px;
}

.buteur-rank {
    font-weight: 800;
    font-size: 15px;
    color: var(--text-light);
    width: 22px;
    flex-shrink: 0;
}

.buteur-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.buteur-info strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buteur-stats {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.buteur-but {
    font-size: 14px;
    font-weight: 700;
    color: var(--success);
}

.buteur-pass {
    font-size: 12px;
    color: var(--text-light);
}

.stat-buts {
    display: inline-block;
    background: var(--success);
    color: white;
    border-radius: 20px;
    padding: 1px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

/* ========== STATS PAR MATCH ========== */

.stats-match-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 55vh;
    overflow-y: auto;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.stats-player {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    min-width: 0;
}

.stats-fields {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.stats-fields label {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: var(--text-light);
    gap: 2px;
}

.stats-fields input {
    width: 52px;
    padding: 6px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
}
