.tcm-container { max-width: 1020px; margin: 20px auto; font-family: inherit; box-sizing: border-box; }
.tcm-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.tcm-auth-grid { max-width: 480px; margin: 25px auto; }
.tcm-auth-grid.tcm-auth-two-cols { max-width: 960px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tcm-connection-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; background: #0f172a; color: #f8fafc; border: 1px solid #1e293b; padding: 12px 16px; border-radius: 8px; margin-bottom: 15px; }

.tcm-nav-auth-badge { display: inline-block; padding: 5px 12px; border-radius: 15px; font-weight: 600; font-size: 0.85rem; text-decoration: none !important; }
.tcm-nav-connected { background: #166534; color: #ffffff !important; }
.tcm-nav-disconnected { background: #1e293b; color: #ffffff !important; border: 1px solid #334155; }

.tcm-membership-banner { display: flex; justify-content: space-between; align-items: center; border-left: 5px solid #64748b; }
.tcm-status-valid { border-left-color: #16a34a; background: #f0fdf4; }
.tcm-status-expired { border-left-color: #dc2626; background: #fef2f2; }

.tcm-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 15px; }
.tcm-field-group { margin-bottom: 15px; }
.tcm-form label { display: block; margin-bottom: 5px; font-size: 0.92rem; }
.tcm-form input[type="text"], .tcm-form input[type="email"], .tcm-form input[type="date"], .tcm-form input[type="tel"], .tcm-form input[type="password"], .tcm-form input[type="number"], .tcm-form select, .tcm-form textarea {
    width: 100%; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 5px; box-sizing: border-box;
}
.tcm-checkbox-inline { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 6px; }
.tcm-players-checklist { max-height: 140px; overflow-y: auto; border: 1px solid #cbd5e1; padding: 10px; border-radius: 5px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }

.tcm-badge { display: inline-block; padding: 3px 8px; border-radius: 12px; font-size: 0.76rem; font-weight: 600; }
.tcm-badge-green  { background: #dcfce7; color: #166534; }
.tcm-badge-orange { background: #fef3c7; color: #92400e; }
.tcm-badge-red    { background: #fee2e2; color: #991b1b; }
.tcm-badge-blue   { background: #dbeafe; color: #1e40af; }
.tcm-badge-purple { background: #f3e8ff; color: #6b21a8; }
.tcm-badge-gray   { background: #334155; color: #ffffff; }

.tcm-btn, a.tcm-btn {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #0f172a;
    background: #1e293b;
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.15s ease;
    text-align: center;
}
.tcm-btn:hover, a.tcm-btn:hover { background: #334155; color: #ffffff !important; }
.tcm-btn.active, .tcm-btn-primary, a.tcm-btn-primary { background: #2563eb; color: #ffffff !important; border-color: #1d4ed8; }
.tcm-btn.active:hover, .tcm-btn-primary:hover, a.tcm-btn-primary:hover { background: #1d4ed8; }
.tcm-btn-danger, a.tcm-btn-danger  { background: #dc2626; color: #ffffff !important; border-color: #b91c1c; }
.tcm-btn-danger:hover, a.tcm-btn-danger:hover { background: #b91c1c; }
.tcm-btn-watch-active { background: #b45309 !important; color: #ffffff !important; border-color: #92400e !important; }
.tcm-btn-small { padding: 5px 11px; font-size: 0.8rem; }

.tcm-table-link { color: #1e40af !important; text-decoration: underline; }
.tcm-table-link:hover { color: #1d4ed8 !important; }

.tcm-view-switcher { display: flex; gap: 10px; margin-bottom: 15px; }
.tcm-date-group { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; margin-bottom: 16px; }
.tcm-date-group-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed #cbd5e1; }
.tcm-empty-slot-notice { font-size: 0.85rem; color: #1e40af; font-style: italic; padding: 4px 8px; }

.tcm-club-event-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #faf5ff;
    border: 1px solid #d8b4fe;
    border-left: 4px solid #7e22ce;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.tcm-cal-club-event {
    background: #581c87;
    border-left: 4px solid #c084fc;
    color: #ffffff;
    padding: 5px 7px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.tcm-accordion-item { background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; margin-bottom: 8px; overflow: hidden; }
.tcm-accordion-summary {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.2fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
    background: var(--tcm-acc-header-bg, #ffffff);
    transition: filter 0.15s ease;
}
.tcm-accordion-summary:hover { filter: brightness(0.95); }
.tcm-accordion-body { padding: 16px; border-top: 1px solid #e2e8f0; }

/* Vignettes de jeu sur la fiche de la partie */
.tcm-game-mini-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
}
.tcm-fiche-layout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.tcm-fiche-vignette img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    display: block;
}
.tcm-fiche-details {
    flex: 1;
    min-width: 0;
}

.tcm-cal-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.tcm-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #cbd5e1; border-left: 1px solid #cbd5e1; }
.tcm-cal-day-header { background: #1e293b; color: #ffffff; font-weight: 700; text-align: center; padding: 8px; border-right: 1px solid #334155; border-bottom: 1px solid #cbd5e1; font-size: 0.85rem; }
.tcm-cal-cell { min-height: 120px; padding: 6px; border-right: 1px solid #cbd5e1; border-bottom: 1px solid #cbd5e1; background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.tcm-cal-empty { background: #f8fafc; }
.tcm-cal-open-day { background: #f0fdf4; }
.tcm-cal-possible-day { background: #eff6ff; }
.tcm-cal-today { box-shadow: inset 0 0 0 2px #2563eb; }
.tcm-cal-date-num { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.82rem; color: #1e293b; margin-bottom: 4px; }
.tcm-open-dot { font-size: 0.66rem; color: #166534; background: #dcfce7; padding: 1px 5px; border-radius: 8px; font-weight: 700; }
.tcm-possible-dot { font-size: 0.66rem; color: #1e40af; background: #dbeafe; padding: 1px 5px; border-radius: 8px; font-weight: 700; }

.tcm-cal-event { background: #1e293b; border-left: 4px solid #3b82f6; color: #ffffff; padding: 5px 7px; border-radius: 4px; font-size: 0.75rem; margin-bottom: 5px; cursor: pointer; line-height: 1.3; }
.tcm-cal-event:hover { background: #334155; }

.tcm-cal-propose-slot { margin-top: auto; padding-top: 4px; }
.tcm-cal-propose-btn { width: 100%; background: #15803d; color: #ffffff !important; border: none; border-radius: 4px; padding: 5px 6px; font-size: 0.72rem; font-weight: 600; cursor: pointer; margin-bottom: 3px; }
.tcm-cal-propose-btn:hover { background: #166534; }
.tcm-cal-propose-link { display: block; text-align: center; background: #1e293b; color: #ffffff !important; padding: 4px 6px; border-radius: 4px; font-size: 0.7rem; text-decoration: none !important; margin-bottom: 3px; }

.tcm-cal-watch-btn { width: 100%; background: #334155; color: #ffffff !important; border: 1px solid #1e293b; border-radius: 4px; padding: 4px 6px; font-size: 0.7rem; font-weight: 600; cursor: pointer; }
.tcm-cal-watch-btn.active { background: #b45309; color: #ffffff !important; border-color: #92400e; }

.tcm-comments-section { margin-top: 14px; padding-top: 10px; border-top: 1px solid #e2e8f0; font-size: 0.88rem; }
.tcm-comments-list { max-height: 180px; overflow-y: auto; margin-top: 6px; background: #f8fafc; padding: 8px 10px; border-radius: 6px; }
.tcm-comment-item { padding: 4px 0; border-bottom: 1px dashed #e2e8f0; }
.tcm-comment-item:last-child { border-bottom: none; }

.tcm-table { width: 100%; border-collapse: collapse; }
.tcm-table th, .tcm-table td { padding: 10px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.tcm-warnings { background: #fffbeb; border-left: 3px solid #f59e0b; padding: 6px 10px; font-size: 0.85rem; }
.tcm-session-actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }

.tcm-gm-space-card {
    background: var(--tcm-gm-bg, #faf5ff) !important;
    border: 2px solid var(--tcm-gm-border, #9333ea) !important;
    border-left-width: 6px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.tcm-gm-space-summary {
    background: var(--tcm-gm-header-bg, #6b21a8);
    color: var(--tcm-gm-header-text, #ffffff) !important;
    padding: 12px 16px;
    border-radius: 6px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.15s ease;
}
.tcm-gm-space-summary::-webkit-details-marker { display: none; }
.tcm-gm-space-summary::after { content: "▼"; font-size: 0.8rem; margin-left: 10px; }
details[open] > .tcm-gm-space-summary::after { content: "▲"; }
.tcm-gm-space-summary:hover { opacity: 0.92; }

.tcm-gm-panel {
    margin-top: 15px;
    padding: 12px 14px;
    background: var(--tcm-gm-bg, #faf5ff);
    border: 1px solid var(--tcm-gm-border, #9333ea);
    border-left: 4px solid var(--tcm-gm-border, #9333ea);
    border-radius: 6px;
}
.tcm-gm-panel > details > summary {
    cursor: pointer;
    color: var(--tcm-gm-header-bg, #6b21a8);
}

.tcm-form-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tcm-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 15px; font-weight: 600; }
.tcm-alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.tcm-alert-error, .tcm-alert-warning { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.tcm-summary-btn { cursor: pointer; font-weight: 700; font-size: 1.05rem; }

/* Carrousel Public [tcm_events_carousel] */
.tcm-carousel-wrapper { position: relative; display: flex; align-items: center; margin: 15px 0; }
.tcm-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 4px 16px 4px;
    width: 100%;
    scrollbar-width: none;
}
.tcm-carousel-track::-webkit-scrollbar { display: none; }

.tcm-carousel-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 290px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.07);
}
.tcm-carousel-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tcm-carousel-visual.is-club-event { background: linear-gradient(135deg, #4c1d95, #1e1b4b); }
.tcm-carousel-fallback-icon { font-size: 3.5rem; opacity: 0.35; }

.tcm-carousel-format-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tcm-carousel-body { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.tcm-carousel-title { margin: 0 0 10px 0; font-size: 1.15rem; color: #0f172a; line-height: 1.3; }

.tcm-carousel-dates-stack { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.tcm-date-seat-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; }
.tcm-date-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}
.tcm-seat-pill {
    font-size: 0.73rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}
.tcm-seat-pill.is-open { background: #dcfce7; color: #166534; }
.tcm-seat-pill.is-full { background: #fee2e2; color: #991b1b; }
.tcm-date-more { background: #1e293b; color: #ffffff; padding: 2px 10px; font-weight: 800; }

.tcm-carousel-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.tcm-carousel-warnings {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding: 4px 8px;
    font-size: 0.78rem;
    color: #92400e;
    margin-bottom: 8px;
    border-radius: 3px;
}
.tcm-carousel-desc { font-size: 0.86rem; color: #475569; line-height: 1.45; margin: 0 0 6px 0; flex: 1; }
.tcm-read-more-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    text-decoration: underline;
}
.tcm-carousel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    margin-top: auto;
}
.tcm-carousel-meta { font-size: 0.78rem; color: #64748b; font-weight: 600; }

.tcm-carousel-nav {
    background: #0f172a;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 5;
    flex-shrink: 0;
}
.tcm-carousel-prev { margin-right: -12px; }
.tcm-carousel-next { margin-left: -12px; }
.tcm-carousel-nav:hover { background: #2563eb; }

/* Fenêtre Popup Modale du Carrousel */
.tcm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.tcm-modal-dialog {
    background: #ffffff;
    border-radius: 12px;
    max-width: 620px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    color: #0f172a;
}
.tcm-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}
.tcm-modal-close:hover { background: #e2e8f0; }
.tcm-modal-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
    padding-right: 30px;
}
.tcm-modal-thumb {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
}
.tcm-modal-section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
}
.tcm-modal-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .tcm-carousel-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
    .tcm-carousel-card { flex: 0 0 88%; }
    .tcm-carousel-nav { display: none; }
}

@media (max-width: 768px) {
    .tcm-container { padding: 0 8px; }
    .tcm-card { padding: 14px; }
    .tcm-connection-bar { flex-direction: column; align-items: stretch; text-align: center; }
    .tcm-cal-nav { flex-direction: column; align-items: stretch; text-align: center; }
    .tcm-view-switcher { justify-content: center; width: 100%; }
    .tcm-view-switcher .tcm-btn { flex: 1; }

    .tcm-accordion-summary { grid-template-columns: 1fr; gap: 6px; padding: 10px 12px; }
    .tcm-cal-grid { grid-template-columns: 1fr; }
    .tcm-cal-day-header, .tcm-cal-empty { display: none; }
    .tcm-cal-cell { min-height: auto; padding: 10px; }

    .tcm-fiche-layout { flex-direction: column; align-items: center; text-align: left; }
    .tcm-fiche-vignette img { width: 160px; height: 160px; margin-bottom: 6px; }

    .tcm-modal-header { flex-direction: column; align-items: flex-start; }

    .tcm-responsive-table thead { display: none; }
    .tcm-responsive-table, .tcm-responsive-table tbody, .tcm-responsive-table tr, .tcm-responsive-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .tcm-responsive-table tr {
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        margin-bottom: 14px;
        padding: 10px 12px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }
    .tcm-responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 7px 0;
        border-bottom: 1px dashed #e2e8f0;
        gap: 10px;
    }
    .tcm-responsive-table td:last-child { border-bottom: none; }
    .tcm-responsive-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #334155;
        text-align: left;
        font-size: 0.84rem;
        flex-shrink: 0;
    }
}

.tcm-gm-space-card {
    background-color: var(--tcm-gm-bg, #faf5ff) !important;
    border-color: var(--tcm-gm-border, #9333ea) !important;
    color: var(--tcm-gm-bg-text, #0f172a);
}
.tcm-gm-space-summary {
    background-color: var(--tcm-gm-header-bg, #6b21a8) !important;
    color: var(--tcm-gm-header-text, #ffffff) !important;
}
.tcm-accordion-summary, .tcm-date-group-header {
    background-color: var(--tcm-acc-header-bg, #ffffff) !important;
    color: var(--tcm-acc-header-text, #0f172a) !important;
}
.tcm-accordion-summary .tcm-acc-date, .tcm-accordion-summary .tcm-acc-game strong, .tcm-accordion-summary .tcm-acc-gm, .tcm-date-group-header strong {
    color: inherit !important;
}
.tcm-cal-event {
    background-color: var(--tcm-grid-event-bg, #1e293b) !important;
    color: var(--tcm-grid-event-text, #ffffff) !important;
}
.tcm-cal-event strong, .tcm-cal-event small {
    color: inherit !important;
}

/* Couleurs dynamiques des cellules de grille selon l'état */
.tcm-cal-cell.tcm-cal-open-day {
    background-color: var(--tcm-open-day-bg, #f0fdf4) !important;
    color: var(--tcm-open-day-text, #0f172a);
}
.tcm-cal-cell.tcm-cal-possible-day {
    background-color: var(--tcm-possible-day-bg, #eff6ff) !important;
    color: var(--tcm-possible-day-text, #0f172a);
}

/* Couleurs dynamiques de la vue Accordéon selon l'état */
.tcm-date-group.tcm-date-group-open > .tcm-date-group-header {
    background-color: var(--tcm-open-day-bg, #f0fdf4) !important;
    color: var(--tcm-open-day-text, #0f172a) !important;
}
.tcm-date-group.tcm-date-group-possible > .tcm-date-group-header {
    background-color: var(--tcm-possible-day-bg, #eff6ff) !important;
    color: var(--tcm-possible-day-text, #0f172a) !important;
}

/* Couleurs dynamiques des boutons Proposer une partie & Surveiller */
.tcm-cal-propose-btn,
.tcm-propose-custom-btn {
    background-color: var(--tcm-propose-btn-bg, #2563eb) !important;
    color: var(--tcm-propose-btn-text, #ffffff) !important;
    border-color: var(--tcm-propose-btn-bg, #2563eb) !important;
}
.tcm-cal-watch-btn,
.tcm-watch-custom-btn {
    background-color: var(--tcm-watch-btn-bg, #f1f5f9) !important;
    color: var(--tcm-watch-btn-text, #0f172a) !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
}

/* Organisation de l'entête d'agenda sur 2 lignes & Liens Webcal hypertexte */
.tcm-cal-top-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tcm-cal-top-row, .tcm-cal-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.tcm-cal-bottom-row {
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
}
.tcm-webcal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
a.tcm-webcal-plain-link {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #2563eb !important;
    text-decoration: underline !important;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
}
a.tcm-webcal-plain-link:hover {
    color: #1d4ed8 !important;
}

/* Couleur de fond des jours dans la grille du calendrier */
.tcm-cal-cell {
    background: var(--tcm-grid-day-bg, #ffffff) !important;
    color: var(--tcm-grid-day-text, #0f172a) !important;
}
.tcm-cal-cell.tcm-cal-open-day {
    background: var(--tcm-open-day-bg, #f0fdf4) !important;
    color: var(--tcm-open-day-text, #0f172a) !important;
}
.tcm-cal-cell.tcm-cal-possible-day {
    background: var(--tcm-possible-day-bg, #eff6ff) !important;
    color: var(--tcm-possible-day-text, #0f172a) !important;
}

/* Couleur des Événements du Club dans le calendrier */
.tcm-cal-club-event, .tcm-club-event-banner {
    background: var(--tcm-club-event-bg, #7e22ce) !important;
    color: var(--tcm-club-event-text, #ffffff) !important;
    border-left-color: rgba(0, 0, 0, 0.25) !important;
}

/* Fond et léger padding des cadres contenant les dates dans la vue Liste Accordéon */
.tcm-date-group {
    background: var(--tcm-acc-date-box-bg, #f8fafc) !important;
    color: var(--tcm-acc-date-box-text, #0f172a) !important;
    padding: 10px !important;
    border-radius: 8px;
}
.tcm-date-group-header {
    border-radius: 6px;
    margin-bottom: 6px;
}

/* Fond des cadres Option 1 et Option 2 dans l'Espace Meneur */
.tcm-gm-opt1-box {
    background: var(--tcm-gm-opt1-bg, #eff6ff) !important;
    color: var(--tcm-gm-opt1-text, #1e3a8a) !important;
}
.tcm-gm-opt2-box {
    background: var(--tcm-gm-opt2-bg, #f8fafc) !important;
    color: var(--tcm-gm-opt2-text, #0f172a) !important;
}

/* Fond des indicateurs (style de jeu, type/format, etc.) */
.tcm-indicator-badge, .tcm-carousel-tags .tcm-badge, .tcm-modal-header .tcm-badge {
    background: var(--tcm-indicator-bg, #e0e7ff) !important;
    color: var(--tcm-indicator-text, #1e1b4b) !important;
}

/* Indication de paternité en caractère 6pt sous le calendrier à droite */
.tcm-plugin-credit {
    text-align: right;
    font-size: 6pt;
    line-height: 1.2;
    color: #64748b;
    margin-top: 4px;
    padding-right: 4px;
}