/* shell.css — styles communs à tous les jeux Monsieur Clic (mobile first, portrait).
   Les couleurs et polices viennent de config.json via des variables CSS posées par shell.js sur :root. */
:root {
  --primaire: #0e5c45;
  --secondaire: #d9a52a;
  --fond: #faf6ee;
  --encre: #182623;
  --accent: #f28c28;
  --police-titre: 'Outfit', 'Bricolage Grotesque', system-ui, sans-serif;
  --police-texte: 'Manrope', system-ui, -apple-system, sans-serif;
  --rayon: 18px;
  --ombre: 0 10px 30px rgba(24, 38, 35, .18);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow-x: hidden; overscroll-behavior-x: none; }   /* 08/11 : jamais de balancement gauche-droite sur téléphone (Leeroy, Puissance 4) */
body {
  font-family: var(--police-texte); color: var(--encre); background: var(--fond);
  overscroll-behavior: none; -webkit-font-smoothing: antialiased; touch-action: manipulation;
  user-select: none; -webkit-user-select: none;
}
h1, h2, h3, .mc-titre { font-family: var(--police-titre); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* ----- Écrans ----- */
#mc-app { position: relative; min-height: 100vh; min-height: 100dvh; width: 100%; max-width: 560px; margin: 0 auto; overflow: hidden; }
.mc-ecran {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease;
}
.mc-ecran--actif { display: flex; opacity: 1; transform: none; }
.mc-ecran--scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; padding-top: calc(60px + env(safe-area-inset-top)); }
.mc-ecran--scroll > * { flex-shrink: 0; }
.mc-ecran--jeu { padding: 0; justify-content: stretch; }
#ecran-jeu { touch-action: none; }
@media (prefers-reduced-motion: reduce) { .mc-ecran { transition: none; } }

/* ----- Intro ----- */
.mc-intro { justify-content: center; text-align: center; gap: 18px; }
.mc-intro__logo { width: 120px; height: 120px; object-fit: contain; border-radius: 24px; background: #fff; padding: 10px; box-shadow: var(--ombre); }
.mc-intro__titre { font-size: clamp(28px, 8vw, 40px); color: var(--primaire); font-weight: 800; }
.mc-intro__promesse { font-size: 18px; font-weight: 600; max-width: 32ch; margin: 0; }
.mc-intro__regle { font-size: 15px; opacity: .8; max-width: 34ch; margin: 0; }
.mc-retour { font-size: 14px; font-weight: 700; color: inherit; opacity: .9; text-decoration: underline; text-underline-offset: 3px; }   /* 09/11 : lien « ← Tous les jeux » (config.retour) */
.mc-mention { font-size: 12px; opacity: .6; margin-top: auto; padding-top: 12px; }
.mc-mention a { color: inherit; }

/* ----- Boutons ----- */
.mc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--police-titre); font-weight: 700; font-size: 20px; letter-spacing: .01em;
  background: var(--primaire); color: #fff; box-shadow: var(--ombre);
  transition: transform .12s ease, filter .12s ease; width: 100%; max-width: 360px;
}
.mc-btn:active { transform: scale(.97); filter: brightness(.95); }
.mc-btn--grand { font-size: 24px; min-height: 68px; }
.mc-btn--secondaire { background: #fff; color: var(--primaire); border: 2px solid var(--primaire); box-shadow: none; }
.mc-btn--accent { background: var(--secondaire); color: var(--encre); }
.mc-btn--texte { background: none; color: var(--encre); box-shadow: none; font-size: 16px; min-height: 44px; opacity: .8; }
.mc-btn:disabled { opacity: .55; cursor: default; }
.mc-pulse { animation: mc-pulse 1.6s ease-in-out infinite; }
@keyframes mc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .mc-pulse { animation: none; } }

/* ----- Barre du jeu (score, chrono, quitter) ----- */
.mc-barre {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px; pointer-events: none; font-family: var(--police-titre); font-weight: 700;
}
.mc-barre > * { pointer-events: auto; }
.mc-barre__score { font-size: 24px; color: var(--primaire); background: rgba(255,255,255,.85); padding: 4px 14px; border-radius: 999px; min-width: 64px; text-align: center; }
.mc-barre__info { font-size: 16px; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
.mc-barre__droite { display: flex; gap: 6px; }
.mc-barre__muet { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); font-size: 18px; cursor: pointer; }
#mc-app.mc-en-jeu .mc-muet { display: none; }
.mc-barre__quitter { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--encre); font-size: 20px; cursor: pointer; }
.mc-barre--bas { top: auto; bottom: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }

