/* AFIWAI Club Manager — public UI 1.0.20
 * Feuille reconstruite à zéro pour supprimer les anciennes couches contradictoires.
 */

.acm-app,
.acm-app *,
.acm-standalone-events,
.acm-standalone-events *,
.acm-auth-card,
.acm-auth-card * {
    box-sizing: border-box;
}

.acm-app,
.acm-standalone-events {
    --acm-accent: #f7931a;
    --acm-accent-dark: #db7807;
    --acm-black: #111111;
    --acm-white: #ffffff;
    --acm-line: rgba(17, 17, 17, .16);
    --acm-muted: #686868;
    --acm-green: #2d9d55;
    --acm-green-soft: #e9f8ee;
    --acm-orange-soft: #fff3e3;
    --acm-red: #d94b3d;
    --acm-red-soft: #fff0ee;
    --acm-gray: #737981;
    --acm-gray-soft: #f1f2f4;
    color: var(--acm-black);
    font-family: inherit;
}

.acm-app {
    width: min(1180px, calc(100% - 24px));
    margin: 28px auto;
}

.acm-standalone-events {
    width: min(1120px, 100%);
    margin: 0 auto;
}

/* App shell */
.acm-app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
    border: 1px solid var(--acm-line);
    border-radius: 26px 26px 0 0;
    background: var(--acm-black);
    color: var(--acm-white);
}

.acm-kicker {
    display: inline-block;
    color: var(--acm-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.acm-app-head h1 {
    margin: 5px 0 0;
    color: var(--acm-white);
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.05;
    text-transform: uppercase;
}

.acm-logout {
    color: var(--acm-white) !important;
    text-decoration: none !important;
    font-weight: 800;
}

.acm-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 8px;
    border: 1px solid var(--acm-line);
    border-top: 0;
    background: var(--acm-white);
    scrollbar-width: thin;
}

.acm-nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--acm-black) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.acm-nav a.is-active {
    background: var(--acm-accent);
}

.acm-nav b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 6px;
    border-radius: 999px;
    background: var(--acm-black);
    color: var(--acm-white);
    font-size: 11px;
}

.acm-content {
    padding: 22px 0;
}

.acm-hero {
    padding: 28px;
    border: 1px solid var(--acm-line);
    border-radius: 26px;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
    box-shadow: 0 16px 38px rgba(17, 17, 17, .07);
}

.acm-hero span,
.acm-section-title > span {
    color: #d66f00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.acm-hero h2,
.acm-section-title h2 {
    margin: 6px 0 8px;
    color: var(--acm-black);
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1;
    text-transform: uppercase;
}

.acm-section-title {
    margin: 8px 0 12px;
}

.acm-card-grid,
.acm-event-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

/* Event cards */
.acm-sport-card {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--acm-line);
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #fffdfa 100%);
    box-shadow: 0 14px 30px rgba(17, 17, 17, .07);
}

.acm-sport-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--acm-accent);
}

.acm-sport-card__body {
    min-width: 0;
}

.acm-sport-card__date {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    padding: 12px;
    border: 1px solid var(--acm-black);
    border-radius: 18px;
    background: var(--acm-black);
    color: var(--acm-white);
    text-align: center;
    box-shadow: 0 8px 20px rgba(17, 17, 17, .16);
}

.acm-sport-card__date strong {
    font-size: 38px;
    line-height: 1;
}

.acm-sport-card__date span {
    margin-top: 7px;
    color: #ffc36b;
    font-weight: 900;
}

.acm-date-weekday {
    margin: 0 0 5px !important;
    color: var(--acm-white) !important;
    font-size: 9px !important;
    letter-spacing: .16em;
}

.acm-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 36px;
}

.acm-card-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.acm-pill,
.acm-cancelled-badge,
.acm-my-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
}

.acm-pill {
    border: 1px solid var(--acm-black);
    background: var(--acm-accent);
    color: var(--acm-black);
}

.acm-cancelled-badge {
    background: var(--acm-black);
    color: var(--acm-white);
}

.acm-my-status {
    min-width: 110px;
    border: 1px solid var(--acm-line);
    background: #f7f7f7;
    color: var(--acm-black);
}

.acm-my-status--present,
.acm-my-status--available {
    border-color: var(--acm-green);
    background: var(--acm-green-soft);
    color: #176b38;
}

.acm-my-status--absent,
.acm-my-status--not_available {
    border-color: var(--acm-accent);
    background: var(--acm-orange-soft);
    color: #9b5200;
}

.acm-my-status--injured {
    border-color: var(--acm-red);
    background: var(--acm-red-soft);
    color: #a42a20;
}

.acm-my-status--uncertain,
.acm-my-status--empty {
    border-color: #9aa0a8;
    background: var(--acm-gray-soft);
    color: #555b63;
}

.acm-sport-card h3 {
    margin: 10px 0 5px;
    color: var(--acm-black);
    font-size: clamp(20px, 3vw, 29px);
    line-height: 1.1;
    text-transform: uppercase;
}

.acm-sport-card p {
    margin: 0;
    color: #555;
}

.acm-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.acm-event-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--acm-line);
    border-radius: 999px;
    background: var(--acm-white);
    color: #333;
    font-size: 12px;
    font-weight: 800;
}

.acm-sport-card.is-cancelled {
    opacity: .84;
    background: #f7f7f7;
}

.acm-cancelled-message {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--acm-line);
    border-radius: 14px;
    background: var(--acm-white);
    color: #444;
    font-weight: 800;
}

/* Response panel — primary action, never hidden in an accordion */
.acm-response-zone {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 16px;
    padding: 15px;
    overflow: visible !important;
    border: 1px solid var(--acm-black);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
    box-shadow: inset 0 4px 0 var(--acm-accent);
}

.acm-response-zone__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.acm-subheading {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.acm-subheading span {
    color: #d66f00;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
}

.acm-subheading strong {
    color: var(--acm-black);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.acm-response-hint {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--acm-black);
    color: var(--acm-white);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.acm-response-form {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.acm-response-buttons {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.acm-sport-card.is-match .acm-response-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 620px !important;
}

/* High specificity + reset to prevent Divi button rules from hiding/breaking these controls. */
.acm-app .acm-response-buttons > button.acm-response-btn,
.acm-standalone-events .acm-response-buttons > button.acm-response-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 52px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 11px 12px !important;
    overflow: visible !important;
    border: 1px solid var(--acm-black) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    background-image: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    color: var(--acm-black) !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    cursor: pointer !important;
    transform: none;
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
    z-index: 2 !important;
}

.acm-app .acm-response-buttons > button.acm-response-btn::before,
.acm-app .acm-response-buttons > button.acm-response-btn::after,
.acm-standalone-events .acm-response-buttons > button.acm-response-btn::before,
.acm-standalone-events .acm-response-buttons > button.acm-response-btn::after {
    display: none !important;
    content: none !important;
}

.acm-response-btn:active {
    transform: translateY(1px) !important;
}

.acm-response-btn--present,
.acm-response-btn--available {
    background: var(--acm-green-soft) !important;
    border-color: var(--acm-green) !important;
    color: #176b38 !important;
}

.acm-response-btn--present.is-selected,
.acm-response-btn--available.is-selected,
.acm-response-btn--present:hover,
.acm-response-btn--available:hover {
    background: var(--acm-green) !important;
    border-color: #247d45 !important;
    color: var(--acm-white) !important;
}

.acm-response-btn--absent,
.acm-response-btn--not_available {
    background: var(--acm-orange-soft) !important;
    border-color: var(--acm-accent) !important;
    color: #9b5200 !important;
}

.acm-response-btn--absent.is-selected,
.acm-response-btn--not_available.is-selected,
.acm-response-btn--absent:hover,
.acm-response-btn--not_available:hover {
    background: var(--acm-accent) !important;
    border-color: var(--acm-accent-dark) !important;
    color: var(--acm-black) !important;
}

.acm-response-btn--injured {
    background: var(--acm-red-soft) !important;
    border-color: var(--acm-red) !important;
    color: #a42a20 !important;
}

.acm-response-btn--injured.is-selected,
.acm-response-btn--injured:hover {
    background: var(--acm-red) !important;
    border-color: #b93d31 !important;
    color: var(--acm-white) !important;
}

.acm-response-btn--uncertain {
    background: var(--acm-gray-soft) !important;
    border-color: #8a9099 !important;
    color: #555b63 !important;
}

.acm-response-btn--uncertain.is-selected,
.acm-response-btn--uncertain:hover {
    background: var(--acm-gray) !important;
    border-color: #5f646b !important;
    color: var(--acm-white) !important;
}

.acm-response-form.is-saving .acm-response-btn {
    opacity: .62 !important;
    cursor: wait !important;
}

.acm-comment-field {
    display: grid !important;
    gap: 6px !important;
    color: #333;
    font-size: 12px;
    font-weight: 800;
}

.acm-comment-field textarea,
.acm-response-form textarea,
.acm-response-form select,
.acm-profile-card input,
.acm-form input {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(17, 17, 17, .22);
    border-radius: 12px;
    background: var(--acm-white);
    color: var(--acm-black);
    font: inherit;
}

.acm-comment-field textarea,
.acm-response-form textarea {
    min-height: 74px;
    resize: vertical;
}

.acm-async-feedback {
    margin: 0;
    padding: 9px 12px;
    border: 1px solid rgba(25, 135, 84, .28);
    border-radius: 12px;
    background: #eef9f2;
    color: #126b37;
    font-size: 12px;
    font-weight: 900;
}

.acm-async-feedback[hidden] {
    display: none !important;
}

.acm-async-feedback.is-error {
    border-color: rgba(180, 35, 24, .25);
    background: #fff2f0;
    color: #b42318;
}

/* Roster accordion — secondary information */
.acm-accordion {
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--acm-black);
    border-radius: 16px;
    background: var(--acm-white);
}

.acm-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
    padding: 12px 15px;
    list-style: none;
    background: var(--acm-black);
    color: var(--acm-white);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.acm-accordion summary::-webkit-details-marker {
    display: none;
}

.acm-accordion summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--acm-accent);
    color: var(--acm-black);
    font-size: 18px;
    line-height: 1;
}

.acm-accordion[open] summary::after {
    content: "–";
}

.acm-accordion summary small {
    color: #ffc36b;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.acm-accordion__inside {
    padding: 16px !important;
    background: var(--acm-white);
}

.acm-roster-zone {
    min-width: 0;
}

.acm-roster-zone > .acm-subheading {
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(17, 17, 17, .13);
}

.acm-roster-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.acm-roster-group {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--acm-line);
    border-radius: 14px;
    background: var(--acm-white);
}

.acm-roster-group__head {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(17, 17, 17, .1);
    background: #fafafa;
}

.acm-roster-group__head strong {
    font-size: 12px;
    text-transform: uppercase;
}

.acm-roster-group__head b,
.acm-roster-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.acm-roster-group__head b {
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    border: 1px solid var(--acm-black);
    background: var(--acm-white);
    color: var(--acm-black);
}

.acm-roster-icon {
    width: 25px;
    height: 25px;
    background: var(--acm-black);
    color: var(--acm-white);
}

.acm-roster-group--present,
.acm-roster-group--available {
    border-color: rgba(45, 157, 85, .45);
    background: #f3fbf6;
}

.acm-roster-group--present .acm-roster-group__head,
.acm-roster-group--available .acm-roster-group__head {
    background: var(--acm-green-soft);
}

.acm-roster-group--present .acm-roster-icon,
.acm-roster-group--available .acm-roster-icon {
    background: var(--acm-green);
}

.acm-roster-group--absent,
.acm-roster-group--not_available {
    border-color: rgba(247, 147, 26, .5);
    background: #fffaf3;
}

.acm-roster-group--absent .acm-roster-group__head,
.acm-roster-group--not_available .acm-roster-group__head {
    background: var(--acm-orange-soft);
}

.acm-roster-group--absent .acm-roster-icon,
.acm-roster-group--not_available .acm-roster-icon {
    background: var(--acm-accent);
    color: var(--acm-black);
}

.acm-roster-group--injured {
    border-color: rgba(217, 75, 61, .45);
    background: #fff7f6;
}

.acm-roster-group--injured .acm-roster-group__head {
    background: var(--acm-red-soft);
}

.acm-roster-group--injured .acm-roster-icon {
    background: var(--acm-red);
}

.acm-roster-group--uncertain,
.acm-roster-group--pending {
    border-color: rgba(115, 121, 129, .38);
    background: #fafafa;
}

.acm-roster-group--uncertain .acm-roster-group__head,
.acm-roster-group--pending .acm-roster-group__head {
    background: var(--acm-gray-soft);
}

.acm-roster-group--uncertain .acm-roster-icon,
.acm-roster-group--pending .acm-roster-icon {
    background: var(--acm-gray);
}

.acm-roster-list {
    display: grid;
    padding: 4px 10px 8px;
}

.acm-roster-person {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid rgba(17, 17, 17, .07);
}

.acm-roster-person:last-child {
    border-bottom: 0;
}

.acm-roster-avatar {
    display: flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
}

.acm-roster-avatar img {
    width: 30px;
    height: 30px;
    border: 1px solid var(--acm-line);
    border-radius: 50%;
}

