/* v6.15 : cartes de thème personnalisables, styles confinés à l'accueil */
.mtpm-app .mtpm-home .mtpm-themes {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;max-width:1150px!important;margin:18px auto!important;align-items:stretch!important}
.mtpm-app .mtpm-home .mtpm-themes > button.mtpm-card-custom {box-sizing:border-box!important;position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:stretch!important;float:none!important;width:100%!important;min-width:0!important;min-height:0!important;height:178px!important;max-height:178px!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;border:4px solid #fff!important;border-radius:24px!important;background:#fff!important;background-image:none!important;box-shadow:0 5px 12px #142c4b55!important;clip-path:none!important;isolation:isolate!important}
.mtpm-app .mtpm-home .mtpm-themes > button.mtpm-card-custom > .mtpm-theme-picture {box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;background:linear-gradient(140deg,#e9f8ff,#fff1cd)!important;font-size:50px!important;line-height:1!important}
.mtpm-app .mtpm-home .mtpm-themes > button.mtpm-card-custom > .mtpm-theme-picture > img {display:block!important;position:relative!important;max-width:none!important;max-height:none!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important}
.mtpm-app .mtpm-home .mtpm-themes > button.mtpm-card-custom > .mtpm-theme-picture > .mtpm-theme-emoji {display:block!important;font-size:50px!important;line-height:1!important;transform:none!important}
.mtpm-app .mtpm-home .mtpm-themes > button.mtpm-card-custom > .mtpm-theme-label {box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 52px!important;width:100%!important;min-width:0!important;min-height:52px!important;max-height:52px!important;height:52px!important;margin:0!important;padding:5px 6px!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:var(--mtpm-card-bg,#8f50cf)!important;background-image:none!important;color:var(--mtpm-card-text,#fff)!important;font-size:clamp(12px,3.7vw,17px)!important;line-height:1.13!important;text-align:center!important;font-weight:850!important;text-shadow:none!important;white-space:normal!important;word-break:normal!important}
@media(min-width:680px){.mtpm-app .mtpm-home .mtpm-themes{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mtpm-app .mtpm-home .mtpm-themes > button.mtpm-card-custom{height:200px!important;max-height:200px!important}}
@media(min-width:1050px){.mtpm-app .mtpm-home .mtpm-themes{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