/* ----- Résultat ----- */
.mc-resultat { justify-content: center; text-align: center; gap: 14px; }
.mc-resultat__gros { font-size: clamp(34px, 10vw, 52px); font-weight: 800; color: var(--primaire); }
.mc-resultat__sous { font-size: 18px; max-width: 30ch; margin: 0; }
.mc-resultat__lot { font-size: 26px; font-weight: 800; color: var(--encre); background: var(--secondaire); padding: 12px 20px; border-radius: 14px; display: inline-block; }
.mc-resultat__record { font-size: 15px; opacity: .8; }
.mc-resultat__logo { width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 10px; object-fit: contain; box-shadow: var(--ombre); }
.mc-resultat__panneau { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 380px; }
.mc-resultat__bravo { margin: 0; font-family: var(--police-titre); font-weight: 800; font-size: 22px; color: var(--primaire); }
.mc-resultat__perdu { color: #b3261e; }   /* 09/11 : « Perdu » en mode ludique */
.mc-resultat__lot img { width: 72px; height: 72px; object-fit: contain; display: block; margin: 0 auto 6px; }

/* ----- Formulaire ----- */
.mc-form { justify-content: center; gap: 12px; width: 100%; }
.mc-form__titre { font-size: 24px; color: var(--primaire); text-align: center; }
.mc-form__sous { text-align: center; margin: 0 0 6px; opacity: .85; }
.mc-form form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.mc-champ { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.mc-champ input, .mc-champ select {
  font: inherit; font-size: 17px; font-weight: 500; padding: 12px 14px; border: 2px solid rgba(24,38,35,.18); border-radius: 12px; background: #fff; color: var(--encre); min-height: 50px; width: 100%;
}
.mc-champ input:focus, .mc-champ select:focus { outline: 0; border-color: var(--primaire); }
.mc-champ--erreur input { border-color: #c8102e; }
.mc-champ__erreur { color: #c8102e; font-weight: 600; font-size: 13px; min-height: 16px; }
.mc-choix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mc-choix--4 { grid-template-columns: repeat(4, 1fr); }
.mc-choix button { min-height: 50px; border-radius: 12px; border: 2px solid rgba(24,38,35,.18); background: #fff; font-weight: 700; font-size: 16px; cursor: pointer; color: var(--encre); }
.mc-choix button[aria-pressed="true"] { background: var(--primaire); border-color: var(--primaire); color: #fff; }
.mc-form__mentions { font-size: 11px; opacity: .6; text-align: center; margin: 4px 0 0; min-height: 14px; }

/* ----- Flyer ----- */
.mc-flyer { gap: 14px; }
.mc-flyer__rappel { text-align: center; font-family: var(--police-titre); font-weight: 800; font-size: 22px; color: var(--primaire); }
.mc-flyer__carte { width: 100%; max-width: 420px; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); background: #fff; }
.mc-flyer__carte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mc-flyer__gabarit { aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--primaire), var(--encre)); }
.mc-flyer__gabarit img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 20px; padding: 8px; }
.mc-flyer__gabarit h2 { font-size: 28px; }
.mc-flyer__gabarit p { font-size: 20px; font-weight: 700; margin: 0; color: var(--secondaire); }
.mc-flyer__offre { padding: 12px 16px; text-align: center; }
.mc-flyer__offre strong { font-family: var(--police-titre); font-size: 20px; display: block; }
.mc-flyer__offre span { font-size: 14px; opacity: .75; }
.mc-bon { width: 100%; max-width: 420px; background: #fff; border: 3px dashed var(--secondaire); border-radius: var(--rayon); padding: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mc-bon__code { font-family: var(--police-titre); font-size: 40px; letter-spacing: .18em; font-weight: 800; color: var(--primaire); }
.mc-bon__texte { font-size: 15px; font-weight: 600; margin: 0; }
.mc-bon__note { font-size: 12px; opacity: .65; margin: 0; }
/* pub d'un autre client : carte sous l'offre, ou plein écran avant le résultat */
.mc-resultat .mc-pub-carte, .mc-resultat-bloc .mc-pub-carte { max-width: 380px; }
.mc-resultat-bloc { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mc-pub-carte { width: 100%; max-width: 420px; border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.mc-pub-carte__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.mc-pub-carte__corps { display: flex; gap: 12px; align-items: center; text-align: left; }
.mc-pub-carte__image { width: 96px; height: 96px; object-fit: contain; border-radius: 14px; flex: none; }
.mc-pub-carte__texte { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mc-pub-carte__logo { width: 44px; height: 44px; object-fit: contain; }
.mc-pub-carte__texte strong { font-family: var(--police-titre); font-size: 17px; line-height: 1.15; }
.mc-pub-carte__texte span { font-size: 13px; opacity: .8; }
.mc-pub-carte__lien { min-height: 46px; font-size: 16px; }
.mc-pub { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 16px; background: rgba(0, 0, 0, .85); }
.mc-pub__carte { width: 100%; max-width: 380px; background: #fff; border-radius: var(--rayon); padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mc-pub__label { margin: 0; font-size: 13px; opacity: .7; }
.mc-pub__logo { width: 64px; height: 64px; object-fit: contain; }
.mc-pub__image { width: min(100%, 220px); aspect-ratio: 1; object-fit: contain; }
.mc-pub__titre { font-size: 24px; margin: 0; }
.mc-pub__texte { margin: 0; font-size: 15px; }
.mc-pub__lien { width: 100%; }
.mc-pub__passer { min-height: 44px; }
.mc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 420px; }
.mc-actions a, .mc-actions button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; border-radius: 14px;
  background: #fff; border: 2px solid rgba(24,38,35,.12); text-decoration: none; color: var(--encre); font-weight: 700; font-size: 14px; cursor: pointer; padding: 8px 4px;
}
.mc-actions svg { width: 26px; height: 26px; }
.mc-actions small { font-weight: 500; font-size: 11px; opacity: .7; }
.mc-actions .mc-action--wa { border-color: #25d366; color: #128c5e; }
.mc-autres { width: 100%; max-width: 420px; }
.mc-autres h3 { font-size: 16px; margin: 0 0 8px; opacity: .85; }
.mc-autres__liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mc-autres__liste a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--encre); font-size: 12px; font-weight: 600; text-align: center; background: #fff; border-radius: 12px; padding: 8px 4px; }
.mc-autres__liste img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.mc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--encre); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 50; opacity: 0; transition: opacity .2s; pointer-events: none; }
.mc-toast--visible { opacity: 1; }

/* ----- Divers ----- */
.mc-confettis { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }
.mc-muet { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 12px; z-index: 6; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.8); font-size: 18px; cursor: pointer; }
.mc-secoue { animation: mc-secoue .4s ease; }
@keyframes mc-secoue { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.mc-pop { animation: mc-pop .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes mc-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mc-paysage { display: none; position: fixed; inset: 0; z-index: 100; background: var(--fond); color: var(--encre); align-items: center; justify-content: center; text-align: center; font-family: var(--police-titre); font-size: 22px; font-weight: 700; padding: 24px; }
@media (orientation: landscape) and (max-height: 500px) { .mc-paysage { display: flex; } }
.mc-chargement { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--fond); z-index: 90; font-family: var(--police-titre); font-weight: 700; color: var(--primaire); }
.mc-cache { display: none !important; }
.mc-visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 600px) { #mc-app { box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 20px 60px rgba(0,0,0,.12); margin-top: 0; } body { background: #e9e4d8; } }

/* Sponsor pendant la partie (08/11) : pastille posée par le socle ; en bas quand le haut du jeu est déjà pris. */
.mc-sponsor { position: absolute; top: calc(58px + env(safe-area-inset-top)); right: 10px; z-index: 5; pointer-events: none; display: flex; align-items: center; gap: 7px; padding: 3px 11px 3px 3px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--encre); box-shadow: var(--ombre); font-family: var(--police-titre); line-height: 1.05; max-width: 62%; }
.mc-sponsor img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: #fff; padding: 2px; flex: none; }
.mc-sponsor span { display: flex; flex-direction: column; min-width: 0; }
.mc-sponsor small { font-size: 9px; font-weight: 700; opacity: .75; letter-spacing: .05em; text-transform: uppercase; }
.mc-sponsor b { font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.memory ~ .mc-sponsor, .quiz ~ .mc-sponsor, .puzzle ~ .mc-sponsor, .grattage ~ .mc-sponsor { top: auto; right: auto; left: 50%; transform: translateX(-50%); bottom: calc(8px + env(safe-area-inset-bottom)); }
.belote ~ .mc-sponsor { right: auto; left: 8px; top: 57%; max-width: 46%; }   /* belote : à gauche de la table, entre le siège de gauche et la main (le haut est pris par le partenaire et la barre) */
.jauge ~ .mc-sponsor { top: calc(98px + env(safe-area-inset-top)); }   /* jauge : sous sa pastille « Niveau » */

/* 09/11 : annonce des vies à gagner / gagnées */
.mc-vie-annonce { position: fixed; left: 50%; top: 17%; transform: translateX(-50%); z-index: 60; pointer-events: none; white-space: nowrap; font: 800 19px/1 Outfit, system-ui, sans-serif; color: #3a2406; background: linear-gradient(180deg, #fbe08e, #e8ad3c); padding: 11px 20px; border-radius: 999px; box-shadow: 0 4px 0 #8a5a10, 0 10px 20px rgba(0,0,0,.45); animation: mc-vie-annonce 2.2s ease both; }
@keyframes mc-vie-annonce { 0% { opacity: 0; transform: translate(-50%, 14px) scale(.8); } 10%, 82% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -12px); } }
@media (prefers-reduced-motion: reduce) { .mc-vie-annonce { animation: none; } }
.mc-avec-vies .mc-barre .mc-barre__info { max-width: 66%; font-size: 14px; padding-left: 9px; padding-right: 9px; letter-spacing: -.01em; }

/* 09/11 : pub interstitielle en plein écran */
.mc-pub { padding: 0; gap: 0; justify-content: stretch; align-items: stretch; z-index: 30; }
.mc-pub__carte { flex: 1; width: 100%; max-width: none; min-height: 0; overflow-y: auto; border-radius: 0; justify-content: center; gap: 14px; padding: calc(68px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); }
.mc-pub__image { flex: 1 1 auto; width: 100%; min-height: 120px; aspect-ratio: auto; }
.mc-pub__logo { width: 76px; height: 76px; }
.mc-pub__titre { font-size: 28px; line-height: 1.15; }
.mc-pub__texte { font-size: 17px; }
.mc-pub .mc-pub__passer { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; left: auto; width: auto; max-width: none; padding: 8px 16px; font-size: 15px; z-index: 1; }

/* 10/11 : iPhone : pas de loupe, de sélection ni de menu à l'appui long pendant la partie ; accueil défilant quand il dépasse l'écran */
.mc-ecran--jeu, .mc-ecran--jeu * { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.mc-ecran.mc-intro { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* 10/11 : écran de chargement avec barre de progression (préchargement de toutes les images) */
.mc-charge { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(80vw, 300px); text-align: center; }
.mc-charge strong { font-size: 20px; }
.mc-charge__barre { width: 100%; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; border: 1px solid rgba(242, 196, 90, .5); }
.mc-charge__barre i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #f2c45a, #ffe08a); transition: width .2s ease; }
.mc-charge small { font-size: 14px; opacity: .8; font-variant-numeric: tabular-nums; }
/* 10/11 : retour à la page d'origine (calendrier, entraînement, sponsors), toujours visible hors partie */
.mc-origine { position: fixed; z-index: 80; left: max(10px, env(safe-area-inset-left, 0px)); top: calc(10px + env(safe-area-inset-top, 0px)); display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(7, 15, 28, .88); color: #fbf8f1; border: 1.5px solid rgba(242, 196, 90, .7); font: 800 14px/1 var(--police-titre, system-ui); text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .45); }
body:has(.mc-ecran--jeu.mc-ecran--actif) .mc-origine, body:has(.mc-pub) .mc-origine { display: none; }
.mc-barre__maison { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--encre); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* 11/11 : date du jeu concours, discrète, en bas de l'accueil (entraînement) */
.mc-concours-le { position: relative; z-index: 2; margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #ffe08a; background: rgba(7, 15, 28, .72); border: 1px solid rgba(242, 196, 90, .45); }

/* 11/11 (Leeroy) : pub « affiche » = flyer vertical en entier, cliquable, bouton dessous */
.mc-pub.mc-pub--affiche { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(14px, env(safe-area-inset-bottom, 0px)); }
.mc-pub__affiche { display: block; min-height: 0; flex: 0 1 auto; }
.mc-pub__affiche img { display: block; max-width: min(100%, 460px); max-height: calc(100dvh - 250px); width: auto; height: auto; margin: 0 auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
.mc-pub--affiche .mc-pub__lien { width: min(100%, 460px); flex: none; }
.mc-pub.mc-pub--affiche .mc-pub__passer { position: static; flex: none; padding: 6px 16px; min-height: 40px; }
.mc-pub.mc-pub--affiche { background: radial-gradient(70% 45% at 50% 35%, rgba(242, 196, 90, .18), transparent 70%), #06172e; }
.mc-pub--affiche .mc-pub__lien, .mc-pub--affiche .mc-pub__lien:hover { text-decoration: none; white-space: nowrap; font-size: clamp(16px, 4.6vw, 19px); }
.mc-pub__accroche { margin: 0; max-width: 460px; flex: none; text-align: center; color: #fbf8f1; font-weight: 800; font-size: clamp(15px, 4.2vw, 18px); line-height: 1.3; }
.mc-pub__accroche::first-line { color: #f2c45a; }
/* 11/11 (Leeroy : « le flyer prend tout l'écran », sans texte ni bouton autour) : `pub.plein` */
.mc-pub.mc-pub--plein { padding: 0; gap: 0; background: #07122b; }
.mc-pub--plein .mc-pub__affiche { position: absolute; inset: 0; }
.mc-pub--plein .mc-pub__affiche img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; border-radius: 0; box-shadow: none; }
.mc-pub.mc-pub--plein .mc-pub__passer { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); left: 10px; right: auto; z-index: 2; min-height: 36px; padding: 5px 14px; font-size: 14px; background: rgba(7, 18, 43, .72); color: #fbf8f1; border: 1.5px solid rgba(242, 196, 90, .7); box-shadow: none; }
.mc-record-intro { position: relative; z-index: 2; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #3a2406; background: linear-gradient(180deg, #ffe9a8, #f2c45a); border: 1.5px solid #fff3c4; box-shadow: 0 3px 0 #8a5a10; }
.mc-record-intro b { font-weight: 900; }
.mc-sponsor-ent { position: relative; z-index: 2; margin: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, .94); color: #0b4f96; font-size: 12.5px; font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.mc-sponsor-ent img { height: 26px; width: auto; }
/* 11/11 : bannière du sponsor en plein écran, bouton WhatsApp posé en bas de l'image */
.mc-pub--plein .mc-pub__lien { position: absolute; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 2; width: auto; margin: 0 auto; max-width: 420px; text-decoration: none; }
.mc-pub--wa .mc-pub__lien { background: linear-gradient(180deg, #3be37b, #25d366 55%, #128c4a); color: #fff; border: 2px solid #fff; box-shadow: 0 4px 0 #0a5a2c, 0 10px 24px rgba(0, 0, 0, .4); }
.mc-pub__wa { width: 24px; height: 24px; flex: none; margin-right: 8px; vertical-align: -6px; }
.mc-pub--wa .mc-pub__lien { display: flex; align-items: center; justify-content: center; }
/* 11/11 (Leeroy, iPhone : « la page des scores balance de gauche à droite ») : le halo décoratif du panneau de score
   dépasse de 40 px ; l'écran ne défile plus jamais sur les côtés */
html, body { overflow-x: hidden; max-width: 100%; }
.mc-ecran, .mc-ecran--scroll { overflow-x: hidden; overscroll-behavior-x: none; }
.mc-resultat-bloc { overflow-x: clip; }   /* le halo reste, mais ne dépasse plus de l'écran */
