/* Mon Petit Lion — CSS de l'app (§4). Aucune ressource externe : polices embarquées. */

/* ---------- Polices (OFL, sous-ensemble latin) ---------- */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/bebas-neue-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2'); }

/* ---------- Tokens (§4.1). Mêmes noms que les variables globales Elementor : --mpl-<label> ---------- */
:root {
  --mpl-red: #E4002B;
  --mpl-red-dark: #B30022;
  --mpl-red-soft: #FDECEF;
  --mpl-black: #141416;
  --mpl-bg: #F5F5F6;
  --mpl-surface: #FFFFFF;
  --mpl-surface-2: #F0F0F2;
  --mpl-border: #E2E2E5;
  --mpl-text: #141416;
  --mpl-text-2: #5B5C63;
  --mpl-text-3: #75767C;
  --mpl-gold: #FFC845;
  --mpl-silver: #C9CBD1;
  --mpl-bronze: #C98B5B;
  --mpl-green: #1B6B34;
  --mpl-green-bg: #E6F4EA;
  --mpl-joker: #8A6A00;
  --mpl-joker-bg: #FFF4D6;
  --mpl-dark-2: #232428;
  --mpl-dark-border: #34353B;
  --mpl-font-title: 'Bebas Neue', sans-serif;
  --mpl-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mpl-radius-card: 16px;
  --mpl-radius-btn: 12px;
  --mpl-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  --mpl-focus: 0 0 0 2px var(--mpl-surface), 0 0 0 4px var(--mpl-red);
  color-scheme: light;
}