.acm-roster-name {
    min-width: 0;
    color: var(--acm-black);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.acm-roster-name small {
    display: block;
    margin-top: 2px;
    color: #777;
    font-size: 10px;
    font-weight: 600;
    white-space: normal;
}

.acm-roster-empty {
    padding: 10px 0;
    color: #888;
    font-size: 11px;
    font-style: italic;
}

/* Other public forms */
.acm-profile-card,
.acm-auth-card {
    display: grid;
    gap: 14px;
    width: min(100%, 620px);
    margin: 28px auto;
    padding: 24px;
    border: 1px solid var(--acm-line);
    border-radius: 24px;
    background: var(--acm-white);
    box-shadow: 0 14px 34px rgba(17, 17, 17, .08);
}

.acm-auth-card h2 {
    margin: 0;
    font-size: 32px;
    text-transform: uppercase;
}

.acm-form {
    display: grid;
    gap: 14px;
}

.acm-response-form label,
.acm-profile-card label,
.acm-form label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.acm-check,
.acm-choice {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
}

.acm-check input,
.acm-choice input {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
}

.acm-btn {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--acm-black);
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

.acm-btn--orange {
    background: var(--acm-accent, #f7931a);
    color: var(--acm-black) !important;
}

.acm-btn--dark {
    background: var(--acm-black);
    color: var(--acm-white) !important;
}

.acm-text-link {
    color: var(--acm-black) !important;
    font-weight: 800;
}

.acm-notice {
    padding: 11px 13px;
    border-radius: 12px;
}

.acm-notice--error {
    background: #fff1ef;
    color: #a61b13;
}

.acm-notification-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.acm-notification {
    padding: 15px;
    border: 1px solid var(--acm-line);
    border-radius: 16px;
    background: var(--acm-white);
}

.acm-notification.is-unread {
    border-left: 6px solid var(--acm-accent);
}

.acm-notification p {
    margin: 5px 0;
}

.acm-members-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.acm-member {
    padding: 18px;
    border: 1px solid var(--acm-line);
    border-radius: 20px;
    background: var(--acm-white);
    text-align: center;
}

.acm-member img {
    border-radius: 50%;
}

.acm-member strong,
.acm-member span {
    display: block;
    margin-top: 7px;
}

.acm-member span {
    color: #666;
    font-size: 12px;
}

.acm-empty {
    padding: 22px;
    border: 1px dashed var(--acm-line);
    border-radius: 18px;
    text-align: center;
}

/* Tablet */
@media (max-width: 900px) {
    .acm-response-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .acm-roster-grid {
        grid-template-columns: 1fr;
    }

    .acm-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile — primary flow */
@media (max-width: 760px) {
    .acm-app {
        width: min(100%, calc(100% - 14px));
        margin: 10px auto 94px;
    }

    .acm-standalone-events {
        width: 100%;
    }

    .acm-app-head {
        align-items: flex-start;
        padding: 18px;
        border-radius: 20px 20px 0 0;
    }

    .acm-logout {
        font-size: 12px;
    }

    .acm-nav {
        position: fixed;
        z-index: 9999;
        left: 8px;
        right: 8px;
        bottom: 8px;
        justify-content: space-around;
        border: 1px solid var(--acm-line);
        border-radius: 20px;
        box-shadow: 0 14px 34px rgba(17, 17, 17, .18);
    }

    .acm-nav a {
        padding: 9px 9px;
        font-size: 11px;
    }

    .acm-nav a:nth-child(6) {
        display: none;
    }

    .acm-sport-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }

    .acm-sport-card::before {
        inset: 0 0 auto 0;
        width: auto;
        height: 6px;
    }

    .acm-sport-card__date {
        min-height: 0;
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        padding: 11px 14px;
        border-radius: 14px;
        text-align: left;
    }

    .acm-sport-card__date strong {
        font-size: 30px;
    }

    .acm-sport-card__date span,
    .acm-date-weekday {
        margin: 0 !important;
    }

    .acm-card-top {
        align-items: stretch;
        flex-direction: column;
        min-height: 0;
    }

    .acm-my-status {
        width: 100%;
        min-width: 0;
    }

    .acm-event-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .acm-event-meta span {
        justify-content: center;
        text-align: center;
    }

    .acm-response-zone {
        display: block !important;
        width: 100% !important;
        margin-top: 14px;
        padding: 13px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .acm-response-zone__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .acm-response-hint {
        align-self: flex-start;
    }

    .acm-response-form,
    .acm-response-buttons {
        display: grid !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .acm-response-buttons,
    .acm-sport-card.is-match .acm-response-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: none !important;
        gap: 9px !important;
    }

    .acm-app .acm-response-buttons > button.acm-response-btn,
    .acm-standalone-events .acm-response-buttons > button.acm-response-btn {
        display: flex !important;
        width: 100% !important;
        min-height: 58px !important;
        padding: 10px 8px !important;
        font-size: 13px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .acm-accordion {
        margin-top: 10px;
    }

    .acm-accordion summary {
        min-height: 52px;
        padding: 12px;
        font-size: 11px;
    }

    .acm-accordion__inside {
        padding: 12px !important;
    }
}

@media (max-width: 480px) {
    .acm-app-head {
        flex-direction: column;
    }

    .acm-event-meta {
        grid-template-columns: 1fr;
    }

    .acm-response-buttons,
    .acm-sport-card.is-match .acm-response-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .acm-app .acm-response-buttons > button.acm-response-btn,
    .acm-standalone-events .acm-response-buttons > button.acm-response-btn {
        min-height: 60px !important;
        font-size: 12px !important;
    }

    .acm-accordion summary small {
        display: none;
    }

    .acm-members-grid {
        grid-template-columns: 1fr;
    }

    .acm-nav a {
        padding: 8px 7px;
        font-size: 10px;
    }

    .acm-nav a:nth-child(5) {
        display: none;
    }
}

/* =========================================================
 * AFIWAI Club Manager 1.0.20 — Game Center
 * Mobile-first interaction: page never moves while answering.
 * ======================================================= */

.acm-game-center {
    --acm-accent: #f7931a;
    --acm-accent-dark: #db7807;
    --acm-black: #111111;
    --acm-white: #ffffff;
    --acm-line: rgba(17, 17, 17, .16);
    --acm-muted: #686868;
    --acm-green: #2d9d55;
    --acm-green-soft: #e9f8ee;
    --acm-orange-soft: #fff3e3;
    --acm-red: #d94b3d;
    --acm-red-soft: #fff0ee;
    --acm-gray: #737981;
    --acm-gray-soft: #f1f2f4;
    position: fixed !important;
    z-index: 2147483000 !important;
    inset: 0 !important;
    display: block;
    pointer-events: none;
    font-family: inherit;
}

.acm-game-center[hidden] {
    display: none !important;
}

html.acm-game-center-open,
body.acm-game-center-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

.acm-game-center__backdrop {
    appearance: none !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, .66) !important;
    opacity: 0;
    cursor: default !important;
    transition: opacity .18s ease;
    pointer-events: auto;
}

.acm-game-center__panel {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(660px, 94vw) !important;
    max-width: 100% !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    outline: none !important;
    border-left: 1px solid rgba(255,255,255,.08) !important;
    background: #f5f3ef !important;
    color: var(--acm-black) !important;
    box-shadow: -30px 0 70px rgba(0, 0, 0, .28) !important;
    transform: translate3d(102%, 0, 0);
    transition: transform .2s cubic-bezier(.22,.75,.25,1);
    pointer-events: auto;
}

.acm-game-center.is-open .acm-game-center__backdrop {
    opacity: 1;
}

.acm-game-center.is-open .acm-game-center__panel {
    transform: translate3d(0, 0, 0);
}

.acm-game-center__head {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 94px;
    padding: 20px 22px !important;
    border-bottom: 4px solid var(--acm-accent) !important;
    background: var(--acm-black) !important;
    color: var(--acm-white) !important;
}

.acm-game-center__kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--acm-accent) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

.acm-game-center__head h2 {
    margin: 0 !important;
    max-width: 500px;
    color: var(--acm-white) !important;
    font-size: clamp(21px, 3vw, 31px) !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
    text-transform: uppercase !important;
}

.acm-game-center__close {
    appearance: none !important;
    flex: 0 0 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 0 3px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.acm-game-center__scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 18px 18px calc(28px + env(safe-area-inset-bottom)) !important;
}

.acm-game-center__scoreboard {
    display: grid;
    grid-template-columns: 84px minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(17,17,17,.18);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(17,17,17,.08);
}

.acm-game-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    border-radius: 15px;
    background: var(--acm-black);
    color: #fff;
}

.acm-game-date strong {
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.acm-game-date span {
    margin-top: 5px;
    color: #ffc36b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.acm-game-center__event-info {
    min-width: 0;
}

.acm-game-center__event-info p {
    margin: 7px 0 0 !important;
    color: #333 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.acm-game-center__status {
    align-self: start;
    min-width: 118px;
}

.acm-game-response,
.acm-game-roster {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(17,17,17,.18);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(17,17,17,.055);
}

.acm-game-response {
    position: relative;
    overflow: hidden;
}

.acm-game-response::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--acm-accent);
}

.acm-game-response__head,
.acm-game-roster__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.acm-game-roster__head > .acm-response-count {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid rgba(17,17,17,.13);
    border-radius: 999px;
    background: #f6f6f6;
    color: #444;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.acm-game-center .acm-response-buttons {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
}

.acm-game-center .acm-response-buttons > button.acm-response-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 11px 10px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 15px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.acm-comment-accordion {
    margin-top: 1px;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,.12);
    border-radius: 13px;
    background: #fafafa;
}

.acm-comment-accordion > summary {
    padding: 10px 12px;
    list-style: none;
    color: #333;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.acm-comment-accordion > summary::-webkit-details-marker {
    display: none;
}

.acm-comment-accordion > summary::after {
    content: "+";
    float: right;
    font-size: 16px;
}

.acm-comment-accordion[open] > summary::after {
    content: "–";
}

.acm-comment-accordion .acm-comment-field {
    padding: 0 12px 12px;
}

/* Compact event cards */
.acm-sport-card--compact {
    grid-template-columns: 90px minmax(0,1fr);
    gap: 15px;
    padding: 15px;
    border-radius: 21px;
}

.acm-sport-card--compact .acm-sport-card__date {
    min-height: 92px;
}

.acm-sport-card--compact .acm-sport-card__date strong {
    font-size: 34px;
}

.acm-game-open {
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 14px 0 0 !important;
    padding: 10px 14px !important;
    border: 1px solid var(--acm-black) !important;
    border-radius: 14px !important;
    background: var(--acm-black) !important;
    color: var(--acm-white) !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.acm-game-open b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--acm-accent);
    color: var(--acm-black);
    font-size: 17px;
}

.acm-game-open:hover,
.acm-game-open:focus-visible {
    background: #232323 !important;
    color: #fff !important;
}

/* Status accordions inside Game Center */
.acm-game-center .acm-roster-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
}

.acm-game-center details.acm-roster-group {
    display: block;
    overflow: hidden;
    border-radius: 14px;
}

.acm-game-center .acm-roster-group__head {
    display: grid !important;
    grid-template-columns: 28px minmax(0,1fr) auto 24px !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 10px 11px !important;
    list-style: none !important;
    cursor: pointer !important;
}

.acm-game-center .acm-roster-group__head::-webkit-details-marker {
    display: none;
}

.acm-game-center .acm-roster-group__head::after {
    content: "+";
    grid-column: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 2px;
    border-radius: 50%;
    background: rgba(17,17,17,.08);
    color: #111;
    font-size: 16px;
}

.acm-game-center details[open] > .acm-roster-group__head::after {
    content: "–";
}

.acm-game-center .acm-roster-list {
    padding: 4px 11px 10px !important;
}

