/* MAMOUSSO V37.2 — encart « Crédits » au-dessus du bouton de lancement (solde insuffisant, ou coût estimé). */
.mcNotice { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 14px; padding: 16px 18px; border: 1px solid var(--ui-line); border-radius: 18px; background: var(--ui-surface-2); color: var(--ui-text); text-align: left; animation: appRise .35s var(--ui-ease) both; }
.mcNotice[hidden] { display: none; }
.mcNotice[data-tone="low"] { border-color: color-mix(in srgb, var(--ui-warn) 45%, var(--ui-line)); background: color-mix(in srgb, var(--ui-warn-soft) 70%, var(--ui-surface)); }

.mcIcon { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ui-surface); border: 1px solid var(--ui-line); color: var(--ui-muted); }
.mcNotice[data-tone="low"] .mcIcon { background: var(--ui-warn-soft); border-color: color-mix(in srgb, var(--ui-warn) 30%, transparent); color: var(--ui-warn); }
.mcIcon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.mcBody { flex: 1 1 auto; min-width: 0; }
.mcTitle { margin: 1px 0 2px; font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--ui-text); }
.mcLead { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: var(--ui-text-2); }

.mcRows { margin: 0 0 14px; padding: 0; }
.mcRow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 14px; line-height: 1.4; }
.mcRow + .mcRow { border-top: 1px dashed color-mix(in srgb, var(--ui-warn) 25%, var(--ui-line)); }
.mcRow dt { color: var(--ui-text-2); }
.mcRow dd { margin: 0; font-weight: 700; color: var(--ui-text); font-variant-numeric: tabular-nums; text-align: right; }
.mcRow.isTotal dt { color: var(--ui-text); font-weight: 700; }
.mcRow.isTotal dd { color: var(--ui-warn); }
.mcSep { margin: 0 4px; color: var(--ui-faint); font-weight: 500; }
.mcAlt { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; color: var(--ui-muted); }
.mcRow.isTotal dd .mcAlt { color: var(--ui-muted); }

.mcBtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px; background: linear-gradient(180deg, var(--ui-grad-from), var(--ui-grad-to)); color: #fff; font: 600 14.5px/1.2 var(--ui-sans); text-decoration: none; box-shadow: var(--ui-btn-shadow); transition: filter .15s var(--ui-ease); }
.mcBtn:hover { filter: brightness(1.06); color: #fff; }
.mcBtn:focus-visible { outline: none; box-shadow: var(--ui-ring); }
.mcBtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Coût estimé (solde suffisant) : une ligne discrète. */
.mcNotice[data-tone="ok"] { align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; }
.mcNotice[data-tone="ok"] .mcIcon { width: 32px; height: 32px; border-radius: 10px; }
.mcNotice[data-tone="ok"] .mcIcon svg { width: 18px; height: 18px; }
.mcLine { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ui-text-2); }
.mcLine b { color: var(--ui-text); font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  .mcNotice { gap: 12px; padding: 14px; }
  .mcNotice[data-tone="low"] .mcIcon { width: 34px; height: 34px; border-radius: 10px; }
  .mcNotice[data-tone="low"] .mcIcon svg { width: 19px; height: 19px; }
  .mcBtn { width: 100%; min-height: 46px; }
}

/* V103 : transcription gratuite de la semaine épuisée (choix : crédits ou lundi suivant). */
.mcLead.mcFree { color: var(--ui-text, inherit); font-weight: 600; }