/* Sombre : forcé, ou automatique selon le téléphone (§4.4). Spécificité > :root pour l'emporter sur Elementor. */
:root[data-theme="dark"] {
  --mpl-red-dark: #FF4D6A;
  --mpl-red-soft: #3A1219;
  --mpl-bg: #0E0E10;
  --mpl-surface: #1C1D21;
  --mpl-surface-2: #26272C;
  --mpl-border: #34353B;
  --mpl-text: #F5F5F6;
  --mpl-text-2: #B4B4BA;
  --mpl-text-3: #8A8B91;
  --mpl-green: #6FD08C;
  --mpl-green-bg: #16301F;
  --mpl-joker: #FFD54A;
  --mpl-joker-bg: #3A3010;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --mpl-red-dark: #FF4D6A;
    --mpl-red-soft: #3A1219;
    --mpl-bg: #0E0E10;
    --mpl-surface: #1C1D21;
    --mpl-surface-2: #26272C;
    --mpl-border: #34353B;
    --mpl-text: #F5F5F6;
    --mpl-text-2: #B4B4BA;
    --mpl-text-3: #8A8B91;
    --mpl-green: #6FD08C;
    --mpl-green-bg: #16301F;
    --mpl-joker: #FFD54A;
    --mpl-joker-bg: #3A3010;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
.mpl-body { margin: 0; background: var(--mpl-bg); color: var(--mpl-text); font-family: var(--mpl-font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
.mpl-body *, .mpl-body *::before, .mpl-body *::after { box-sizing: border-box; }
.mpl-body a { color: inherit; text-decoration: none; }
.mpl-body img { max-width: 100%; height: auto; }
.mpl-body :focus-visible { outline: none; box-shadow: var(--mpl-focus); border-radius: 8px; }
.mpl-red { color: var(--mpl-red); }
.mpl-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--mpl-surface); color: var(--mpl-text); border-radius: 8px; }
.mpl-skip:focus { left: 8px; }
.mpl-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mpl-body [hidden] { display: none !important; }

/* ---------- Coquille et colonnes ---------- */
.mpl-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.mpl-column { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.mpl-main { flex: 1 0 auto; width: 100%; padding: 16px 16px 24px; }
.mpl-main > .elementor { width: 100%; }

/* ---------- En-tête (§4.2) ---------- */
.mpl-header { background: var(--mpl-black); color: #fff; padding: 18px 16px; padding-top: calc(18px + env(safe-area-inset-top)); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; }
.mpl-header__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mpl-header__logo { width: 44px; height: 44px; border-radius: 12px; display: block; box-shadow: 0 0 0 1px var(--mpl-dark-border); }
.mpl-header__titles { display: flex; flex-direction: column; min-width: 0; }
.mpl-header__title { margin: 0; font-family: var(--mpl-font-title); font-weight: 400; font-size: 28px; letter-spacing: 1px; line-height: 1; color: #fff; text-transform: uppercase; }
.mpl-header__tagline { font-size: 11px; color: #B4B4BA; }
.mpl-header--sub { justify-content: flex-start; }
.mpl-header--sub .mpl-header__title { flex: 1 1 auto; font-size: 30px; }
.mpl-header__action { width: 44px; flex: none; }
.mpl-iconbtn { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--mpl-dark-border); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; position: relative; cursor: pointer; padding: 0; }
.mpl-iconbtn:hover { background: var(--mpl-dark-2); }
.mpl-bell__dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--mpl-red); }

/* ---------- Barre du bas mobile (§4.2) ---------- */
.mpl-tabbar { position: sticky; bottom: 0; z-index: 20; height: calc(76px + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom); background: var(--mpl-black); border-top: 1px solid var(--mpl-dark-border); display: flex; justify-content: space-around; align-items: center; }
.mpl-tabbar__item { width: 76px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 600; color: #B4B4BA; border-radius: 12px; }
.mpl-tabbar__item[aria-current="page"] { color: var(--mpl-red); font-weight: 700; }

/* ---------- Menu tablette / ordinateur ---------- */
.mpl-sidenav { display: none; }

/* ---------- Pied de page ---------- */
.mpl-footer { padding: 16px 16px 24px; text-align: center; font-size: 12px; color: var(--mpl-text-3); }
.mpl-footer p { margin: 0; }

/* ---------- Tablette 640–1023 px : menu horizontal en haut, contenu max 720 px ---------- */
@media (min-width: 640px) {
  .mpl-tabbar { display: none; }
  .mpl-shell { flex-direction: column; }
  .mpl-sidenav { display: flex; order: 2; align-items: center; gap: 8px; padding: 8px 16px; background: var(--mpl-black); border-top: 1px solid var(--mpl-dark-border); overflow-x: auto; }
  .mpl-sidenav__brand, .mpl-sidenav__user { display: none; }
  .mpl-sidenav__nav { display: flex; gap: 4px; margin: 0 auto; }
  .mpl-sidenav__item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; color: #B4B4BA; font-size: 14px; font-weight: 600; white-space: nowrap; }
  .mpl-sidenav__item:hover { background: var(--mpl-dark-2); color: #fff; }
  .mpl-sidenav__item[aria-current="page"] { background: var(--mpl-red); color: #fff; }
  .mpl-column { display: contents; }
  .mpl-header { order: 1; }
  .mpl-main { order: 3; max-width: 720px; margin: 0 auto; padding: 24px 16px 32px; }
  .mpl-footer { order: 4; }
}

/* ---------- Ordinateur ≥ 1024 px : menu latéral fixe à gauche ---------- */
@media (min-width: 1024px) {
  .mpl-shell { flex-direction: row; align-items: stretch; }
  .mpl-column { display: flex; flex: 999 1 560px; }
  .mpl-sidenav { order: 0; flex: 1 1 220px; max-width: 260px; flex-direction: column; align-items: stretch; gap: 24px; padding: 24px 16px; margin: 16px 0 16px 16px; border-radius: 20px; border-top: 0; position: sticky; top: 16px; height: calc(100vh - 32px); overflow: auto; }
  .mpl-sidenav__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--mpl-font-title); font-size: 26px; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
  .mpl-sidenav__brand img { border-radius: 12px; box-shadow: 0 0 0 1px var(--mpl-dark-border); }
  .mpl-sidenav__nav { flex-direction: column; margin: 0; }
  .mpl-sidenav__user { display: flex; margin-top: auto; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--mpl-dark-2); color: #fff; font-weight: 600; }
  .mpl-header { margin: 16px 16px 0; border-radius: 20px; }
  .mpl-is-main .mpl-header .mpl-header__brand .mpl-header__logo { display: none; }
  .mpl-main { max-width: 1180px; padding: 24px 16px 32px; margin: 0; }
}

/* ---------- Gabarit connexion / inscription ---------- */
.mpl-auth { background: var(--mpl-black); color: #fff; }
.mpl-auth-main { max-width: 460px; margin: 0 auto; padding: 32px 24px calc(32px + env(safe-area-inset-bottom)); min-height: 100vh; min-height: 100dvh; }
/* Inscription : la page Elementor gère ses bandes (bandeau noir pleine largeur, puis contenu sur fond clair). */
.mpl-auth--light { background: var(--mpl-bg); color: var(--mpl-text); }
.mpl-auth--light .mpl-auth-main { max-width: none; padding: 0 0 calc(32px + env(safe-area-inset-bottom)); }
.mpl-auth__back { position: absolute; top: calc(16px + env(safe-area-inset-top)); left: 16px; z-index: 5; }
@media (min-width: 640px) { .mpl-auth__back { left: calc(50% - 230px + 16px); } }

/* ---------- Composants ---------- */
.mpl-card { background: var(--mpl-surface); border-radius: var(--mpl-radius-card); box-shadow: var(--mpl-shadow); padding: 16px; }
.mpl-section-label { margin: 24px 4px 8px; font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--mpl-text-2); }
.mpl-title { margin: 0 0 4px; font-family: var(--mpl-font-title); font-weight: 400; font-size: 28px; letter-spacing: 1px; line-height: 1.05; text-transform: uppercase; color: var(--mpl-text); }
.mpl-muted { color: var(--mpl-text-2); }
.mpl-small { font-size: 13px; }

.mpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--mpl-radius-btn); border: 0; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.mpl-btn--primary { background: var(--mpl-red); color: #fff; }
.mpl-btn--primary:hover { background: #C80026; }
.mpl-btn--block { width: 100%; min-height: 52px; border-radius: 14px; }
.mpl-btn--outline { background: transparent; color: var(--mpl-red); border: 2px solid var(--mpl-red); }
.mpl-btn--ghost { background: var(--mpl-surface-2); color: var(--mpl-text); }
.mpl-btn[disabled], .mpl-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.mpl-link { color: var(--mpl-red-dark); font-weight: 600; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

.mpl-field { display: flex; flex-direction: column; gap: 6px; }
.mpl-field label, .mpl-label { font-size: 13px; font-weight: 600; color: var(--mpl-text); }
.mpl-field__hint { font-weight: 400; color: var(--mpl-text-2); }
.mpl-input, .mpl-select { width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--mpl-border); background: var(--mpl-surface); color: var(--mpl-text); padding: 0 14px; font: inherit; font-size: 15px; }
.mpl-input::placeholder { color: var(--mpl-text-3); }
.mpl-input[aria-invalid="true"] { border-color: var(--mpl-red); }
.mpl-input.is-valid { border-color: var(--mpl-green); background: var(--mpl-green-bg); }
.mpl-field__status { font-size: 12px; font-weight: 600; min-height: 18px; }
.mpl-field__status.is-ok { color: var(--mpl-green); }
.mpl-field__status.is-error { color: var(--mpl-red-dark); }
.mpl-check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.mpl-check input { width: 22px; height: 22px; accent-color: var(--mpl-red); margin: 0; }
.mpl-form { display: flex; flex-direction: column; gap: 14px; }
.mpl-error { padding: 10px 12px; border-radius: 12px; background: var(--mpl-red-soft); color: var(--mpl-red-dark); font-size: 14px; font-weight: 600; }
.mpl-success { padding: 10px 12px; border-radius: 12px; background: var(--mpl-green-bg); color: var(--mpl-green); font-size: 14px; font-weight: 600; }

/* Champs sombres (écrans connexion / inscription) */
.mpl-dark-form .mpl-field label, .mpl-dark-form .mpl-check { color: #D8D8DC; }
.mpl-dark-form .mpl-input { background: var(--mpl-dark-2); border-color: var(--mpl-dark-border); color: #fff; }
.mpl-dark-form .mpl-input::placeholder { color: #8A8B91; }
.mpl-dark-form .mpl-link { color: #FF4D6A; }

/* ---------- Connexion ---------- */
.mpl-login { display: flex; flex-direction: column; gap: 22px; }
.mpl-login__forgot { align-self: flex-end; font-size: 13px; }
.mpl-login__signup { margin: 8px 0 0; font-size: 15px; color: #D8D8DC; }
.mpl-tip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--mpl-dark-2); color: #D8D8DC; font-size: 14px; }

/* ---------- Inscription ---------- */
.mpl-register { display: flex; flex-direction: column; gap: 16px; }
.mpl-register .mpl-card { padding: 20px 16px; }
.mpl-register__card-title { margin: 0; font-family: var(--mpl-font-title); font-weight: 400; font-size: 28px; letter-spacing: 1px; text-transform: uppercase; color: var(--mpl-text); }
.mpl-strength { height: 4px; border-radius: 2px; background: var(--mpl-surface-2); overflow: hidden; }
.mpl-strength span { display: block; height: 100%; width: 0; background: var(--mpl-red); transition: width .2s; }
.mpl-strength[data-level="2"] span { background: var(--mpl-gold); }
.mpl-strength[data-level="3"] span, .mpl-strength[data-level="4"] span { background: var(--mpl-green); }

.mpl-players { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; border: 0; }
.mpl-player { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--mpl-border); border-radius: 14px; background: var(--mpl-surface); cursor: pointer; text-align: center; min-height: 44px; }
.mpl-player input { position: absolute; opacity: 0; pointer-events: none; }
.mpl-player img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--mpl-black); }
.mpl-player__name { font-size: 13px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.mpl-player__pos { font-size: 11px; color: var(--mpl-text-2); }
.mpl-player:has(input:checked) { border: 2px solid var(--mpl-red); background: var(--mpl-red-soft); }
.mpl-player:has(input:checked) img { border-color: var(--mpl-red); }
.mpl-player:has(input:focus-visible) { box-shadow: var(--mpl-focus); }
.mpl-roster__group { margin: 16px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--mpl-text-2); }
.mpl-roster-toggle { display: block; margin: 14px auto 0; color: var(--mpl-red); font-weight: 700; }

.mpl-preview-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--mpl-black); color: #fff; }
.mpl-preview-row__label { font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #B4B4BA; max-width: 96px; line-height: 1.3; }
.mpl-preview-row__nick { flex: 1 1 auto; font-weight: 700; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpl-preview-row__pts { font-family: var(--mpl-font-title); font-size: 28px; letter-spacing: 1px; }

/* ---------- Avatar ---------- */
.mpl-avatar { --mpl-avatar-size: 40px; flex: none; width: var(--mpl-avatar-size); height: var(--mpl-avatar-size); border-radius: 999px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #2B2C31; color: #fff; font-weight: 700; font-size: calc(var(--mpl-avatar-size) * .38); }
.mpl-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpl-avatar--me { box-shadow: 0 0 0 2px var(--mpl-red); }
.mpl-avatar--gold { box-shadow: 0 0 0 3px var(--mpl-gold); }
.mpl-avatar--silver { box-shadow: 0 0 0 3px var(--mpl-silver); }
.mpl-avatar--bronze { box-shadow: 0 0 0 3px var(--mpl-bronze); }

/* ---------- Réglages (08) ---------- */
.mpl-settings { display: flex; flex-direction: column; }
.mpl-settings .mpl-section-label:first-child { margin-top: 4px; }
.mpl-list { background: var(--mpl-surface); border-radius: var(--mpl-radius-card); box-shadow: var(--mpl-shadow); overflow: hidden; }
.mpl-list__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 16px; border-bottom: 1px solid var(--mpl-border); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; font: inherit; color: inherit; text-align: left; }
.mpl-list__row:last-child { border-bottom: 0; }
button.mpl-list__row, a.mpl-list__row { cursor: pointer; }
.mpl-list__value { color: var(--mpl-text-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.mpl-list__title { font-weight: 600; }
.mpl-list__sub { display: block; font-size: 13px; color: var(--mpl-text-2); font-weight: 400; }
.mpl-list__panel { padding: 0 16px 16px; border-bottom: 1px solid var(--mpl-border); }
.mpl-list__danger { color: var(--mpl-red-dark); font-weight: 700; }
.mpl-fav { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.mpl-fav__text { flex: 1 1 auto; min-width: 0; }
.mpl-fav__name { font-weight: 700; }
.mpl-segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--mpl-surface-2); }
.mpl-segmented button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--mpl-text-2); font: inherit; font-weight: 700; cursor: pointer; }
.mpl-segmented button[aria-pressed="true"] { background: var(--mpl-surface); color: var(--mpl-red); box-shadow: var(--mpl-shadow); }
.mpl-theme-help { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.mpl-switch { width: 26px; height: 26px; accent-color: var(--mpl-red); flex: none; }
.mpl-settings__footer { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--mpl-text-3); }

/* Typographie des éléments Elementor statiques de l'app (design.md : titres Bebas Neue capitales, texte Poppins).
   La taille et la couleur restent réglées dans Elementor ; un <span> dans un titre = mot accentué en rouge (« LION »). */
.mpl-main .e-heading-base { font-family: var(--mpl-font-title); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; line-height: 1.05; }
.mpl-main .e-heading-base span { color: var(--mpl-red); }
.mpl-main .e-paragraph-base { font-family: var(--mpl-font); }

/* Pont sombre (§4.4) : ev4-converter ne lie pas encore les variables globales, donc en sombre le plugin recolore
   - les conteneurs Elementor dont l'ID CSS commence par « mpl-card » (cartes blanches) et leurs textes ;
   - les titres/paragraphes posés directement sur le fond de page ;
   - un paragraphe dont l'ID commence par « mpl-muted » passe en texte secondaire.
   Les cartes noires (ID « mpl-dark… » ou sans ID) gardent leurs couleurs. */
:root[data-theme="dark"] .mpl-app .mpl-main [id^="mpl-card"] { background-color: var(--mpl-surface); }
:root[data-theme="dark"] .mpl-app .mpl-main [id^="mpl-card"] :is(.e-heading-base, .e-paragraph-base),
:root[data-theme="dark"] .mpl-app .mpl-main > .elementor > .e-flexbox-base > :is(.e-heading-base, .e-paragraph-base) { color: var(--mpl-text); }
:root[data-theme="dark"] .mpl-app .mpl-main [id^="mpl-muted"] { color: var(--mpl-text-2); }
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .mpl-app .mpl-main [id^="mpl-card"] { background-color: var(--mpl-surface); }
  :root[data-theme="auto"] .mpl-app .mpl-main [id^="mpl-card"] :is(.e-heading-base, .e-paragraph-base),
  :root[data-theme="auto"] .mpl-app .mpl-main > .elementor > .e-flexbox-base > :is(.e-heading-base, .e-paragraph-base) { color: var(--mpl-text); }
  :root[data-theme="auto"] .mpl-app .mpl-main [id^="mpl-muted"] { color: var(--mpl-text-2); }
}
/* Listes dans les paragraphes Elementor (écran 09) */
.mpl-main .e-paragraph-base ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.mpl-main .e-paragraph-base strong { font-weight: 700; }

/* ---------- Barèmes (écran 09) ---------- */
.mpl-scale__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mpl-scale__row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--mpl-surface-2); color: var(--mpl-text); }
.mpl-scale__row strong { display: block; font-weight: 700; }
.mpl-scale__ex { display: block; font-size: 14px; color: var(--mpl-text-2); }
.mpl-scale__pts { flex: none; min-width: 58px; height: 42px; padding: 0 8px; border-radius: 10px; background: var(--mpl-surface); color: var(--mpl-red); display: inline-flex; align-items: center; justify-content: center; font-family: var(--mpl-font-title); font-size: 30px; letter-spacing: 1px; line-height: 1; }
.mpl-scale__row.is-top .mpl-scale__pts { background: var(--mpl-black); color: var(--mpl-gold); }
.mpl-scale__row.is-bonus { background: transparent; border: 1.5px dashed var(--mpl-border); }
.mpl-scale__row.is-bonus .mpl-scale__pts { background: transparent; color: var(--mpl-text); }
.mpl-season-scale .mpl-scale__pts { color: var(--mpl-text); }
.mpl-scale__note { margin: 12px 0 0; font-size: 14px; color: var(--mpl-text-2); }

/* ---------- Aperçu éditeur / widget de test ---------- */
.mpl-preview-tag { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: var(--mpl-gold); color: var(--mpl-black); font-size: 11px; font-weight: 600; }
.mpl-block { position: relative; }
.mpl-hello { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; padding: 16px; border-radius: 16px; background: var(--mpl-black); color: #F5F5F6; font-family: var(--mpl-font); }
.mpl-hello__brand { font-family: var(--mpl-font-title); font-size: 26px; letter-spacing: 1px; text-transform: uppercase; }
.mpl-hello__brand strong { color: var(--mpl-red); font-weight: inherit; }
.mpl-hello__meta { font-size: 14px; color: #B4B4BA; }

@media (prefers-reduced-motion: reduce) {
  .mpl-body *, .mpl-body *::before, .mpl-body *::after { animation: none !important; transition: none !important; }
}