@media (max-width: 760px) {
    .acm-game-center__panel {
        inset: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: translate3d(0, 102%, 0);
    }

    .acm-game-center__head {
        min-height: 86px;
        padding: calc(14px + env(safe-area-inset-top)) 15px 14px !important;
    }

    .acm-game-center__head h2 {
        font-size: 21px !important;
    }

    .acm-game-center__close {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .acm-game-center__scroll {
        padding: 12px 12px calc(22px + env(safe-area-inset-bottom)) !important;
    }

    .acm-game-center__scoreboard {
        grid-template-columns: 66px minmax(0,1fr);
        gap: 10px;
        padding: 11px;
        border-radius: 16px;
    }

    .acm-game-date {
        min-height: 68px;
        border-radius: 13px;
    }

    .acm-game-date strong {
        font-size: 27px;
    }

    .acm-game-center__status {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }

    .acm-game-response,
    .acm-game-roster {
        margin-top: 10px;
        padding: 13px;
        border-radius: 16px;
    }

    .acm-game-response__head,
    .acm-game-roster__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .acm-game-center .acm-response-buttons {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .acm-game-center .acm-response-buttons > button.acm-response-btn {
        display: flex !important;
        width: 100% !important;
        min-height: 60px !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 12px !important;
    }

    .acm-sport-card--compact {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 13px;
        border-radius: 17px;
    }

    .acm-sport-card--compact .acm-sport-card__date {
        flex-direction: row;
        justify-content: flex-start;
        min-height: 0;
        gap: 9px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .acm-sport-card--compact .acm-sport-card__date strong {
        font-size: 28px;
    }

    .acm-game-open {
        min-height: 52px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 390px) {
    .acm-game-center .acm-response-buttons {
        grid-template-columns: 1fr !important;
    }

    .acm-game-center .acm-response-buttons > button.acm-response-btn {
        min-height: 54px !important;
    }
}


/* AFIWAI Club Manager 1.0.22 — invités aux entraînements */
.acm-response-btn--guest {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}
.acm-response-btn--guest:hover,
.acm-response-btn--guest[aria-expanded="true"] {
    background: var(--acm-accent) !important;
    border-color: var(--acm-accent-dark) !important;
    color: #111 !important;
}
.acm-guest-composer {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(17,17,17,.14);
    border-radius: 15px;
    background: #fff7ec;
}
.acm-guest-composer[hidden] { display: none !important; }
.acm-guest-form {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    align-items: end;
}
.acm-guest-form label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: #222;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.acm-guest-form input[name="guest_name"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 12px;
    border: 1px solid rgba(17,17,17,.22);
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-size: 15px;
    text-transform: none;
}
.acm-guest-add-btn {
    appearance: none;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #111;
    border-radius: 12px;
    background: var(--acm-accent);
    color: #111;
    font-weight: 900;
    cursor: pointer;
}
.acm-guest-form .acm-async-feedback {
    grid-column: 1 / -1;
}
.acm-roster-person.is-guest {
    gap: 9px;
}
.acm-guest-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #111;
    border-radius: 50%;
    background: var(--acm-accent);
    font-size: 15px;
}
.acm-guest-badge {
    display: inline-flex !important;
    width: max-content;
    margin-top: 3px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #fff0d9;
    color: #8a4a00 !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
}
.acm-guest-remove-form {
    margin-left: auto;
}
.acm-guest-remove {
    appearance: none;
    padding: 6px 9px;
    border: 1px solid #d94b3d;
    border-radius: 999px;
    background: #fff;
    color: #a42a20;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}
.acm-guest-remove:hover,
.acm-guest-remove:focus-visible {
    background: #d94b3d;
    color: #fff;
}
@media (max-width: 560px) {
    .acm-guest-form {
        grid-template-columns: 1fr;
    }
    .acm-guest-add-btn {
        width: 100%;
    }
    .acm-roster-person.is-guest {
        flex-wrap: wrap;
    }
    .acm-guest-remove-form {
        margin-left: auto;
    }
}


/* AFIWAI Club Manager 1.0.23 — hiérarchie visuelle renforcée */
.acm-game-center__panel {
    background: #f4f0ea !important;
}

.acm-game-center__scoreboard {
    border-color: rgba(17,17,17,.12) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%) !important;
    box-shadow: 0 16px 34px rgba(17,17,17,.08) !important;
}

.acm-game-response {
    border: 1px solid #101010 !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%) !important;
    box-shadow: 0 18px 34px rgba(17,17,17,.14) !important;
}

.acm-game-response::before {
    height: 5px !important;
    background: linear-gradient(90deg, #f7931a 0%, #ffbc62 100%) !important;
}

.acm-game-response .acm-subheading span,
.acm-game-response .acm-subheading strong,
.acm-game-response .acm-response-hint {
    color: #fff !important;
}

.acm-game-response .acm-subheading span {
    color: #ffbf66 !important;
}

.acm-game-response .acm-response-hint {
    padding: 6px 10px !important;
    border: 1px solid rgba(247,147,26,.45) !important;
    background: rgba(247,147,26,.16) !important;
}

.acm-game-center .acm-response-buttons {
    gap: 12px !important;
}

.acm-game-center .acm-response-buttons > button.acm-response-btn {
    min-height: 62px !important;
    border-width: 2px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
    letter-spacing: -.01em !important;
}

.acm-game-center .acm-response-buttons > button.acm-response-btn:hover,
.acm-game-center .acm-response-buttons > button.acm-response-btn:focus-visible {
    transform: translateY(-1px) !important;
    filter: none !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--present,
.acm-game-center .acm-response-buttons > .acm-response-btn--available {
    border-color: #2d9d55 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5fcf8 100%) !important;
    color: #176b38 !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--present:hover,
.acm-game-center .acm-response-buttons > .acm-response-btn--available:hover {
    background: linear-gradient(180deg, #2f9e57 0%, #258347 100%) !important;
    border-color: #1f6d3b !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(45,157,85,.28) !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--absent,
.acm-game-center .acm-response-buttons > .acm-response-btn--not_available {
    border-color: #f1a640 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f0 100%) !important;
    color: #a55b00 !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--absent:hover,
.acm-game-center .acm-response-buttons > .acm-response-btn--not_available:hover {
    background: linear-gradient(180deg, #ffb33f 0%, #f7931a 100%) !important;
    border-color: #db7c00 !important;
    color: #101010 !important;
    box-shadow: 0 12px 22px rgba(247,147,26,.28) !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--injured {
    border-color: #e26d60 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f6 100%) !important;
    color: #b13a2f !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--injured:hover {
    background: linear-gradient(180deg, #dc5c4f 0%, #c74336 100%) !important;
    border-color: #b53a2e !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(199,67,54,.26) !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--guest {
    border-color: rgba(247,147,26,.38) !important;
    background: linear-gradient(180deg, #faf6ef 0%, #fff 100%) !important;
    color: #111111 !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--guest:hover,
.acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
    background: linear-gradient(180deg, #262626 0%, #111111 100%) !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(0,0,0,.28) !important;
}

.acm-game-response .acm-comment-accordion {
    border-color: rgba(255,255,255,.13) !important;
    background: rgba(255,255,255,.06) !important;
}

.acm-game-response .acm-comment-accordion > summary {
    color: #efefef !important;
}

.acm-game-response .acm-comment-accordion > summary::after {
    color: #ffbf66 !important;
}

.acm-game-response .acm-comment-field,
.acm-game-response .acm-comment-field span {
    color: #ececec !important;
}

.acm-game-response .acm-comment-field textarea,
.acm-game-response .acm-response-form textarea {
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.96) !important;
}

.acm-game-response .acm-async-feedback {
    border-color: rgba(45,157,85,.24) !important;
    background: #eaf8ef !important;
    color: #176b38 !important;
}

.acm-game-roster {
    border-color: rgba(17,17,17,.12) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbfa 100%) !important;
    box-shadow: 0 14px 28px rgba(17,17,17,.06) !important;
}

.acm-game-roster .acm-subheading span {
    color: #d66f00 !important;
}

.acm-game-center .acm-roster-grid {
    gap: 10px !important;
}

.acm-game-center details.acm-roster-group {
    border: 1px solid rgba(17,17,17,.10) !important;
    border-left-width: 6px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(17,17,17,.05) !important;
}

.acm-game-center .acm-roster-group__head {
    min-height: 56px !important;
    padding: 12px 13px !important;
    border-bottom: 1px solid rgba(17,17,17,.08) !important;
    background: #ffffff !important;
}

.acm-game-center .acm-roster-group__head strong {
    letter-spacing: .02em !important;
}

.acm-game-center .acm-roster-group__head::after {
    background: rgba(17,17,17,.06) !important;
}

.acm-game-center .acm-roster-group__head b {
    min-width: 30px !important;
    height: 30px !important;
    border: 0 !important;
    box-shadow: inset 0 0 0 1px rgba(17,17,17,.08) !important;
}

.acm-game-center .acm-roster-icon {
    width: 28px !important;
    height: 28px !important;
}

.acm-game-center .acm-roster-group--present,
.acm-game-center .acm-roster-group--available {
    border-left-color: #2d9d55 !important;
}

.acm-game-center .acm-roster-group--present .acm-roster-group__head,
.acm-game-center .acm-roster-group--available .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%) !important;
}

.acm-game-center .acm-roster-group--present .acm-roster-icon,
.acm-game-center .acm-roster-group--available .acm-roster-icon {
    background: #2d9d55 !important;
    color: #fff !important;
}

.acm-game-center .acm-roster-group--present .acm-roster-group__head b,
.acm-game-center .acm-roster-group--available .acm-roster-group__head b {
    background: #f2fbf5 !important;
    color: #176b38 !important;
}

.acm-game-center .acm-roster-group--absent,
.acm-game-center .acm-roster-group--not_available {
    border-left-color: #f7931a !important;
}

.acm-game-center .acm-roster-group--absent .acm-roster-group__head,
.acm-game-center .acm-roster-group--not_available .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf4 100%) !important;
}

.acm-game-center .acm-roster-group--absent .acm-roster-icon,
.acm-game-center .acm-roster-group--not_available .acm-roster-icon {
    background: #f7931a !important;
    color: #111 !important;
}

.acm-game-center .acm-roster-group--absent .acm-roster-group__head b,
.acm-game-center .acm-roster-group--not_available .acm-roster-group__head b {
    background: #fff5e6 !important;
    color: #9b5200 !important;
}

.acm-game-center .acm-roster-group--injured {
    border-left-color: #d94b3d !important;
}

.acm-game-center .acm-roster-group--injured .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f7 100%) !important;
}

.acm-game-center .acm-roster-group--injured .acm-roster-icon {
    background: #d94b3d !important;
    color: #fff !important;
}

.acm-game-center .acm-roster-group--injured .acm-roster-group__head b {
    background: #fff1ef !important;
    color: #a42a20 !important;
}

.acm-game-center .acm-roster-group--uncertain,
.acm-game-center .acm-roster-group--pending {
    border-left-color: #8c949d !important;
}

.acm-game-center .acm-roster-group--uncertain .acm-roster-group__head,
.acm-game-center .acm-roster-group--pending .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
}

.acm-game-center .acm-roster-group--uncertain .acm-roster-icon,
.acm-game-center .acm-roster-group--pending .acm-roster-icon {
    background: #8c949d !important;
    color: #fff !important;
}

.acm-game-center .acm-roster-group--uncertain .acm-roster-group__head b,
.acm-game-center .acm-roster-group--pending .acm-roster-group__head b {
    background: #f0f2f4 !important;
    color: #555b63 !important;
}

.acm-game-center .acm-roster-list {
    padding: 8px 13px 12px !important;
    background: #ffffff !important;
}

.acm-game-center .acm-roster-person {
    padding: 10px 2px !important;
}

.acm-game-center .acm-roster-person small {
    color: #6b6b6b !important;
}

.acm-guest-composer {
    border-color: rgba(247,147,26,.24) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #fff8ef 0%, #fffdfa 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7) !important;
}

.acm-guest-form label {
    color: #7a4b00 !important;
}

.acm-guest-add-btn {
    border-width: 2px !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, #ffb33f 0%, #f7931a 100%) !important;
    color: #111 !important;
    box-shadow: 0 10px 18px rgba(247,147,26,.18) !important;
}

.acm-game-open {
    border-color: rgba(17,17,17,.14) !important;
    background: linear-gradient(180deg, #111111 0%, #000000 100%) !important;
    box-shadow: 0 12px 24px rgba(17,17,17,.14) !important;
}

.acm-game-open b {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08) !important;
}

@media (max-width: 760px) {
    .acm-game-response,
    .acm-game-roster,
    .acm-game-center__scoreboard {
        border-radius: 18px !important;
    }

    .acm-game-center .acm-response-buttons > button.acm-response-btn {
        min-height: 58px !important;
        font-size: 12px !important;
    }

    .acm-game-center .acm-roster-group__head {
        min-height: 54px !important;
    }
}


/* AFIWAI Club Manager 1.0.24 — palette plus joyeuse */
.acm-game-center__panel {
    background: linear-gradient(180deg, #f8f1ea 0%, #fdf7f2 100%) !important;
}

.acm-game-center__scoreboard {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f1 100%) !important;
    border-color: rgba(255, 166, 93, .28) !important;
    box-shadow: 0 16px 34px rgba(255, 163, 84, .10) !important;
}

.acm-game-response {
    border: 1px solid rgba(255, 168, 73, .38) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #fff2de 0%, #ffe9c8 100%) !important;
    box-shadow: 0 18px 34px rgba(255, 173, 95, .16) !important;
}

.acm-game-response::before {
    height: 5px !important;
    background: linear-gradient(90deg, #ff9f43 0%, #ffd166 55%, #ff7b54 100%) !important;
}

.acm-game-response .acm-subheading span,
.acm-game-response .acm-subheading strong {
    color: #111111 !important;
}

.acm-game-response .acm-subheading span {
    color: #d96a00 !important;
}

.acm-game-response .acm-response-hint {
    padding: 6px 11px !important;
    border: 1px solid rgba(255, 149, 0, .22) !important;
    background: linear-gradient(180deg, #111111 0%, #2d2d2d 100%) !important;
    color: #ffffff !important;
}

.acm-game-center .acm-response-buttons > button.acm-response-btn {
    min-height: 62px !important;
    border-width: 2px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.07) !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--present,
.acm-game-center .acm-response-buttons > .acm-response-btn--available {
    border-color: #77d9a2 !important;
    background: linear-gradient(180deg, #f7fff9 0%, #eafff0 100%) !important;
    color: #18724d !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--present:hover,
.acm-game-center .acm-response-buttons > .acm-response-btn--available:hover {
    background: linear-gradient(180deg, #48c97c 0%, #22b36b 100%) !important;
    border-color: #17965a !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(56, 190, 116, .24) !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--absent,
.acm-game-center .acm-response-buttons > .acm-response-btn--not_available {
    border-color: #ffbf6d !important;
    background: linear-gradient(180deg, #fffaf2 0%, #fff2da 100%) !important;
    color: #9a5500 !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--absent:hover,
.acm-game-center .acm-response-buttons > .acm-response-btn--not_available:hover {
    background: linear-gradient(180deg, #ffba52 0%, #ff9838 100%) !important;
    border-color: #eb7f1b !important;
    color: #111111 !important;
    box-shadow: 0 12px 24px rgba(255, 158, 57, .24) !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--injured {
    border-color: #ff9d9d !important;
    background: linear-gradient(180deg, #fff8f8 0%, #ffeaea 100%) !important;
    color: #b63a55 !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected,
.acm-game-center .acm-response-buttons > .acm-response-btn--injured:hover {
    background: linear-gradient(180deg, #ff758f 0%, #f35672 100%) !important;
    border-color: #dc4764 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(243, 86, 114, .22) !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--guest {
    border-color: #c8b0ff !important;
    background: linear-gradient(180deg, #fbf8ff 0%, #f1ebff 100%) !important;
    color: #6f47c7 !important;
}

.acm-game-center .acm-response-buttons > .acm-response-btn--guest:hover,
.acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
    background: linear-gradient(180deg, #9a72ff 0%, #7d5ae8 100%) !important;
    border-color: #6b48d9 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(125, 90, 232, .22) !important;
}

.acm-game-response .acm-comment-accordion {
    border-color: rgba(255, 177, 103, .35) !important;
    background: rgba(255,255,255,.52) !important;
}

.acm-game-response .acm-comment-accordion > summary,
.acm-game-response .acm-comment-field,
.acm-game-response .acm-comment-field span {
    color: #5c4229 !important;
}

.acm-game-response .acm-comment-accordion > summary::after {
    color: #d96a00 !important;
}

.acm-game-roster {
    border-color: rgba(17,17,17,.10) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffdfb 100%) !important;
    box-shadow: 0 14px 28px rgba(17,17,17,.05) !important;
}

.acm-game-center details.acm-roster-group {
    border: 1px solid rgba(17,17,17,.08) !important;
    border-left-width: 6px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(17,17,17,.04) !important;
}

.acm-game-center .acm-roster-group__head {
    background: #ffffff !important;
}

.acm-game-center .acm-roster-group--present,
.acm-game-center .acm-roster-group--available {
    border-left-color: #36c173 !important;
}

.acm-game-center .acm-roster-group--present .acm-roster-group__head,
.acm-game-center .acm-roster-group--available .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #f5fff8 100%) !important;
}

.acm-game-center .acm-roster-group--present .acm-roster-icon,
.acm-game-center .acm-roster-group--available .acm-roster-icon {
    background: linear-gradient(180deg, #43cd7b 0%, #22b36b 100%) !important;
    color: #fff !important;
}

.acm-game-center .acm-roster-group--present .acm-roster-group__head b,
.acm-game-center .acm-roster-group--available .acm-roster-group__head b {
    background: #ebfff2 !important;
    color: #18724d !important;
}

.acm-game-center .acm-roster-group--absent,
.acm-game-center .acm-roster-group--not_available {
    border-left-color: #ff9f43 !important;
}

.acm-game-center .acm-roster-group--absent .acm-roster-group__head,
.acm-game-center .acm-roster-group--not_available .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%) !important;
}

.acm-game-center .acm-roster-group--absent .acm-roster-icon,
.acm-game-center .acm-roster-group--not_available .acm-roster-icon {
    background: linear-gradient(180deg, #ffb34d 0%, #ff9838 100%) !important;
    color: #111 !important;
}

.acm-game-center .acm-roster-group--absent .acm-roster-group__head b,
.acm-game-center .acm-roster-group--not_available .acm-roster-group__head b {
    background: #fff3e4 !important;
    color: #9a5500 !important;
}

.acm-game-center .acm-roster-group--injured {
    border-left-color: #f35672 !important;
}

.acm-game-center .acm-roster-group--injured .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f9 100%) !important;
}

.acm-game-center .acm-roster-group--injured .acm-roster-icon {
    background: linear-gradient(180deg, #ff758f 0%, #f35672 100%) !important;
    color: #fff !important;
}

.acm-game-center .acm-roster-group--injured .acm-roster-group__head b {
    background: #fff0f3 !important;
    color: #b63a55 !important;
}

.acm-game-center .acm-roster-group--uncertain,
.acm-game-center .acm-roster-group--pending {
    border-left-color: #9aa4b2 !important;
}

.acm-game-center .acm-roster-group--uncertain .acm-roster-group__head,
.acm-game-center .acm-roster-group--pending .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%) !important;
}

.acm-game-center .acm-roster-group--uncertain .acm-roster-icon,
.acm-game-center .acm-roster-group--pending .acm-roster-icon {
    background: linear-gradient(180deg, #a6b0bc 0%, #8f98a5 100%) !important;
    color: #fff !important;
}

.acm-game-center .acm-roster-group--uncertain .acm-roster-group__head b,
.acm-game-center .acm-roster-group--pending .acm-roster-group__head b {
    background: #f0f3f6 !important;
    color: #5c6570 !important;
}

.acm-guest-composer {
    border-color: rgba(146, 115, 255, .20) !important;
    background: linear-gradient(180deg, #f7f2ff 0%, #fefbff 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7) !important;
}

.acm-guest-form label {
    color: #6f47c7 !important;
}

.acm-guest-add-btn {
    border-width: 2px !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, #9a72ff 0%, #7d5ae8 100%) !important;
    border-color: #6b48d9 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 18px rgba(125, 90, 232, .18) !important;
}


/* AFIWAI Club Manager 1.0.25 — desktop scoreboard simplifié + bouton actif premium */
@keyframes acmSelectedPulse {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 14px 26px rgba(17,17,17,.10); }
    50% { transform: translateY(-1px) scale(1.01); box-shadow: 0 18px 30px rgba(17,17,17,.14); }
}

@keyframes acmSelectedSheen {
    0% { transform: translateX(-140%) skewX(-24deg); opacity: 0; }
    18% { opacity: .22; }
    55% { opacity: .12; }
    100% { transform: translateX(220%) skewX(-24deg); opacity: 0; }
}

@media (min-width: 981px) {
    .acm-game-center__scoreboard {
        grid-template-columns: 84px minmax(0,1fr) !important;
    }

    .acm-game-center__scoreboard .acm-pill,
    .acm-game-center__scoreboard .acm-game-center__status {
        display: none !important;
    }

    .acm-game-center__event-info p:first-of-type {
        margin-top: 0 !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn {
        position: relative !important;
        overflow: hidden !important;
        transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected {
        animation: acmSelectedPulse 2.7s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::after {
        content: '' !important;
        position: absolute !important;
        inset: -10% auto -10% -25% !important;
        width: 34% !important;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.34) 50%, rgba(255,255,255,0) 100%) !important;
        animation: acmSelectedSheen 3s ease-in-out infinite !important;
        pointer-events: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected {
        box-shadow: 0 0 0 1px rgba(23,150,90,.18), 0 0 0 7px rgba(72,201,124,.14), 0 18px 30px rgba(56,190,116,.22) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected {
        box-shadow: 0 0 0 1px rgba(235,127,27,.16), 0 0 0 7px rgba(255,158,57,.13), 0 18px 30px rgba(255,158,57,.20) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected {
        box-shadow: 0 0 0 1px rgba(220,71,100,.16), 0 0 0 7px rgba(243,86,114,.13), 0 18px 30px rgba(243,86,114,.18) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"],
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest.is-selected {
        animation: acmSelectedPulse 2.7s ease-in-out infinite !important;
        box-shadow: 0 0 0 1px rgba(107,72,217,.16), 0 0 0 7px rgba(125,90,232,.13), 0 18px 30px rgba(125,90,232,.19) !important;
    }
}


/* AFIWAI Club Manager 1.0.26 — état actif desktop beaucoup plus évident */
@keyframes acmActiveRing {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,.96), 0 0 0 9px var(--acm-active-glow, rgba(17,17,17,.18)), 0 18px 34px rgba(17,17,17,.16); }
    50% { box-shadow: 0 0 0 4px rgba(255,255,255,.96), 0 0 0 14px var(--acm-active-glow, rgba(17,17,17,.12)), 0 22px 40px rgba(17,17,17,.20); }
}

@media (min-width: 981px) {
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected {
        transform: translateY(-2px) scale(1.025) !important;
        border-width: 3px !important;
        font-size: 14px !important;
        font-weight: 950 !important;
        letter-spacing: .01em !important;
        z-index: 6 !important;
        animation: acmActiveRing 2.2s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::before {
        content: '✓' !important;
        display: inline-flex !important;
        position: absolute !important;
        top: -10px !important;
        right: -10px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important;
        height: 30px !important;
        border: 3px solid #ffffff !important;
        border-radius: 50% !important;
        background: #111111 !important;
        color: #ffffff !important;
        box-shadow: 0 6px 14px rgba(17,17,17,.22) !important;
        font-size: 16px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        z-index: 8 !important;
        pointer-events: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected {
        --acm-active-glow: rgba(54, 193, 115, .34);
        background: linear-gradient(135deg, #42d983 0%, #1fb66a 100%) !important;
        border-color: #118d50 !important;
        color: #ffffff !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected::before {
        background: #118d50 !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected {
        --acm-active-glow: rgba(255, 159, 67, .34);
        background: linear-gradient(135deg, #ffc15a 0%, #ff9637 100%) !important;
        border-color: #e67d16 !important;
        color: #111111 !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected::before {
        background: #e67d16 !important;
        color: #111111 !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected {
        --acm-active-glow: rgba(243, 86, 114, .34);
        background: linear-gradient(135deg, #ff7f98 0%, #ef4f6d 100%) !important;
        border-color: #d8405d !important;
        color: #ffffff !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected::before {
        background: #d8405d !important;
    }

    /* Le bouton Invité n'est pas une présence : effet fort seulement pendant l'ouverture du formulaire invité. */
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        --acm-active-glow: rgba(125, 90, 232, .34);
        position: relative !important;
        transform: translateY(-2px) scale(1.025) !important;
        border-width: 3px !important;
        background: linear-gradient(135deg, #a580ff 0%, #7956e7 100%) !important;
        border-color: #6544d4 !important;
        color: #ffffff !important;
        z-index: 6 !important;
        animation: acmActiveRing 2.2s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::before {
        content: '+' !important;
        display: inline-flex !important;
        position: absolute !important;
        top: -10px !important;
        right: -10px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important;
        height: 30px !important;
        border: 3px solid #ffffff !important;
        border-radius: 50% !important;
        background: #6544d4 !important;
        color: #ffffff !important;
        box-shadow: 0 6px 14px rgba(17,17,17,.22) !important;
        font-size: 18px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        z-index: 8 !important;
        pointer-events: none !important;
    }
}


/* AFIWAI Club Manager 1.0.27 — badge actif desktop beaucoup plus lisible */
@media (min-width: 981px) {
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::before {
        top: -14px !important;
        right: -14px !important;
        width: 38px !important;
        height: 38px !important;
        border: 4px solid #ffffff !important;
        background: #ffffff !important;
        color: #111111 !important;
        box-shadow: 0 0 0 3px rgba(17,17,17,.92), 0 12px 22px rgba(17,17,17,.28) !important;
        font-size: 21px !important;
        font-weight: 1000 !important;
        text-shadow: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected::before {
        color: #0c8a4a !important;
        box-shadow: 0 0 0 3px #0c8a4a, 0 12px 22px rgba(17,17,17,.28) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected::before {
        color: #d66f00 !important;
        box-shadow: 0 0 0 3px #d66f00, 0 12px 22px rgba(17,17,17,.28) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected::before {
        color: #d83d5b !important;
        box-shadow: 0 0 0 3px #d83d5b, 0 12px 22px rgba(17,17,17,.28) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::before {
        color: #714de3 !important;
        box-shadow: 0 0 0 3px #714de3, 0 12px 22px rgba(17,17,17,.28) !important;
        font-size: 24px !important;
    }
}


/* AFIWAI Club Manager 1.0.28 — état actif sans badge, pulse coloré plus élégant */
@keyframes acmPresentPulseColor {
    0%, 100% {
        background: linear-gradient(135deg, #42d983 0%, #1fb66a 100%);
        border-color: #118d50;
        box-shadow: 0 0 0 0 rgba(54,193,115,.00), 0 16px 30px rgba(56,190,116,.18);
    }
    50% {
        background: linear-gradient(135deg, #66e39b 0%, #39c778 100%);
        border-color: #18a25f;
        box-shadow: 0 0 0 10px rgba(54,193,115,.14), 0 22px 36px rgba(56,190,116,.26);
    }
}

@keyframes acmAbsentPulseColor {
    0%, 100% {
        background: linear-gradient(135deg, #ffc15a 0%, #ff9637 100%);
        border-color: #e67d16;
        box-shadow: 0 0 0 0 rgba(255,159,67,.00), 0 16px 30px rgba(255,158,57,.17);
    }
    50% {
        background: linear-gradient(135deg, #ffd06f 0%, #ffab4d 100%);
        border-color: #f08d2c;
        box-shadow: 0 0 0 10px rgba(255,159,67,.14), 0 22px 36px rgba(255,158,57,.24);
    }
}

@keyframes acmInjuredPulseColor {
    0%, 100% {
        background: linear-gradient(135deg, #ff7f98 0%, #ef4f6d 100%);
        border-color: #d8405d;
        box-shadow: 0 0 0 0 rgba(243,86,114,.00), 0 16px 30px rgba(243,86,114,.16);
    }
    50% {
        background: linear-gradient(135deg, #ff96ac 0%, #f86886 100%);
        border-color: #e55371;
        box-shadow: 0 0 0 10px rgba(243,86,114,.14), 0 22px 36px rgba(243,86,114,.22);
    }
}

@keyframes acmGuestPulseColor {
    0%, 100% {
        background: linear-gradient(135deg, #a580ff 0%, #7956e7 100%);
        border-color: #6544d4;
        box-shadow: 0 0 0 0 rgba(125,90,232,.00), 0 16px 30px rgba(125,90,232,.16);
    }
    50% {
        background: linear-gradient(135deg, #b697ff 0%, #9070f1 100%);
        border-color: #7555df;
        box-shadow: 0 0 0 10px rgba(125,90,232,.14), 0 22px 36px rgba(125,90,232,.22);
    }
}

@media (min-width: 981px) {
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        transform: translateY(-2px) scale(1.02) !important;
        border-width: 3px !important;
        font-size: 14px !important;
        font-weight: 950 !important;
        letter-spacing: .01em !important;
        z-index: 6 !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::after,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::after {
        content: none !important;
        display: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected {
        color: #ffffff !important;
        animation: acmPresentPulseColor 2.1s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected {
        color: #111111 !important;
        animation: acmAbsentPulseColor 2.1s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected {
        color: #ffffff !important;
        animation: acmInjuredPulseColor 2.1s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        color: #ffffff !important;
        animation: acmGuestPulseColor 2.1s ease-in-out infinite !important;
    }
}


/* AFIWAI Club Manager 1.0.29 — reflet blanc dynamique aléatoire */
@keyframes acmButtonSheenLTR {
    0%   { left: -55%; opacity: 0; }
    10%  { opacity: var(--acm-sheen-opacity, .72); }
    54%  { opacity: var(--acm-sheen-opacity, .72); }
    100% { left: 135%; opacity: 0; }
}

@keyframes acmButtonSheenRTL {
    0%   { right: -55%; opacity: 0; }
    10%  { opacity: var(--acm-sheen-opacity, .72); }
    54%  { opacity: var(--acm-sheen-opacity, .72); }
    100% { right: 135%; opacity: 0; }
}

@media (min-width: 981px) {
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        position: relative !important;
        overflow: hidden !important;
        isolation: isolate !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn .acm-selection-sheen,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest .acm-selection-sheen {
        position: absolute !important;
        top: -30% !important;
        bottom: -30% !important;
        width: var(--acm-sheen-width, 26%) !important;
        z-index: 3 !important;
        display: block !important;
        pointer-events: none !important;
        opacity: 0;
        transform: skewX(var(--acm-sheen-angle, -20deg)) !important;
        background: linear-gradient(
            90deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,.16) 20%,
            rgba(255,255,255,.92) 48%,
            rgba(255,255,255,.28) 72%,
            rgba(255,255,255,0) 100%
        ) !important;
        filter: blur(var(--acm-sheen-blur, 1px)) !important;
        mix-blend-mode: screen;
        border-radius: 50%;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn .acm-selection-sheen.is-ltr {
        left: -55%;
        animation: acmButtonSheenLTR var(--acm-sheen-duration, .9s) cubic-bezier(.25,.7,.2,1) both;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn .acm-selection-sheen.is-rtl {
        right: -55%;
        animation: acmButtonSheenRTL var(--acm-sheen-duration, .9s) cubic-bezier(.25,.7,.2,1) both;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acm-selection-sheen { display: none !important; }
}


/* AFIWAI Club Manager 1.0.30 — reflet plus lent, doux et premium */
@media (min-width: 981px) {
    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected {
        animation-duration: 4.8s !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected {
        animation-duration: 4.8s !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        animation-duration: 4.8s !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn .acm-selection-sheen,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest .acm-selection-sheen {
        background: linear-gradient(
            90deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,.08) 18%,
            rgba(255,255,255,.62) 46%,
            rgba(255,255,255,.78) 52%,
            rgba(255,255,255,.18) 70%,
            rgba(255,255,255,0) 100%
        ) !important;
        mix-blend-mode: screen !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn .acm-selection-sheen.is-ltr,
    .acm-game-center .acm-response-buttons > .acm-response-btn .acm-selection-sheen.is-rtl {
        animation-timing-function: cubic-bezier(.33,.08,.22,1) !important;
    }
}


/* AFIWAI Club Manager 1.0.31 — état actif "scoreboard premium" */
@keyframes acmScoreboardGlowGreen {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.48),
            inset 0 -10px 22px rgba(0,0,0,.06),
            0 0 0 2px rgba(17,141,80,.38),
            0 10px 24px rgba(34,179,107,.18);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.62),
            inset 0 -10px 22px rgba(0,0,0,.04),
            0 0 0 5px rgba(66,217,131,.22),
            0 14px 30px rgba(34,179,107,.27);
    }
}

@keyframes acmScoreboardGlowOrange {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.44),
            inset 0 -10px 22px rgba(0,0,0,.05),
            0 0 0 2px rgba(230,125,22,.38),
            0 10px 24px rgba(255,150,55,.17);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.58),
            inset 0 -10px 22px rgba(0,0,0,.03),
            0 0 0 5px rgba(255,193,90,.23),
            0 14px 30px rgba(255,150,55,.25);
    }
}

@keyframes acmScoreboardGlowRed {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.48),
            inset 0 -10px 22px rgba(0,0,0,.05),
            0 0 0 2px rgba(216,64,93,.38),
            0 10px 24px rgba(239,79,109,.16);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.62),
            inset 0 -10px 22px rgba(0,0,0,.03),
            0 0 0 5px rgba(255,127,152,.22),
            0 14px 30px rgba(239,79,109,.24);
    }
}

@keyframes acmScoreboardGlowPurple {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.46),
            inset 0 -10px 22px rgba(0,0,0,.05),
            0 0 0 2px rgba(101,68,212,.38),
            0 10px 24px rgba(121,86,231,.16);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.60),
            inset 0 -10px 22px rgba(0,0,0,.03),
            0 0 0 5px rgba(165,128,255,.22),
            0 14px 30px rgba(121,86,231,.24);
    }
}

@media (min-width: 981px) {
    /* Les états non sélectionnés restent calmes pour laisser l'actif dominer. */
    .acm-game-center .acm-response-buttons > .acm-response-btn:not(.is-selected):not([aria-expanded="true"]) {
        opacity: .88 !important;
        filter: saturate(.86) !important;
        transform: none !important;
        box-shadow: 0 5px 12px rgba(17,17,17,.055) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn:not(.is-selected):not([aria-expanded="true"]):hover {
        opacity: 1 !important;
        filter: saturate(1) !important;
        transform: translateY(-1px) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        position: relative !important;
        overflow: hidden !important;
        transform: translateY(-2px) scale(1.018) !important;
        border-width: 2px !important;
        font-size: 14px !important;
        font-weight: 950 !important;
        letter-spacing: .005em !important;
        z-index: 6 !important;
    }

    /* Désactive définitivement les anciens badges/reflets. */
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::after,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::after,
    .acm-game-center .acm-selection-sheen {
        content: none !important;
        display: none !important;
        animation: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected {
        background: linear-gradient(180deg, #45d882 0%, #20b669 100%) !important;
        border-color: #148b51 !important;
        color: #fff !important;
        animation: acmScoreboardGlowGreen 5.8s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected {
        background: linear-gradient(180deg, #ffc35f 0%, #ff9837 100%) !important;
        border-color: #df7a16 !important;
        color: #111 !important;
        animation: acmScoreboardGlowOrange 5.8s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected {
        background: linear-gradient(180deg, #ff829a 0%, #ef506e 100%) !important;
        border-color: #d43f5b !important;
        color: #fff !important;
        animation: acmScoreboardGlowRed 5.8s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        background: linear-gradient(180deg, #aa86ff 0%, #7a57e8 100%) !important;
        border-color: #6443d2 !important;
        color: #fff !important;
        animation: acmScoreboardGlowPurple 5.8s ease-in-out infinite !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        animation: none !important;
    }
}


/* AFIWAI Club Manager 1.0.32 — liseré coloré tournant autour du bouton actif */
@keyframes acmOrbitRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (min-width: 981px) {
    .acm-game-center .acm-response-buttons > .acm-response-btn:not(.is-selected):not([aria-expanded="true"]) {
        filter: saturate(.88) brightness(.98) !important;
        opacity: .94 !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        animation: none !important;
        transform: translateY(-1px) scale(1.015) !important;
        border: 0 !important;
        overflow: hidden !important;
        isolation: isolate !important;
        box-shadow: 0 14px 28px rgba(17,17,17,.14) !important;
        filter: none !important;
        opacity: 1 !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        border-radius: inherit !important;
        padding: 3px !important;
        background: conic-gradient(from 0deg, rgba(255,255,255,.18), rgba(255,255,255,.95), rgba(255,255,255,.18), rgba(255,255,255,.95), rgba(255,255,255,.18)) border-box !important;
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
        -webkit-mask-composite: xor !important;
        mask-composite: exclude !important;
        animation: acmOrbitRing 3.2s linear infinite !important;
        pointer-events: none !important;
        z-index: 3 !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::after,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::after,
    .acm-game-center .acm-response-buttons > .acm-response-btn .acm-selection-sheen,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest .acm-selection-sheen {
        display: none !important;
        content: none !important;
        animation: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected {
        background: linear-gradient(135deg, #43cd7b 0%, #22b36b 100%) !important;
        color: #fff !important;
        box-shadow: 0 16px 30px rgba(56,190,116,.22) !important;
    }
    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected::before {
        background: conic-gradient(from 0deg, rgba(255,255,255,.22), #d8ffe6, rgba(255,255,255,.25), #6cf0a4, rgba(255,255,255,.22)) border-box !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected {
        background: linear-gradient(135deg, #ffb34d 0%, #ff9838 100%) !important;
        color: #111 !important;
        box-shadow: 0 16px 30px rgba(255,158,57,.22) !important;
    }
    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected::before {
        background: conic-gradient(from 0deg, rgba(255,255,255,.22), #fff0bf, rgba(255,255,255,.25), #ffd06f, rgba(255,255,255,.22)) border-box !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected {
        background: linear-gradient(135deg, #ff758f 0%, #f35672 100%) !important;
        color: #fff !important;
        box-shadow: 0 16px 30px rgba(243,86,114,.22) !important;
    }
    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected::before {
        background: conic-gradient(from 0deg, rgba(255,255,255,.22), #ffdbe4, rgba(255,255,255,.25), #ff9db2, rgba(255,255,255,.22)) border-box !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        background: linear-gradient(135deg, #9a72ff 0%, #7d5ae8 100%) !important;
        color: #fff !important;
        box-shadow: 0 16px 30px rgba(125,90,232,.22) !important;
    }
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::before {
        background: conic-gradient(from 0deg, rgba(255,255,255,.22), #efe2ff, rgba(255,255,255,.25), #bea8ff, rgba(255,255,255,.22)) border-box !important;
    }
}


/* AFIWAI Club Manager 1.0.33 — état actif final, clair et premium */
@keyframes acmActiveBreathGreen {
    0%,100% { box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(54,193,115,.72), 0 14px 26px rgba(54,193,115,.18); }
    50% { box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(54,193,115,.28), 0 18px 34px rgba(54,193,115,.28); }
}
@keyframes acmActiveBreathOrange {
    0%,100% { box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(255,159,67,.78), 0 14px 26px rgba(255,159,67,.18); }
    50% { box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(255,159,67,.30), 0 18px 34px rgba(255,159,67,.28); }
}
@keyframes acmActiveBreathRed {
    0%,100% { box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(243,86,114,.76), 0 14px 26px rgba(243,86,114,.18); }
    50% { box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(243,86,114,.28), 0 18px 34px rgba(243,86,114,.27); }
}
@keyframes acmActiveBreathViolet {
    0%,100% { box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(125,90,232,.76), 0 14px 26px rgba(125,90,232,.18); }
    50% { box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(125,90,232,.28), 0 18px 34px rgba(125,90,232,.27); }
}

@media (min-width: 981px) {
    .acm-game-center .acm-response-buttons > .acm-response-btn {
        overflow: visible !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn:not(.is-selected):not([aria-expanded="true"]) {
        transform: scale(.985) !important;
        filter: saturate(.72) brightness(1.02) !important;
        opacity: .82 !important;
        box-shadow: none !important;
        border-width: 2px !important;
        animation: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn:not(.is-selected):not([aria-expanded="true"]):hover {
        opacity: 1 !important;
        filter: saturate(.92) brightness(1.02) !important;
        transform: translateY(-1px) scale(1) !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        transform: translateY(-3px) scale(1.035) !important;
        border-width: 3px !important;
        z-index: 10 !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn.is-selected::after,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::before,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"]::after,
    .acm-game-center .acm-response-buttons > .acm-response-btn .acm-selection-sheen,
    .acm-game-center .acm-response-buttons > .acm-response-btn--guest .acm-selection-sheen {
        content: none !important;
        display: none !important;
        animation: none !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--present.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--available.is-selected {
        background: linear-gradient(135deg, #43cd7b 0%, #22b36b 100%) !important;
        border-color: #118d50 !important;
        color: #fff !important;
        animation: acmActiveBreathGreen 3.2s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--absent.is-selected,
    .acm-game-center .acm-response-buttons > .acm-response-btn--not_available.is-selected {
        background: linear-gradient(135deg, #ffb34d 0%, #ff9838 100%) !important;
        border-color: #e67d16 !important;
        color: #111 !important;
        animation: acmActiveBreathOrange 3.2s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--injured.is-selected {
        background: linear-gradient(135deg, #ff758f 0%, #f35672 100%) !important;
        border-color: #d8405d !important;
        color: #fff !important;
        animation: acmActiveBreathRed 3.2s ease-in-out infinite !important;
    }

    .acm-game-center .acm-response-buttons > .acm-response-btn--guest[aria-expanded="true"] {
        background: linear-gradient(135deg, #9a72ff 0%, #7d5ae8 100%) !important;
        border-color: #6544d4 !important;
        color: #fff !important;
        animation: acmActiveBreathViolet 3.2s ease-in-out infinite !important;
    }
}


/* AFIWAI Club Manager 1.0.34 — simplification mobile des cartes + statut dans l'entête du formulaire */
@media (max-width: 760px) {
    .acm-sport-card.has-mobile-game-open {
        cursor: pointer !important;
    }

    .acm-sport-card.has-mobile-game-open .acm-game-open,
    .acm-sport-card.has-mobile-game-open > .acm-my-status,
    .acm-sport-card.has-mobile-game-open .acm-card-top > .acm-my-status,
    .acm-sport-card.has-mobile-game-open.is-training .acm-sport-card__body > h3 {
        display: none !important;
    }

    .acm-sport-card.has-mobile-game-open .acm-sport-card__body {
        gap: 10px !important;
    }

    .acm-sport-card.has-mobile-game-open .acm-event-meta {
        margin-top: 4px !important;
    }

    .acm-sport-card.has-mobile-game-open .acm-card-tags {
        margin-bottom: 4px !important;
    }

    .acm-sport-card.has-mobile-game-open:active {
        transform: translateY(1px) !important;
    }

    .acm-game-center__scoreboard .acm-game-center__status {
        display: none !important;
    }

    .acm-game-response__head {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) auto !important;
        grid-template-areas:
            'title status'
            'title hint' !important;
        align-items: start !important;
        gap: 8px 10px !important;
    }

    .acm-game-response__head .acm-subheading {
        grid-area: title !important;
        min-width: 0 !important;
    }

    .acm-game-response__status {
        grid-area: status !important;
        width: auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
        justify-self: end !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        box-shadow: 0 6px 16px rgba(17,17,17,.08) !important;
    }

    .acm-game-response__head .acm-response-hint {
        grid-area: hint !important;
        justify-self: end !important;
        align-self: start !important;
    }

    .acm-game-center .acm-roster-group__head {
        grid-template-columns: 28px minmax(0,1fr) auto 36px !important;
        gap: 10px !important;
        min-height: 56px !important;
    }

    .acm-game-center .acm-roster-group__head::after {
        width: 34px !important;
        height: 34px !important;
        margin-left: 0 !important;
        border-radius: 999px !important;
        background: linear-gradient(180deg, #111111 0%, #2d2d2d 100%) !important;
        color: #ffffff !important;
        font-size: 23px !important;
        font-weight: 800 !important;
        box-shadow: 0 8px 18px rgba(17,17,17,.18) !important;
    }

    .acm-game-center details[open] > .acm-roster-group__head::after {
        background: linear-gradient(180deg, #ffb33f 0%, #f7931a 100%) !important;
        color: #111111 !important;
        box-shadow: 0 8px 18px rgba(247,147,26,.20) !important;
    }
}


/* AFIWAI Club Manager 1.0.35 — corrections mobile planning */
@media (max-width: 760px) {
    /* Menu de l'application bloqué en bas du contenu, juste avant le pied de page. */
    .acm-app {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 18px !important;
    }
    .acm-app-head { order: 1 !important; }
    .acm-content { order: 2 !important; }
    .acm-nav {
        order: 3 !important;
        position: static !important;
        z-index: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin: 8px 0 0 !important;
        justify-content: space-around !important;
        border: 1px solid var(--acm-line) !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 26px rgba(17,17,17,.10) !important;
    }

    /* Carte mobile : le bandeau date devient un vrai entête avec le type d'événement à droite. */
    .acm-sport-card__date {
        width: 100% !important;
        justify-content: flex-start !important;
        position: relative !important;
        padding-right: 130px !important;
    }
    .acm-sport-card.is-training .acm-sport-card__date::after,
    .acm-sport-card.is-match .acm-sport-card__date::after {
        position: absolute !important;
        right: 16px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 12px !important;
        font-weight: 950 !important;
        letter-spacing: .08em !important;
        text-transform: uppercase !important;
        color: #ff9f1c !important;
        white-space: nowrap !important;
    }
    .acm-sport-card.is-training .acm-sport-card__date::after { content: 'ENTRAÎNEMENT' !important; }
    .acm-sport-card.is-match .acm-sport-card__date::after { content: 'MATCH' !important; }

    /* Le gros titre redondant reste masqué sur la carte mobile. */
    .acm-sport-card.is-training .acm-sport-card__body > h3,
    .acm-sport-card.is-match .acm-sport-card__body > h3 {
        display: none !important;
    }

    /* Pastille statut retirée de la carte ; elle reste dans l'entête du formulaire Game Center. */
    .acm-sport-card .acm-card-top > .acm-my-status {
        display: none !important;
    }

    /* Heure + nombre de réponses sur la même ligne ; lieu sur toute la largeur dessous. */
    .acm-event-meta {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    .acm-event-meta > span:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .acm-event-meta > .acm-response-count {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .acm-event-meta > span:nth-child(2):not(.acm-response-count) {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }

    /* CTA mobile pleine largeur et clairement prioritaire. */
    .acm-game-open {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 68px !important;
        margin-top: 12px !important;
        padding: 12px 16px 12px 22px !important;
        border-radius: 18px !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 16px !important;
        font-weight: 950 !important;
        letter-spacing: .04em !important;
    }
    .acm-game-open > span {
        display: block !important;
        flex: 1 1 auto !important;
        text-align: left !important;
    }
    .acm-game-open > b {
        flex: 0 0 48px !important;
        width: 48px !important;
        height: 48px !important;
        margin-left: 14px !important;
        font-size: 27px !important;
    }
}


/* AFIWAI Club Manager 1.0.36 — carte mobile simplifiée + CTA plus élégant */
@media (max-width: 760px) {
    .acm-sport-card--compact .acm-card-tags {
        display: none !important;
    }

    .acm-sport-card--compact .acm-sport-card__body {
        gap: 10px !important;
    }

    .acm-sport-card--compact .acm-game-open {
        display: flex !important;
        width: 100% !important;
        min-height: 72px !important;
        margin-top: 10px !important;
        padding: 12px 16px 12px 22px !important;
        border: 1px solid rgba(255, 166, 62, .55) !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, #ffb43f 0%, #ff971f 100%) !important;
        color: #111111 !important;
        box-shadow: 0 14px 26px rgba(255, 151, 31, .18), inset 0 1px 0 rgba(255,255,255,.30) !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .acm-sport-card--compact .acm-game-open > span {
        flex: 1 1 auto !important;
        color: #111111 !important;
        text-align: left !important;
        font-size: 17px !important;
        font-weight: 1000 !important;
        letter-spacing: .03em !important;
        text-transform: uppercase !important;
    }

    .acm-sport-card--compact .acm-game-open > b {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 50px !important;
        width: 50px !important;
        height: 50px !important;
        margin-left: 12px !important;
        border: 2px solid rgba(17,17,17,.10) !important;
        border-radius: 999px !important;
        background: linear-gradient(180deg, #fffefa 0%, #fff3df 100%) !important;
        color: #111111 !important;
        font-size: 24px !important;
        line-height: 1 !important;
        box-shadow: 0 8px 18px rgba(17,17,17,.12) !important;
    }

    .acm-sport-card--compact .acm-game-open:active {
        transform: translateY(1px) scale(.995) !important;
    }
}


/* AFIWAI Club Manager 1.0.37 — blocs mobiles colorés + meilleure lecture */
@media (max-width: 760px) {
    .acm-sport-card--compact {
        background: linear-gradient(180deg, #fffdfb 0%, #fff8f2 100%) !important;
    }

    .acm-sport-card--compact .acm-event-meta > span {
        border-width: 1px !important;
        border-style: solid !important;
        box-shadow: 0 8px 18px rgba(17,17,17,.045) !important;
    }

    /* Heure */
    .acm-sport-card--compact .acm-event-meta > span:first-child {
        background: linear-gradient(180deg, #eef8ff 0%, #e7f3ff 100%) !important;
        border-color: #c7e3f8 !important;
        color: #183c57 !important;
    }

    /* Nombre de réponses */
    .acm-sport-card--compact .acm-event-meta > .acm-response-count {
        background: linear-gradient(180deg, #f4efff 0%, #eee7ff 100%) !important;
        border-color: #d9cbff !important;
        color: #4f3b78 !important;
    }

    /* Lieu */
    .acm-sport-card--compact .acm-event-meta > span:nth-child(2):not(.acm-response-count) {
        background: linear-gradient(180deg, #fff3e6 0%, #ffebd4 100%) !important;
        border-color: #ffd3a3 !important;
        color: #6b4522 !important;
    }

    /* Le CTA reste le bloc d'action principal. */
    .acm-sport-card--compact .acm-game-open {
        background: linear-gradient(135deg, #ffb43f 0%, #ff971f 100%) !important;
        border-color: rgba(230, 122, 0, .35) !important;
        box-shadow: 0 14px 26px rgba(255,151,31,.20), inset 0 1px 0 rgba(255,255,255,.34) !important;
    }
}


/* AFIWAI Club Manager 1.0.38 — menu mobile fixe sous l'entête */
@media (max-width: 760px) {
    .acm-app {
        display: flex !important;
        flex-direction: column !important;
    }

    .acm-app-head {
        order: 1 !important;
    }

    .acm-nav {
        order: 2 !important;
        position: sticky !important;
        top: 0 !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 9995 !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 0 18px 18px !important;
        box-shadow: 0 10px 24px rgba(17,17,17,.12) !important;
        background: rgba(255,255,255,.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }

    .acm-content {
        order: 3 !important;
    }

    body.admin-bar .acm-nav {
        top: 46px !important;
    }
}


/* AFIWAI Club Manager 1.0.39 — navigation mobile réellement fixe en haut du viewport */
@media (max-width: 760px) {
    .acm-nav {
        position: fixed !important;
        top: 8px !important;
        left: 10px !important;
        right: 10px !important;
        bottom: auto !important;
        z-index: 10020 !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        border: 1px solid rgba(17,17,17,.10) !important;
        border-radius: 22px !important;
        background: rgba(255,255,255,.98) !important;
        box-shadow: 0 12px 32px rgba(17,17,17,.16) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
    }

    body.admin-bar .acm-nav {
        top: 54px !important;
    }

    .acm-app-head {
        padding-top: 78px !important;
    }

    body.admin-bar .acm-app-head {
        padding-top: 124px !important;
    }
}


/* AFIWAI Club Manager 1.0.40 — menu mobile fixé à 98px du haut */
@media (max-width: 760px) {
    .acm-nav {
        position: fixed !important;
        top: 98px !important;
        left: 10px !important;
        right: 10px !important;
        bottom: auto !important;
        z-index: 10020 !important;
    }

    body.admin-bar .acm-nav {
        top: 98px !important;
    }

    .acm-app-head {
        padding-top: 168px !important;
    }

    body.admin-bar .acm-app-head {
        padding-top: 168px !important;
    }
}


/* AFIWAI Club Manager 1.0.42 — titres hero/section toujours blancs */
.acm-hero h2,
.acm-section-title h2 {
    margin: 6px 0 8px !important;
    color: #ffffff !important;
    font-size: clamp(27px, 4vw, 42px) !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}


/* AFIWAI Club Manager 1.0.43 — titres noirs + entêtes d'onglets harmonisés */
.acm-hero h2,
.acm-section-title h2 {
    margin: 6px 0 8px !important;
    color: #000000 !important;
    font-size: clamp(27px, 4vw, 42px) !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

/* Les onglets utilisaient des structures différentes :
   Agenda avait un vrai bloc .acm-hero avec fond/padding,
   alors que les autres n'avaient qu'un simple .acm-section-title.
   On harmonise désormais le format visuel des entêtes d'onglets. */
.acm-section-title {
    margin: 8px 0 18px !important;
    padding: 22px 24px !important;
    border: 1px solid var(--acm-line) !important;
    border-radius: 26px !important;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%) !important;
    box-shadow: 0 16px 38px rgba(17,17,17,.07) !important;
}

@media (max-width: 760px) {
    .acm-hero,
    .acm-section-title {
        width: 100% !important;
        padding: 20px 18px !important;
        border-radius: 22px !important;
    }
}


/* AFIWAI Club Manager 1.0.44 — suppression des pastilles orange des blocs entraînement */
.acm-sport-card.is-training .acm-card-tags {
    display: none !important;
}

.acm-sport-card.is-training .acm-sport-card__body {
    gap: 10px !important;
}


/* AFIWAI Club Manager 1.0.45 — pastilles de statut plus vives */
.acm-my-status {
    border-width: 2px !important;
    box-shadow: 0 8px 18px rgba(17,17,17,.08) !important;
}

.acm-my-status--present,
.acm-my-status--available {
    border-color: #25b862 !important;
    background: linear-gradient(180deg, #eefdf4 0%, #d9ffe6 100%) !important;
    color: #0f7d40 !important;
    box-shadow: 0 8px 18px rgba(37,184,98,.16) !important;
}

.acm-my-status--absent,
.acm-my-status--not_available {
    border-color: #ff9e1a !important;
    background: linear-gradient(180deg, #fff6e8 0%, #ffe2b8 100%) !important;
    color: #a45100 !important;
    box-shadow: 0 8px 18px rgba(255,158,26,.18) !important;
}

.acm-my-status--injured {
    border-color: #ff5f7d !important;
    background: linear-gradient(180deg, #fff1f4 0%, #ffd5de 100%) !important;
    color: #b82a48 !important;
    box-shadow: 0 8px 18px rgba(255,95,125,.16) !important;
}

.acm-my-status--uncertain,
.acm-my-status--empty {
    border-color: #8f9aab !important;
    background: linear-gradient(180deg, #f8f9fb 0%, #e7ebf1 100%) !important;
    color: #4f5965 !important;
    box-shadow: 0 8px 18px rgba(143,154,171,.14) !important;
}


/* AFIWAI Club Manager 1.0.46 — pastilles franchement colorées */
.acm-my-status {
    min-height: 34px !important;
    padding: 8px 14px !important;
    border: 2px solid transparent !important;
    font-weight: 950 !important;
    letter-spacing: .045em !important;
    box-shadow: 0 9px 20px rgba(17,17,17,.12) !important;
}

.acm-my-status--present,
.acm-my-status--available {
    background: linear-gradient(135deg, #20d36f 0%, #0eaa55 100%) !important;
    border-color: #078c44 !important;
    color: #ffffff !important;
    box-shadow: 0 9px 20px rgba(18,186,94,.28) !important;
}

.acm-my-status--absent,
.acm-my-status--not_available {
    background: linear-gradient(135deg, #ffbf3f 0%, #ff8d1f 100%) !important;
    border-color: #e87908 !important;
    color: #231400 !important;
    box-shadow: 0 9px 20px rgba(255,148,31,.28) !important;
}

.acm-my-status--injured {
    background: linear-gradient(135deg, #ff6f91 0%, #ef3d67 100%) !important;
    border-color: #d72f57 !important;
    color: #ffffff !important;
    box-shadow: 0 9px 20px rgba(239,61,103,.26) !important;
}

.acm-my-status--uncertain,
.acm-my-status--empty {
    background: linear-gradient(135deg, #4f8cff 0%, #6a5cff 100%) !important;
    border-color: #4b4fdb !important;
    color: #ffffff !important;
    box-shadow: 0 9px 20px rgba(79,108,255,.28) !important;
}

/* Légère brillance pour éviter l'effet aplati */
.acm-my-status--present,
.acm-my-status--available,
.acm-my-status--absent,
.acm-my-status--not_available,
.acm-my-status--injured,
.acm-my-status--uncertain,
.acm-my-status--empty {
    position: relative !important;
    overflow: hidden !important;
}

.acm-my-status--present::after,
.acm-my-status--available::after,
.acm-my-status--absent::after,
.acm-my-status--not_available::after,
.acm-my-status--injured::after,
.acm-my-status--uncertain::after,
.acm-my-status--empty::after {
    content: '' !important;
    position: absolute !important;
    left: 10% !important;
    right: 10% !important;
    top: 2px !important;
    height: 1px !important;
    background: rgba(255,255,255,.55) !important;
    pointer-events: none !important;
}


/* AFIWAI Club Manager 1.0.47 — onglet Matchs */
.acm-sport-card.is-match {
    border-left-color: #5367ff !important;
    background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%) !important;
}

.acm-sport-card.is-match::before {
    background: linear-gradient(180deg, #5367ff 0%, #8c5cff 100%) !important;
}

.acm-match-versus {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 2px 0 4px;
}

.acm-match-versus strong {
    color: #4f46d8;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: .03em;
}

.acm-match-versus span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #d8d4ff;
    border-radius: 999px;
    background: #f2f0ff;
    color: #554ca7;
    font-size: 11px;
    font-weight: 900;
}

.acm-sport-card.is-match .acm-game-open {
    background: linear-gradient(135deg, #5367ff 0%, #7d56e8 100%) !important;
    color: #ffffff !important;
    border-color: #4b4fd8 !important;
}

.acm-sport-card.is-match .acm-game-open > span {
    color: #ffffff !important;
}

.acm-sport-card.is-match .acm-game-open > b {
    background: #ffffff !important;
    color: #514bd8 !important;
}

.acm-game-opponent {
    color: #554ca7 !important;
}

.acm-match-selection {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #dcd8ff;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f7ff 0%, #eeeaff 100%);
    box-shadow: 0 12px 28px rgba(83,103,255,.10);
}

.acm-match-selection__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.acm-match-selection__head div {
    display: flex;
    flex-direction: column;
}

.acm-match-selection__head span {
    color: #6558e8;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .14em;
}

.acm-match-selection__head strong {
    color: #111;
    font-size: 18px;
    font-weight: 950;
}

.acm-match-selection__head small {
    padding: 6px 10px;
    border-radius: 999px;
    background: #6558e8;
    color: #fff;
    font-weight: 900;
}

.acm-match-selection__players {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.acm-player-select {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 8px 10px;
    border: 2px solid #e0dcff;
    border-radius: 14px;
    background: #ffffff;
    color: #242424;
    font-weight: 850;
    cursor: pointer;
    transition: .18s ease;
}

.acm-player-select input {
    accent-color: #6558e8;
}

.acm-player-select.is-selected,
.acm-player-select:has(input:checked) {
    border-color: #6558e8;
    background: linear-gradient(135deg, #eeeaff 0%, #e1dcff 100%);
    box-shadow: 0 8px 18px rgba(101,88,232,.15);
}

.acm-player-select__avatar img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.acm-match-selection__save {
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #6558e8 0%, #4e63f2 100%);
    color: #ffffff;
    font-weight: 950;
    cursor: pointer;
}

.acm-roster-group--selected {
    border-left-color: #6d5cff !important;
}

.acm-roster-group--selected .acm-roster-group__head {
    background: linear-gradient(180deg, #ffffff 0%, #f5f2ff 100%) !important;
}

.acm-roster-group--selected .acm-roster-icon {
    background: linear-gradient(180deg, #7d6cff 0%, #5c4ee7 100%) !important;
    color: #ffffff !important;
}

.acm-roster-group--selected .acm-roster-group__head b {
    background: #ece9ff !important;
    color: #5548c8 !important;
}

@media (max-width: 760px) {
    .acm-match-versus {
        margin-top: 0;
    }

    .acm-match-selection {
        padding: 13px;
        border-radius: 18px;
    }

    .acm-match-selection__players {
        grid-template-columns: 1fr;
    }

    .acm-match-selection__head strong {
        font-size: 16px;
    }

    .acm-sport-card.is-match .acm-game-open {
        background: linear-gradient(135deg, #5367ff 0%, #7d56e8 100%) !important;
    }
}


/* AFIWAI Club Manager 1.0.48 — état vide de l'onglet Matchs */
.acm-match-empty {
    display: flex !important;
    min-height: 180px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 28px !important;
    border: 1px solid rgba(83,103,255,.20) !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f3f1ff 100%) !important;
    text-align: center !important;
    box-shadow: 0 14px 30px rgba(83,103,255,.08) !important;
}

.acm-match-empty strong {
    color: #111111 !important;
    font-size: 20px !important;
    font-weight: 950 !important;
}

.acm-match-empty span {
    color: #665f7c !important;
    font-size: 13px !important;
}


/* AFIWAI Club Manager 1.0.50 — événements annulés conservés + Agenda global */
.acm-sport-card.is-cancelled {
    opacity: 1 !important;
    background: linear-gradient(180deg, #eeeeee 0%, #e4e4e4 100%) !important;
    border-color: #b8b8b8 !important;
    box-shadow: none !important;
    filter: grayscale(.82) saturate(.35) !important;
}

.acm-sport-card.is-cancelled::before {
    background: #9a9a9a !important;
}

.acm-sport-card.is-cancelled .acm-sport-card__date {
    background: #666666 !important;
    color: #ffffff !important;
}

.acm-sport-card.is-cancelled .acm-cancelled-badge {
    border: 2px solid #111111 !important;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: 0 5px 14px rgba(17,17,17,.12) !important;
}

.acm-sport-card.is-cancelled .acm-cancelled-message {
    border-color: #bdbdbd !important;
    background: rgba(255,255,255,.70) !important;
    color: #3f3f3f !important;
}

.acm-sport-card.is-event {
    border-left-color: #16a6a1 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f3fffd 100%) !important;
}

.acm-sport-card.is-event::before {
    background: linear-gradient(180deg, #22c9bd 0%, #149c98 100%) !important;
}

.acm-agenda-list {
    display: grid !important;
    gap: 14px !important;
}

@media (max-width: 760px) {
    .acm-sport-card.is-cancelled {
        filter: grayscale(.86) saturate(.28) !important;
    }
}


/* AFIWAI Club Manager 1.0.51 — suppression globale de la pastille "1 clic suffit" */
.acm-response-hint {
    display: none !important;
}


/* AFIWAI Club Manager 1.0.52 — auto-enregistrement des commentaires */
.acm-comment-field > span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.acm-comment-autosave-status {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    background: rgba(17,17,17,.07) !important;
    color: #696969 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.acm-comment-autosave-status.is-saving {
    background: #fff1d9 !important;
    color: #a85d00 !important;
}

.acm-comment-autosave-status.is-saved {
    background: #dcfbe7 !important;
    color: #147842 !important;
}

.acm-comment-autosave-status.is-error {
    background: #ffe1e7 !important;
    color: #b52d4c !important;
}

@media (max-width: 760px) {
    .acm-comment-field > span {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
}


/* AFIWAI Club Manager 1.0.53 — Game Center match mobile simplifié */
.acm-game-center__status {
    display: none !important;
}

@media (max-width: 760px) {
    .acm-game-center__event-info {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px 10px !important;
    }

    .acm-game-center__event-info > p {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .acm-game-center__event-info > p:not(.acm-game-opponent):first-of-type {
        order: 1 !important;
        flex: 0 1 auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    .acm-game-center__event-info .acm-game-center__type {
        order: 2 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .acm-game-center__event-info .acm-game-opponent {
        order: 0 !important;
        flex-basis: 100% !important;
        margin: 0 0 4px !important;
    }

    .acm-game-center__event-info > p:last-of-type {
        order: 3 !important;
        flex-basis: 100% !important;
        margin-top: 4px !important;
    }

    .acm-game-center.is-match .acm-game-center__type {
        margin-left: 2px !important;
    }
}


/* AFIWAI Club Manager 1.0.54 — Game Center sans pastilles de statut redondantes */
.acm-game-center .acm-game-center__status,
.acm-game-center .acm-game-response__status,
.acm-game-center [data-acm-current-status] {
    display: none !important;
}

.acm-game-center__time-row {
    display: block;
}

@media (max-width: 760px) {
    .acm-game-center__event-info {
        display: block !important;
    }

    .acm-game-center__event-info .acm-game-opponent {
        margin: 0 0 10px !important;
    }

    .acm-game-center__time-row {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .acm-game-center__time-row .acm-game-center__time {
        order: 1 !important;
        flex: 0 1 auto !important;
        width: auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    .acm-game-center__time-row .acm-game-center__type {
        order: 2 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        min-height: 34px !important;
        padding: 7px 13px !important;
    }

    .acm-game-center__event-info .acm-game-center__location {
        display: block !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
    }
}

/* AFIWAI Club Manager 1.0.56 — repas liés automatiquement aux matchs à domicile */
.acm-meal-match-list{display:grid;gap:18px}.acm-meal-match-card{overflow:hidden;border:1px solid rgba(17,17,17,.12);border-radius:26px;background:linear-gradient(180deg,#fff 0%,#fffaf3 100%);box-shadow:0 16px 38px rgba(17,17,17,.07)}.acm-meal-match-head{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px;border-bottom:1px solid rgba(247,147,26,.18);background:linear-gradient(135deg,#fff8ed 0%,#fff 70%)}.acm-meal-date{display:flex;min-height:86px;flex-direction:column;align-items:center;justify-content:center;border-radius:18px;background:#111;color:#fff}.acm-meal-date span,.acm-meal-date b{font-size:10px;font-weight:950;letter-spacing:.12em}.acm-meal-date b{color:#ffb33f}.acm-meal-date strong{margin:3px 0;font-size:30px;line-height:1;font-weight:950}.acm-meal-kicker{color:#e46f00;font-size:10px;font-weight:950;letter-spacing:.14em}.acm-meal-match-copy h3{margin:5px 0 8px!important;color:#111!important;font-size:24px!important;line-height:1.05!important}.acm-meal-meta{display:flex;gap:8px;flex-wrap:wrap}.acm-meal-meta span{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #eadbc9;border-radius:999px;background:#fff;color:#4c4137;font-size:12px;font-weight:800}.acm-meal-cancelled{padding:9px 12px;border:2px solid #6e6e6e;border-radius:999px;background:#ededed;color:#414141;font-size:11px;font-weight:950}.acm-meal-team-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 10px}.acm-meal-team-head div{display:flex;flex-direction:column}.acm-meal-team-head span{color:#e46f00;font-size:10px;font-weight:950;letter-spacing:.13em}.acm-meal-team-head strong{color:#111;font-size:20px;font-weight:950}.acm-meal-team-head small{padding:7px 10px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:900}.acm-meal-contributions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:8px 18px 18px}.acm-meal-player{display:flex;min-width:0;flex-direction:column;gap:11px;padding:13px;border:2px solid #eee3d7;border-radius:18px;background:#fff}.acm-meal-player.has-contribution{border-color:#ffb654;background:linear-gradient(180deg,#fff 0%,#fff7e8 100%);box-shadow:0 9px 20px rgba(247,147,26,.10)}.acm-meal-player.is-me{border-color:#f7931a}.acm-meal-player__identity{display:flex;align-items:center;gap:10px;min-width:0}.acm-meal-player__avatar img{display:block;width:42px;height:42px;border-radius:50%;object-fit:cover}.acm-meal-player__identity>div{display:flex;min-width:0;flex-direction:column}.acm-meal-player__identity strong{overflow:hidden;color:#111;font-size:14px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.acm-meal-player__identity small{color:#e46f00;font-size:10px;font-weight:900}.acm-meal-bring-field{display:flex;flex-direction:column;gap:6px}.acm-meal-bring-field>span{color:#6d5339;font-size:11px;font-weight:900}.acm-meal-bring-field input{width:100%;min-height:42px;padding:9px 11px;border:2px solid #ffd7a2!important;border-radius:12px!important;background:#fff!important;color:#111!important;font-size:13px!important;font-weight:750!important}.acm-meal-bring-field small{color:#847261;font-size:10px;font-weight:800}.acm-meal-bring-field small.is-saving{color:#b96800}.acm-meal-bring-field small.is-saved{color:#13814a}.acm-meal-bring-field small.is-error{color:#c3294a}.acm-meal-bring-value{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 11px;border-radius:12px;background:#fff0d9;color:#7d4300}.acm-meal-bring-value strong{font-size:12px;font-weight:900}.acm-meal-bring-value.is-empty{background:#f4f4f4;color:#888}.acm-meal-empty,.acm-meal-note{margin:8px 18px 18px;padding:14px;border-radius:14px;background:#f6f3ef;color:#675d53;font-size:12px;font-weight:750}.acm-meal-match-card.is-cancelled{filter:grayscale(.9);background:#ececec;box-shadow:none}.acm-meal-match-card.is-cancelled .acm-meal-match-head{background:#e5e5e5}.acm-meal-match-card.is-cancelled .acm-meal-contributions{opacity:.72}.acm-meal-no-match{display:flex;min-height:180px;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px;border:1px solid rgba(247,147,26,.20);border-radius:24px;background:linear-gradient(135deg,#fff 0%,#fff5e8 100%);text-align:center}.acm-meal-no-match strong{font-size:20px}.acm-meal-no-match span{color:#75685b;font-size:13px}
@media(max-width:760px){.acm-meal-match-head{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:14px}.acm-meal-date{min-height:74px;border-radius:15px}.acm-meal-date strong{font-size:26px}.acm-meal-match-copy h3{font-size:19px!important}.acm-meal-cancelled{grid-column:1/-1;justify-self:start}.acm-meal-meta{display:grid;grid-template-columns:1fr}.acm-meal-meta span{justify-content:center;border-radius:14px}.acm-meal-team-head{align-items:flex-start;flex-direction:column;padding:15px 14px 8px}.acm-meal-contributions{grid-template-columns:1fr;padding:8px 14px 14px}.acm-meal-player{border-radius:16px}.acm-meal-empty,.acm-meal-note{margin:8px 14px 14px}}


/* AFIWAI Club Manager 1.0.57 — repas : section équipe en accordéon fermé par défaut */
.acm-meal-team-accordion {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.acm-meal-team-accordion > summary {
    list-style: none !important;
    cursor: pointer !important;
    user-select: none !important;
}

.acm-meal-team-accordion > summary::-webkit-details-marker {
    display: none !important;
}

.acm-meal-team-head {
    position: relative !important;
    padding-right: 62px !important;
    transition: background .18s ease, box-shadow .18s ease !important;
}

.acm-meal-team-head::after {
    content: '+' !important;
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #111111 0%, #2b2b2b 100%) !important;
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(17,17,17,.15) !important;
}

.acm-meal-team-accordion[open] > .acm-meal-team-head::after {
    content: '−' !important;
    background: linear-gradient(180deg, #ffb23d 0%, #f7931a 100%) !important;
    color: #111111 !important;
}

.acm-meal-team-accordion[open] > .acm-meal-team-head {
    background: linear-gradient(180deg, #fffaf2 0%, #fff3e1 100%) !important;
    box-shadow: inset 0 -1px 0 rgba(247,147,26,.16) !important;
}

@media (max-width: 760px) {
    .acm-meal-team-head {
        padding: 14px 58px 14px 14px !important;
    }

    .acm-meal-team-head::after {
        right: 14px !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 22px !important;
    }
}


/* AFIWAI Club Manager 1.0.58 — ajustements accordéon Repas */
.acm-meal-team-head::after {
    content: '+' !important;
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px !important;
    background: #d76d2a !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(17, 17, 17, .15) !important;
}

.acm-meal-team-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 25px 18px 25px !important;
}

.acm-meal-team-head small {
    padding: 7px 15px !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    margin-right: 25px !important;
}


/* AFIWAI Club Manager 1.0.59 — correction complète des styles accordéon Repas */
.acm-meal-team-head::after {
    content: '+' !important;
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px !important;
    background: #d76d2a !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(17, 17, 17, .15) !important;
}

.acm-meal-team-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 25px 18px 25px !important;
}

.acm-meal-team-head small {
    padding: 7px 15px !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    margin-right: 25px !important;
}

.acm-meal-contributions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 18px 18px 18px !important;
}


/* AFIWAI Club Manager 1.0.60 — décale la pastille joueurs vers la gauche */
.acm-meal-team-head small {
    margin-right: 82px !important;
}


/* AFIWAI Club Manager 1.0.61 — Profil complet */
.acm-profile-card {
    display: grid !important;
    gap: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.acm-profile-identity {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 22px !important;
    border: 1px solid rgba(17,17,17,.10) !important;
    border-radius: 26px !important;
    background: linear-gradient(135deg, #111111 0%, #1c1c1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 38px rgba(17,17,17,.14) !important;
}

.acm-profile-avatar-zone {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    min-width: 0 !important;
}

.acm-profile-avatar {
    flex: 0 0 112px !important;
    width: 112px !important;
    height: 112px !important;
    padding: 5px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #ffb43f, #ff7a18) !important;
    box-shadow: 0 12px 28px rgba(247,147,26,.28) !important;
}

.acm-profile-avatar img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border: 4px solid #111111 !important;
    border-radius: 50% !important;
}

.acm-profile-avatar-actions {
    display: grid !important;
    gap: 6px !important;
}

.acm-profile-kicker {
    color: #ff9b25 !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    letter-spacing: .16em !important;
}

.acm-profile-avatar-actions > strong {
    color: #ffffff !important;
    font-size: clamp(21px, 3vw, 30px) !important;
    line-height: 1.05 !important;
}

.acm-profile-avatar-actions > p {
    margin: 0 !important;
    color: rgba(255,255,255,.62) !important;
    font-size: 11px !important;
}

.acm-profile-upload {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 6px !important;
    cursor: pointer !important;
}

.acm-profile-upload input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.acm-profile-upload span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.acm-profile-remove-avatar {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin-top: 2px !important;
    color: rgba(255,255,255,.76) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
}

.acm-profile-remove-avatar input {
    width: auto !important;
    accent-color: #ff9b25 !important;
}

.acm-profile-account-chip {
    display: grid !important;
    gap: 3px !important;
    min-width: 190px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.06) !important;
}

.acm-profile-account-chip span {
    color: #ff9b25 !important;
    font-size: 9px !important;
    font-weight: 950 !important;
    letter-spacing: .15em !important;
}

.acm-profile-account-chip strong {
    color: #ffffff !important;
    font-size: 15px !important;
}

.acm-profile-account-chip small {
    color: rgba(255,255,255,.55) !important;
    font-size: 10px !important;
}

.acm-profile-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 16px !important;
}

.acm-profile-panel {
    padding: 20px !important;
    border: 1px solid rgba(17,17,17,.10) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%) !important;
    box-shadow: 0 12px 28px rgba(17,17,17,.06) !important;
}

.acm-profile-panel--security {
    grid-column: 1 / -1 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%) !important;
}

.acm-profile-panel__head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
}

.acm-profile-panel__head > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

.acm-profile-panel__head > div {
    display: grid !important;
    gap: 2px !important;
}

.acm-profile-panel__head small {
    color: #e87518 !important;
    font-size: 9px !important;
    font-weight: 950 !important;
    letter-spacing: .12em !important;
}

.acm-profile-panel__head strong {
    color: #111111 !important;
    font-size: 18px !important;
    font-weight: 950 !important;
}

.acm-profile-fields {
    display: grid !important;
    gap: 12px !important;
}

.acm-profile-fields--2 {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
}

.acm-profile-field--wide {
    grid-column: 1 / -1 !important;
}

.acm-profile-fields label {
    display: grid !important;
    gap: 6px !important;
    color: #343434 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

.acm-profile-card input,
.acm-profile-card select {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(17,17,17,.16) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #111111 !important;
    font: inherit !important;
    outline: none !important;
}

.acm-profile-card input:focus,
.acm-profile-card select:focus {
    border-color: #f7931a !important;
    box-shadow: 0 0 0 3px rgba(247,147,26,.12) !important;
}

.acm-profile-help {
    margin: -6px 0 14px !important;
    color: #686868 !important;
    font-size: 11px !important;
}

.acm-profile-savebar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(17,17,17,.10) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(17,17,17,.06) !important;
}

.acm-profile-savebar > div {
    display: grid !important;
    gap: 2px !important;
}

.acm-profile-savebar strong {
    color: #111111 !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.acm-profile-savebar span {
    color: #777777 !important;
    font-size: 10px !important;
}

@media (max-width: 760px) {
    .acm-profile-identity {
        align-items: stretch !important;
        flex-direction: column !important;
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .acm-profile-avatar-zone {
        align-items: flex-start !important;
    }

    .acm-profile-avatar {
        flex-basis: 88px !important;
        width: 88px !important;
        height: 88px !important;
    }

    .acm-profile-account-chip {
        min-width: 0 !important;
        width: 100% !important;
    }

    .acm-profile-grid,
    .acm-profile-fields--2 {
        grid-template-columns: 1fr !important;
    }

    .acm-profile-panel--security,
    .acm-profile-field--wide {
        grid-column: auto !important;
    }

    .acm-profile-panel {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .acm-profile-savebar {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .acm-profile-savebar .acm-btn {
        width: 100% !important;
    }
}


/* AFIWAI Club Manager 1.0.62 — profil : élargir tous les blocs */
.acm-profile-card {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
}

.acm-profile-card > * {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: stretch !important;
}

.acm-profile-identity,
.acm-profile-grid,
.acm-profile-savebar {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: stretch !important;
}

.acm-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}


/* AFIWAI Club Manager 1.0.63 — Alert Center */
.acm-alert-overview {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    margin-bottom: 16px !important;
    padding: 24px !important;
    border-radius: 26px !important;
    background: linear-gradient(135deg, #111111 0%, #202020 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 36px rgba(17,17,17,.14) !important;
}

.acm-alert-overview__copy {
    max-width: 720px !important;
}

.acm-alert-kicker,
.acm-alert-list-head > div > span {
    color: #ff9b25 !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    letter-spacing: .15em !important;
}

.acm-alert-overview h3 {
    margin: 6px 0 !important;
    color: #ffffff !important;
    font-size: clamp(23px, 3vw, 34px) !important;
    line-height: 1.05 !important;
}

.acm-alert-overview p {
    margin: 0 !important;
    color: rgba(255,255,255,.68) !important;
}

.acm-alert-overview__count {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 110px !important;
    min-height: 100px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.07) !important;
}

.acm-alert-overview__count strong {
    color: #ff9b25 !important;
    font-size: 38px !important;
    line-height: 1 !important;
}

.acm-alert-overview__count span {
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

.acm-alert-channels {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
    padding: 16px !important;
    border: 1px solid rgba(17,17,17,.10) !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(17,17,17,.06) !important;
}

.acm-alert-channel {
    display: grid !important;
    grid-template-columns: 46px minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 11px !important;
    min-height: 78px !important;
    padding: 13px !important;
    border: 1px solid rgba(17,17,17,.09) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg,#ffffff 0%,#fffaf5 100%) !important;
}

.acm-alert-channel__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: #111111 !important;
    font-size: 22px !important;
}

.acm-alert-channel > span:nth-child(2) {
    display: grid !important;
    gap: 3px !important;
}

.acm-alert-channel strong {
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

.acm-alert-channel small {
    color: #777 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
}

.acm-alert-channel input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    accent-color: #f7931a !important;
}

.acm-alert-channel > b {
    padding: 6px 9px !important;
    border-radius: 999px !important;
    background: #dff9e7 !important;
    color: #147842 !important;
    font-size: 9px !important;
}

.acm-alert-channel.is-disabled {
    opacity: .55 !important;
    filter: grayscale(.5) !important;
}

.acm-alert-channel-actions {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.acm-push-status {
    color: #777 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.acm-push-status.is-active { color: #13814a !important; }
.acm-push-status.is-error { color: #b52d4c !important; }

.acm-alert-list-head {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 24px 0 12px !important;
}

.acm-alert-list-head h3 {
    margin: 3px 0 0 !important;
    color: #111 !important;
    font-size: 22px !important;
}

.acm-alert-mark-read {
    min-height: 38px !important;
    padding: 8px 13px !important;
    border: 1px solid rgba(17,17,17,.12) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #111 !important;
    font-weight: 850 !important;
    cursor: pointer !important;
}

.acm-alert-list {
    gap: 12px !important;
}

.acm-alert-item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 54px minmax(0,1fr) auto !important;
    gap: 14px !important;
    padding: 16px !important;
    border-left-width: 5px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 24px rgba(17,17,17,.05) !important;
}

.acm-alert-item__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 16px !important;
    background: #111 !important;
    font-size: 25px !important;
}

.acm-alert-item__body {
    min-width: 0 !important;
}

.acm-alert-item__meta {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 4px !important;
    color: #777 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
}

.acm-alert-item__body > strong {
    display: block !important;
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 950 !important;
}

.acm-alert-item__body p {
    margin: 5px 0 !important;
    color: #555 !important;
    line-height: 1.45 !important;
}

.acm-alert-item__body a {
    color: #d66f00 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.acm-alert-item__unread {
    align-self: start !important;
    padding: 6px 9px !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 950 !important;
}

.acm-alert-item--important { border-left-color: #ef3d67 !important; background: linear-gradient(180deg,#fff 0%,#fff5f7 100%) !important; }
.acm-alert-item--training { border-left-color: #f7931a !important; }
.acm-alert-item--match { border-left-color: #6558e8 !important; background: linear-gradient(180deg,#fff 0%,#f8f6ff 100%) !important; }
.acm-alert-item--selection { border-left-color: #20b86a !important; background: linear-gradient(180deg,#fff 0%,#f3fff8 100%) !important; }
.acm-alert-item--meal { border-left-color: #d76d2a !important; background: linear-gradient(180deg,#fff 0%,#fff8f1 100%) !important; }

.acm-alert-empty {
    display: grid !important;
    justify-items: center !important;
    gap: 7px !important;
    padding: 38px 20px !important;
    border: 1px dashed rgba(17,17,17,.18) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.88) !important;
    text-align: center !important;
}

.acm-alert-empty > span { font-size: 32px !important; }
.acm-alert-empty strong { color: #111 !important; font-size: 18px !important; }
.acm-alert-empty p { margin: 0 !important; color: #777 !important; }

@media (max-width: 760px) {
    .acm-alert-overview {
        align-items: stretch !important;
        flex-direction: column !important;
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .acm-alert-overview__count {
        grid-template-columns: auto auto !important;
        justify-content: start !important;
        gap: 8px !important;
        min-height: 0 !important;
        padding: 12px !important;
    }

    .acm-alert-overview__count strong {
        font-size: 28px !important;
    }

    .acm-alert-channels {
        grid-template-columns: 1fr !important;
        padding: 12px !important;
    }

    .acm-alert-channel-actions {
        grid-column: auto !important;
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .acm-alert-channel-actions .acm-btn {
        width: 100% !important;
    }

    .acm-alert-list-head {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .acm-alert-item {
        grid-template-columns: 46px minmax(0,1fr) !important;
    }

    .acm-alert-item__icon {
        width: 46px !important;
        height: 46px !important;
        border-radius: 14px !important;
        font-size: 21px !important;
    }

    .acm-alert-item__unread {
        grid-column: 2 !important;
        justify-self: start !important;
    }
}


/* AFIWAI Club Manager 1.0.64 — authentification unifiée */
.acm-auth-shell,
.acm-auth-shell * {
    box-sizing: border-box !important;
}

.acm-auth-shell {
    --acm-auth-orange: #f7931a;
    --acm-auth-orange-dark: #d76d2a;
    --acm-auth-black: #111111;
    display: grid !important;
    grid-template-columns: minmax(260px, .82fr) minmax(420px, 1.35fr) !important;
    width: min(1040px, calc(100% - 28px)) !important;
    min-height: 620px !important;
    margin: 38px auto !important;
    overflow: hidden !important;
    border: 1px solid rgba(17,17,17,.12) !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    box-shadow: 0 28px 70px rgba(17,17,17,.16) !important;
}

.acm-auth-side {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 28px !important;
    padding: 38px !important;
    background:
        radial-gradient(circle at 80% 12%, rgba(247,147,26,.26), transparent 34%),
        linear-gradient(145deg, #101010 0%, #1b1b1b 100%) !important;
    color: #ffffff !important;
}

.acm-auth-side__kicker {
    color: #ff9b25 !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    letter-spacing: .18em !important;
}

.acm-auth-side h2 {
    margin: 10px 0 14px !important;
    color: #ffffff !important;
    font-size: clamp(38px, 5vw, 62px) !important;
    line-height: .92 !important;
    letter-spacing: -.04em !important;
}

.acm-auth-side p {
    max-width: 330px !important;
    margin: 0 !important;
    color: rgba(255,255,255,.66) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.acm-auth-side__trust {
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    gap: 2px 11px !important;
    align-items: center !important;
    padding: 15px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.05) !important;
}

.acm-auth-side__trust > span {
    grid-row: 1 / 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    background: #f7931a !important;
    font-size: 22px !important;
}

.acm-auth-side__trust strong { color: #fff !important; font-size: 12px !important; }
.acm-auth-side__trust small { color: rgba(255,255,255,.55) !important; font-size: 10px !important; }

.acm-auth-main {
    display: grid !important;
    align-content: start !important;
    gap: 18px !important;
    padding: 34px 38px !important;
}

.acm-auth-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
}

.acm-auth-head h2 {
    margin: 4px 0 0 !important;
    color: #111111 !important;
    font-size: 31px !important;
    line-height: 1 !important;
}

.acm-auth-switch {
    display: inline-flex !important;
    gap: 4px !important;
    padding: 4px !important;
    border: 1px solid rgba(17,17,17,.10) !important;
    border-radius: 999px !important;
    background: #f3f3f3 !important;
}

.acm-auth-switch button {
    min-height: 36px !important;
    padding: 7px 13px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #606060 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.acm-auth-switch button[aria-selected="true"] {
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(17,17,17,.16) !important;
}

.acm-auth-panel {
    display: none !important;
}

.acm-auth-panel.is-active {
    display: grid !important;
    gap: 18px !important;
    animation: acmAuthIn .22s ease both !important;
}

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

.acm-auth-panel__intro > span {
    color: #d76d2a !important;
    font-size: 9px !important;
    font-weight: 950 !important;
    letter-spacing: .16em !important;
}

.acm-auth-panel__intro h3 {
    margin: 5px 0 !important;
    color: #111111 !important;
    font-size: 25px !important;
    line-height: 1.05 !important;
}

.acm-auth-panel__intro p {
    margin: 0 !important;
    color: #777 !important;
    font-size: 12px !important;
}

.acm-auth-form {
    display: grid !important;
    gap: 13px !important;
}

.acm-auth-form label:not(.acm-check) {
    display: grid !important;
    gap: 6px !important;
    color: #333 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

.acm-auth-form input:not([type="checkbox"]):not([type="hidden"]) {
    width: 100% !important;
    min-height: 48px !important;
    padding: 11px 13px !important;
    border: 1px solid rgba(17,17,17,.16) !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    color: #111111 !important;
    font: inherit !important;
    outline: none !important;
    box-shadow: 0 5px 14px rgba(17,17,17,.025) !important;
}

.acm-auth-form input:focus {
    border-color: #f7931a !important;
    box-shadow: 0 0 0 3px rgba(247,147,26,.12) !important;
}

.acm-auth-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
}

.acm-auth-form__row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.acm-auth-form__row .acm-text-link {
    color: #d76d2a !important;
    font-size: 11px !important;
    text-decoration: none !important;
}

.acm-auth-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 10px 12px 10px 19px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #ffad39 0%, #f7931a 100%) !important;
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    cursor: pointer !important;
    box-shadow: 0 12px 24px rgba(247,147,26,.20) !important;
}

.acm-auth-submit > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 18px !important;
}

.acm-auth-submit--dark {
    background: linear-gradient(135deg, #111111 0%, #292929 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(17,17,17,.18) !important;
}

.acm-auth-magic-link {
    display: grid !important;
    grid-template-columns: 42px minmax(0,1fr) 28px !important;
    align-items: center !important;
    gap: 11px !important;
    width: 100% !important;
    padding: 11px !important;
    border: 1px solid rgba(17,17,17,.10) !important;
    border-radius: 16px !important;
    background: #f8f8f8 !important;
    color: #111111 !important;
    text-align: left !important;
    cursor: pointer !important;
}

.acm-auth-magic-link > span:first-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
    background: #111111 !important;
    font-size: 19px !important;
}

.acm-auth-magic-link > span:nth-child(2) {
    display: grid !important;
    gap: 2px !important;
}

.acm-auth-magic-link strong { font-size: 12px !important; font-weight: 950 !important; }
.acm-auth-magic-link small { color: #777 !important; font-size: 10px !important; }
.acm-auth-magic-link b { font-size: 18px !important; }

.acm-auth-success {
    display: grid !important;
    gap: 3px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(32,184,106,.24) !important;
    border-radius: 14px !important;
    background: #effcf5 !important;
    color: #147842 !important;
}

.acm-auth-success strong { font-size: 12px !important; }
.acm-auth-success span { font-size: 10px !important; line-height: 1.4 !important; }

.acm-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.acm-antispam-box {
    display: grid !important;
    gap: 10px !important;
    margin-top: 3px !important;
    padding: 13px !important;
    border: 1px solid rgba(17,17,17,.10) !important;
    border-radius: 17px !important;
    background: linear-gradient(180deg, #fffaf4 0%, #fff3e6 100%) !important;
}

.acm-antispam-box__copy {
    display: grid !important;
    grid-template-columns: 38px minmax(0,1fr) !important;
    gap: 10px !important;
    align-items: center !important;
}

.acm-antispam-box__copy > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #111111 !important;
    font-size: 18px !important;
}

.acm-antispam-box__copy > div {
    display: grid !important;
    gap: 2px !important;
}

.acm-antispam-box__copy strong {
    color: #111 !important;
    font-size: 11px !important;
    font-weight: 950 !important;
}

.acm-antispam-box__copy small {
    color: #777 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
}

.acm-hold-button {
    position: relative !important;
    isolation: isolate !important;
    width: 100% !important;
    min-height: 56px !important;
    overflow: hidden !important;
    border: 2px solid #111111 !important;
    border-radius: 15px !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    cursor: pointer !important;
    user-select: none !important;
    touch-action: none !important;
}

.acm-hold-button__progress {
    position: absolute !important;
    z-index: -1 !important;
    inset: 0 auto 0 0 !important;
    width: 0 !important;
    background: linear-gradient(90deg, #f7931a 0%, #ffb442 100%) !important;
    transition: width .04s linear !important;
}

.acm-hold-button.is-holding {
    color: #111111 !important;
}

.acm-hold-button.is-complete {
    border-color: #20b86a !important;
    background: #20b86a !important;
    color: #ffffff !important;
}

.acm-hold-button.is-error {
    animation: acmHoldShake .32s ease !important;
}

@keyframes acmHoldShake {
    0%,100% { transform: translateX(0); }
    30% { transform: translateX(-5px); }
    70% { transform: translateX(5px); }
}

.acm-antispam-box__status {
    color: #8a5c2b !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.acm-auth-magic-note {
    display: grid !important;
    grid-template-columns: 38px 1fr !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px !important;
    border-radius: 14px !important;
    background: #f5f4ff !important;
}

.acm-auth-magic-note > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #6558e8 !important;
    font-size: 17px !important;
}

.acm-auth-magic-note p {
    margin: 0 !important;
    color: #625d77 !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
}

.acm-auth-back {
    justify-self: start !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #d76d2a !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.acm-auth-shell--logged {
    display: block !important;
    min-height: 0 !important;
    padding: 28px !important;
}

.acm-auth-logged {
    display: grid !important;
    justify-items: start !important;
    gap: 9px !important;
}

.acm-auth-logged > span {
    color: #d76d2a !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    letter-spacing: .14em !important;
}

.acm-auth-logged h2 { margin: 0 !important; color: #111 !important; }
.acm-auth-logged p { margin: 0 0 7px !important; color: #777 !important; }

@media (max-width: 760px) {
    .acm-auth-shell {
        grid-template-columns: 1fr !important;
        width: min(100%, calc(100% - 14px)) !important;
        min-height: 0 !important;
        margin: 12px auto !important;
        border-radius: 22px !important;
    }

    .acm-auth-side {
        min-height: 190px !important;
        padding: 22px !important;
    }

    .acm-auth-side h2 {
        font-size: 40px !important;
    }

    .acm-auth-side__trust {
        display: none !important;
    }

    .acm-auth-main {
        padding: 22px 18px !important;
    }

    .acm-auth-head {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .acm-auth-switch {
        width: 100% !important;
    }

    .acm-auth-switch button {
        flex: 1 1 0 !important;
    }

    .acm-auth-grid {
        grid-template-columns: 1fr !important;
    }

    .acm-auth-form__row {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}


/* AFIWAI Club Manager 1.0.65 — barre de progression anti-spam visible dans le bouton */
.acm-hold-button {
    position: relative !important;
    overflow: hidden !important;
    padding-bottom: 9px !important;
}

.acm-hold-button::after {
    content: "" !important;
    position: absolute !important;
    z-index: 1 !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 7px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.20) !important;
    pointer-events: none !important;
}

.acm-hold-button__progress {
    position: absolute !important;
    z-index: 2 !important;
    left: 10px !important;
    bottom: 7px !important;
    width: 0 !important;
    height: 6px !important;
    max-width: calc(100% - 20px) !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #f7931a 0%, #ffd27a 100%) !important;
    box-shadow: 0 0 12px rgba(247,147,26,.45) !important;
    transition: width .04s linear !important;
    pointer-events: none !important;
}

.acm-hold-button__label {
    position: relative !important;
    z-index: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
}

.acm-hold-button.is-complete::after {
    background: rgba(255,255,255,.28) !important;
}

.acm-hold-button.is-complete .acm-hold-button__progress {
    background: #ffffff !important;
    box-shadow: none !important;
}


/* AFIWAI Club Manager 1.0.66 — progression anti-spam réellement animée */
.acm-hold-button {
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease !important;
}

.acm-hold-button__progress {
    left: 10px !important;
    right: 10px !important;
    bottom: 7px !important;
    width: auto !important;
    max-width: none !important;
    height: 6px !important;
    transform: scaleX(0);
    transform-origin: left center !important;
    transition: none !important;
}

.acm-hold-button.is-holding {
    background: #2b2b2b !important;
    border-color: #f7931a !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(247,147,26,.12), 0 10px 22px rgba(17,17,17,.16) !important;
}

.acm-hold-button.is-holding .acm-hold-button__progress {
    background: linear-gradient(90deg, #f7931a 0%, #ffd27a 100%) !important;
}

.acm-hold-button.is-complete {
    background: #20b86a !important;
    border-color: #20b86a !important;
    color: #ffffff !important;
}

.acm-hold-button.is-complete .acm-hold-button__progress {
    transform: scaleX(1) !important;
    background: #ffffff !important;
}


/* AFIWAI Club Manager 1.0.67 — position correcte de la barre anti-spam */
.acm-hold-button__progress {
    inset: auto 10px 7px 10px !important;
    top: auto !important;
    right: 10px !important;
    bottom: 7px !important;
    left: 10px !important;
    width: auto !important;
    height: 6px !important;
    max-width: none !important;
    border-radius: 999px !important;
    transform: scaleX(0);
    transform-origin: left center !important;
    pointer-events: none !important;
}

.acm-hold-button::after {
    inset: auto 10px 7px 10px !important;
    top: auto !important;
    right: 10px !important;
    bottom: 7px !important;
    left: 10px !important;
    width: auto !important;
    height: 6px !important;
}

.acm-hold-button__label {
    padding-bottom: 7px !important;
}


/* AFIWAI Club Manager 1.0.69 — responsive mobile consolidé */
@media (max-width: 760px) {

    /* PROFIL — aucune colonne compressée sur mobile */
    .acm-profile-card,
    .acm-profile-card > *,
    .acm-profile-identity,
    .acm-profile-grid,
    .acm-profile-savebar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .acm-profile-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    .acm-profile-panel,
    .acm-profile-panel--security {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 16px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .acm-profile-fields,
    .acm-profile-fields--2 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .acm-profile-field--wide {
        grid-column: 1 !important;
    }

    .acm-profile-panel__head {
        align-items: flex-start !important;
        gap: 10px !important;
        min-width: 0 !important;
    }

    .acm-profile-panel__head > div {
        min-width: 0 !important;
    }

    .acm-profile-panel__head strong {
        font-size: 20px !important;
        line-height: 1.08 !important;
        overflow-wrap: anywhere !important;
    }

    .acm-profile-card input,
    .acm-profile-card select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .acm-profile-identity {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        padding: 18px !important;
    }

    .acm-profile-avatar-zone {
        display: grid !important;
        grid-template-columns: 84px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 14px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .acm-profile-avatar {
        width: 84px !important;
        height: 84px !important;
        flex-basis: 84px !important;
    }

    .acm-profile-avatar-actions {
        min-width: 0 !important;
    }

    .acm-profile-avatar-actions > strong {
        font-size: 23px !important;
        line-height: 1.08 !important;
        overflow-wrap: anywhere !important;
    }

    .acm-profile-upload {
        width: 100% !important;
    }

    .acm-profile-upload span {
        width: 100% !important;
        min-height: 42px !important;
        padding: 9px 12px !important;
        text-align: center !important;
    }

    .acm-profile-account-chip {
        width: 100% !important;
        min-width: 0 !important;
    }

    .acm-profile-savebar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    .acm-profile-savebar .acm-btn {
        width: 100% !important;
    }

    /* REPAS — contribution pleine largeur, sans colonne vide */
    .acm-meal-match-card,
    .acm-meal-team-accordion,
    .acm-meal-contributions {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .acm-meal-team-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 54px !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 18px 14px !important;
        padding-right: 14px !important;
    }

    .acm-meal-team-head > div {
        min-width: 0 !important;
    }

    .acm-meal-team-head strong {
        font-size: 22px !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere !important;
    }

    .acm-meal-team-head small {
        grid-column: 1 !important;
        justify-self: start !important;
        max-width: 100% !important;
        margin: 8px 0 0 !important;
        padding: 7px 12px !important;
        white-space: normal !important;
    }

    .acm-meal-team-head::after {
        grid-column: 2 !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        width: 54px !important;
        height: 54px !important;
        justify-self: end !important;
        align-self: center !important;
    }

    .acm-meal-contributions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    .acm-meal-player {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 14px !important;
        border-radius: 17px !important;
    }

    .acm-meal-player__identity {
        width: 100% !important;
        min-width: 0 !important;
    }

    .acm-meal-player__identity strong {
        max-width: 100% !important;
    }

    .acm-meal-bring-field,
    .acm-meal-bring-field input,
    .acm-meal-bring-value {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .acm-meal-bring-field input {
        min-height: 48px !important;
        font-size: 16px !important;
    }

    /* Alertes — cartes empilées proprement */
    .acm-alert-channels {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .acm-alert-channel {
        grid-template-columns: 42px minmax(0, 1fr) auto !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .acm-alert-item {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 420px) {
    .acm-profile-avatar-zone {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .acm-profile-avatar {
        width: 72px !important;
        height: 72px !important;
        flex-basis: 72px !important;
    }

    .acm-profile-avatar-actions > strong {
        font-size: 20px !important;
    }

    .acm-meal-team-head {
        grid-template-columns: minmax(0, 1fr) 48px !important;
    }

    .acm-meal-team-head::after {
        width: 48px !important;
        height: 48px !important;
        font-size: 25px !important;
    }
}


/* AFIWAI Club Manager 1.0.71 — inscription sécurisée */
.acm-auth-grid--password {
    align-items: start !important;
}

.acm-auth-form input:invalid:not(:placeholder-shown) {
    border-color: #d94b3d !important;
}

.acm-auth-form input:valid:not(:placeholder-shown) {
    border-color: rgba(32,184,106,.55) !important;
}

@media (max-width: 760px) {
    .acm-auth-grid--password {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
