/* theme-noel.css — habillage « Nuit de Noël à Cayenne » pour les jeux Monsieur Clic.
   Thème optionnel : il se charge APRÈS shell.css et le CSS du jeu. On le retire après Noël (ou on le
   remplace par un autre thème) sans toucher au jeu. Aucune règle ni classe n'est créée pour le JavaScript :
   ce fichier ne fait que recolorer et décorer les classes existantes.
   Les couleurs du partenaire (--primaire, --secondaire) restent celles des réglages : elles portent
   le logo, les boutons, le titre et le bon. Le thème n'apporte que la nuit, l'or et les guirlandes. */

:root {
  --noel-nuit: #0c1a2c;
  --noel-nuit-2: #13263d;
  --noel-nuit-3: #070f1c;
  --noel-or: #f2c45a;
  --noel-paille: #e3c182;
  --noel-creme: #fbf8f1;
  --noel-rouge: #c8102e;
  --noel-ciel: radial-gradient(130% 55% at 50% -8%, #22406b 0%, #12284a 32%, #0c1a2c 62%, #070f1c 100%);
  --noel-motif: none;
  --noel-eclats: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cdefs%3E%3CradialGradient id='h'%3E%3Cstop offset='0' stop-color='%23fff4c0' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23fff4c0' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='28' cy='34' r='7.040000000000001' fill='url(%23h)' opacity='0.95'/%3E%3Cpath d='M28 27.6Q28.576 33.424 34.4 34Q28.576 34.576 28 40.4Q27.424 34.576 21.6 34Q27.424 33.424 28 27.6z' fill='%23fffbe0' opacity='0.95'/%3E%3Ccircle cx='150' cy='22' r='4.4' fill='url(%23h)' opacity='0.8'/%3E%3Cpath d='M150 18Q150.36 21.64 154 22Q150.36 22.36 150 26Q149.64 22.36 146 22Q149.64 21.64 150 18z' fill='%23ffe48a' opacity='0.8'/%3E%3Ccircle cx='96' cy='118' r='5.720000000000001' fill='url(%23h)' opacity='0.85'/%3E%3Cpath d='M96 112.8Q96.468 117.532 101.2 118Q96.468 118.468 96 123.2Q95.532 118.468 90.8 118Q95.532 117.532 96 112.8z' fill='%23ffffff' opacity='0.85'/%3E%3Ccircle cx='200' cy='150' r='7.920000000000001' fill='url(%23h)' opacity='0.9'/%3E%3Cpath d='M200 142.8Q200.648 149.352 207.2 150Q200.648 150.648 200 157.2Q199.352 150.648 192.8 150Q199.352 149.352 200 142.8z' fill='%23fff1b0' opacity='0.9'/%3E%3Ccircle cx='40' cy='200' r='4.4' fill='url(%23h)' opacity='0.7'/%3E%3Cpath d='M40 196Q40.36 199.64 44 200Q40.36 200.36 40 204Q39.64 200.36 36 200Q39.64 199.64 40 196z' fill='%23ffffff' opacity='0.7'/%3E%3Ccircle cx='170' cy='230' r='5.28' fill='url(%23h)' opacity='0.8'/%3E%3Cpath d='M170 225.2Q170.432 229.568 174.8 230Q170.432 230.432 170 234.8Q169.568 230.432 165.2 230Q169.568 229.568 170 225.2z' fill='%23ffe48a' opacity='0.8'/%3E%3Ccircle cx='240' cy='70' r='3.5200000000000005' fill='url(%23h)' opacity='0.7'/%3E%3Cpath d='M240 66.8Q240.288 69.712 243.2 70Q240.288 70.288 240 73.2Q239.712 70.288 236.8 70Q239.712 69.712 240 66.8z' fill='%23ffffff' opacity='0.7'/%3E%3C/svg%3E");
  --noel-nebuleuse: radial-gradient(45% 24% at 50% 0%, rgba(255, 226, 140, .22), transparent 72%), radial-gradient(30% 14% at 50% 0%, rgba(255, 244, 200, .18), transparent 70%), radial-gradient(80% 30% at 50% 100%, rgba(242, 170, 70, .12), transparent 72%);
  --noel-motif-taille: 64px 64px;
  --noel-embleme: none;
  --noel-flocons:
    radial-gradient(rgba(242, 196, 90, .75) 1.1px, transparent 1.7px),
    radial-gradient(rgba(251, 248, 241, .45) .8px, transparent 1.3px),
    radial-gradient(rgba(242, 196, 90, .35) 1.6px, transparent 2.2px);
  --noel-ville: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='150' viewBox='0 0 420 150'%3E%3Cdefs%3E%3ClinearGradient id='m1' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a7aa8'/%3E%3Cstop offset='1' stop-color='%2315304a'/%3E%3C/linearGradient%3E%3ClinearGradient id='m2' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23a0628a'/%3E%3Cstop offset='1' stop-color='%233a1f34'/%3E%3C/linearGradient%3E%3ClinearGradient id='m3' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233f8a74'/%3E%3Cstop offset='1' stop-color='%23123a30'/%3E%3C/linearGradient%3E%3ClinearGradient id='m4' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23b08a46'/%3E%3Cstop offset='1' stop-color='%234a3416'/%3E%3C/linearGradient%3E%3ClinearGradient id='toit' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23e2505c'/%3E%3Cstop offset='.5' stop-color='%23b0202e'/%3E%3Cstop offset='1' stop-color='%236a0d18'/%3E%3C/linearGradient%3E%3ClinearGradient id='cat' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23fff6e2'/%3E%3Cstop offset='.7' stop-color='%23e2d3b0'/%3E%3Cstop offset='1' stop-color='%23a8977a'/%3E%3C/linearGradient%3E%3ClinearGradient id='fleche' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%233fa07c'/%3E%3Cstop offset='.5' stop-color='%230e5c45'/%3E%3Cstop offset='1' stop-color='%2306281e'/%3E%3C/linearGradient%3E%3ClinearGradient id='vitre' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3c0'/%3E%3Cstop offset='1' stop-color='%23f0a23a'/%3E%3C/linearGradient%3E%3CradialGradient id='lueur'%3E%3Cstop offset='0' stop-color='%23ffd27a' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%23ffd27a' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='ciel' cx='.5' cy='1' r='.8'%3E%3Cstop offset='0' stop-color='%23f2aa46' stop-opacity='.45'/%3E%3Cstop offset='1' stop-color='%23f2aa46' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='tronc' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%237a5a3a'/%3E%3Cstop offset='1' stop-color='%232a1a0e'/%3E%3C/linearGradient%3E%3ClinearGradient id='palme' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a9a6e'/%3E%3Cstop offset='1' stop-color='%230b3a2a'/%3E%3C/linearGradient%3E%3ClinearGradient id='sol' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231a2a40'/%3E%3Cstop offset='1' stop-color='%23050b16'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='40' width='420' height='110' fill='url(%23ciel)'/%3E%3Cpath d='M384 146 Q392 112 384 76 L390 76 Q398 112 392 146z' fill='url(%23tronc)'/%3E%3Cpath d='M387 76 Q360 62 346 88 Q366 70 387 76z' fill='url(%23palme)'/%3E%3Cpath d='M387 76 Q372 50 352 52 Q372 62 387 76z' fill='url(%23palme)'/%3E%3Cpath d='M387 76 Q398 50 420 56 Q402 64 387 76z' fill='url(%23palme)'/%3E%3Cpath d='M387 76 Q410 64 424 86 Q404 72 387 76z' fill='url(%23palme)'/%3E%3Cpath d='M387 76 Q392 58 400 40 Q384 56 387 76z' fill='url(%23palme)'/%3E%3Cpolygon points='56,82 67,76 67,140 56,146' fill='%230c2236'/%3E%3Crect x='2' y='82' width='54' height='64' fill='url(%23m1)'/%3E%3Cpolygon points='29.0,57.68 40.0,51.68 72,75 60,83' fill='%234a0a12'/%3E%3Cpolygon points='-3,83 29.0,57.68 60,83' fill='url(%23toit)'/%3E%3Cpath d='M-3 83H60' stroke='%232a0508' stroke-width='2'/%3E%3Crect x='0' y='112.72' width='58' height='3' fill='%230a1220'/%3E%3Crect x='4.0' y='112.72' width='1.2' height='7.7' fill='%230a1220'/%3E%3Crect x='16.5' y='112.72' width='1.2' height='7.7' fill='%230a1220'/%3E%3Crect x='29.0' y='112.72' width='1.2' height='7.7' fill='%230a1220'/%3E%3Crect x='41.5' y='112.72' width='1.2' height='7.7' fill='%230a1220'/%3E%3Crect x='54.0' y='112.72' width='1.2' height='7.7' fill='%230a1220'/%3E%3Ccircle cx='17.7' cy='98.0' r='12.6' fill='url(%23lueur)'/%3E%3Crect x='12.8' y='91.0' width='9.7' height='14.1' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M17.7 91.0v14.1' stroke='%237a4a10' stroke-width='.8'/%3E%3Ccircle cx='17.7' cy='130.0' r='12.6' fill='url(%23lueur)'/%3E%3Crect x='12.8' y='123.0' width='9.7' height='14.1' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M17.7 123.0v14.1' stroke='%237a4a10' stroke-width='.8'/%3E%3Ccircle cx='40.3' cy='98.0' r='12.6' fill='url(%23lueur)'/%3E%3Crect x='35.5' y='91.0' width='9.7' height='14.1' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M40.3 91.0v14.1' stroke='%237a4a10' stroke-width='.8'/%3E%3Ccircle cx='40.3' cy='130.0' r='12.6' fill='url(%23lueur)'/%3E%3Crect x='35.5' y='123.0' width='9.7' height='14.1' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M40.3 123.0v14.1' stroke='%237a4a10' stroke-width='.8'/%3E%3Cpolygon points='136,62 147,56 147,140 136,146' fill='%232a1424'/%3E%3Crect x='74' y='62' width='62' height='84' fill='url(%23m2)'/%3E%3Cpolygon points='105.0,30.08 116.0,24.08 152,55 140,63' fill='%234a0a12'/%3E%3Cpolygon points='69,63 105.0,30.08 140,63' fill='url(%23toit)'/%3E%3Cpath d='M69 63H140' stroke='%232a0508' stroke-width='2'/%3E%3Crect x='72' y='102.32' width='66' height='3' fill='%230a1220'/%3E%3Crect x='76.0' y='102.32' width='1.2' height='10.1' fill='%230a1220'/%3E%3Crect x='90.5' y='102.32' width='1.2' height='10.1' fill='%230a1220'/%3E%3Crect x='105.0' y='102.32' width='1.2' height='10.1' fill='%230a1220'/%3E%3Crect x='119.5' y='102.32' width='1.2' height='10.1' fill='%230a1220'/%3E%3Crect x='134.0' y='102.32' width='1.2' height='10.1' fill='%230a1220'/%3E%3Ccircle cx='92.0' cy='83.0' r='14.5' fill='url(%23lueur)'/%3E%3Crect x='86.4' y='73.8' width='11.2' height='18.5' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M92.0 73.8v18.5' stroke='%237a4a10' stroke-width='.8'/%3E%3Ccircle cx='92.0' cy='125.0' r='14.5' fill='url(%23lueur)'/%3E%3Crect x='86.4' y='115.8' width='11.2' height='18.5' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M92.0 115.8v18.5' stroke='%237a4a10' stroke-width='.8'/%3E%3Ccircle cx='118.0' cy='83.0' r='14.5' fill='url(%23lueur)'/%3E%3Crect x='112.4' y='73.8' width='11.2' height='18.5' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M118.0 73.8v18.5' stroke='%237a4a10' stroke-width='.8'/%3E%3Crect x='112.4' y='115.8' width='11.2' height='18.5' fill='%230b1830'/%3E%3Cpolygon points='206,90 216,84 216,140 206,146' fill='%238a7a5e'/%3E%3Crect x='150' y='90' width='56' height='56' fill='url(%23cat)'/%3E%3Cpolygon points='146,92 178,72 210,92' fill='%23d8c7a4'/%3E%3Crect x='168' y='42' width='20' height='50' fill='url(%23cat)'/%3E%3Cpolygon points='188,42 194,38 194,88 188,92' fill='%238a7a5e'/%3E%3Cpolygon points='165,43 178,8 191,43' fill='url(%23fleche)'/%3E%3Cpath d='M178 0v12M174 4h8' stroke='%23f2c45a' stroke-width='2'/%3E%3Ccircle cx='178' cy='64' r='6' fill='url(%23vitre)'/%3E%3Ccircle cx='178' cy='64' r='12' fill='url(%23lueur)'/%3E%3Cpath d='M171 146v-20q7-9 14 0v20z' fill='%235a3a20'/%3E%3Crect x='157' y='104' width='8' height='14' rx='4' fill='url(%23vitre)'/%3E%3Crect x='191' y='104' width='8' height='14' rx='4' fill='url(%23vitre)'/%3E%3Cpolygon points='284,72 295,66 295,140 284,146' fill='%230e2a22'/%3E%3Crect x='226' y='72' width='58' height='74' fill='url(%23m3)'/%3E%3Cpolygon points='255.0,43.879999999999995 266.0,37.879999999999995 300,65 288,73' fill='%234a0a12'/%3E%3Cpolygon points='221,73 255.0,43.879999999999995 288,73' fill='url(%23toit)'/%3E%3Cpath d='M221 73H288' stroke='%232a0508' stroke-width='2'/%3E%3Crect x='224' y='107.52' width='62' height='3' fill='%230a1220'/%3E%3Crect x='228.0' y='107.52' width='1.2' height='8.9' fill='%230a1220'/%3E%3Crect x='241.5' y='107.52' width='1.2' height='8.9' fill='%230a1220'/%3E%3Crect x='255.0' y='107.52' width='1.2' height='8.9' fill='%230a1220'/%3E%3Crect x='268.5' y='107.52' width='1.2' height='8.9' fill='%230a1220'/%3E%3Crect x='282.0' y='107.52' width='1.2' height='8.9' fill='%230a1220'/%3E%3Ccircle cx='242.8' cy='90.5' r='13.6' fill='url(%23lueur)'/%3E%3Crect x='237.6' y='82.4' width='10.4' height='16.3' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M242.8 82.4v16.3' stroke='%237a4a10' stroke-width='.8'/%3E%3Crect x='237.6' y='119.4' width='10.4' height='16.3' fill='%230b1830'/%3E%3Crect x='262.0' y='82.4' width='10.4' height='16.3' fill='%230b1830'/%3E%3Ccircle cx='267.2' cy='127.5' r='13.6' fill='url(%23lueur)'/%3E%3Crect x='262.0' y='119.4' width='10.4' height='16.3' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M267.2 119.4v16.3' stroke='%237a4a10' stroke-width='.8'/%3E%3Cpolygon points='350,86 361,80 361,140 350,146' fill='%233a2810'/%3E%3Crect x='300' y='86' width='50' height='60' fill='url(%23m4)'/%3E%3Cpolygon points='325.0,63.2 336.0,57.2 366,79 354,87' fill='%234a0a12'/%3E%3Cpolygon points='295,87 325.0,63.2 354,87' fill='url(%23toit)'/%3E%3Cpath d='M295 87H354' stroke='%232a0508' stroke-width='2'/%3E%3Crect x='298' y='114.8' width='54' height='3' fill='%230a1220'/%3E%3Crect x='302.0' y='114.8' width='1.2' height='7.2' fill='%230a1220'/%3E%3Crect x='313.5' y='114.8' width='1.2' height='7.2' fill='%230a1220'/%3E%3Crect x='325.0' y='114.8' width='1.2' height='7.2' fill='%230a1220'/%3E%3Crect x='336.5' y='114.8' width='1.2' height='7.2' fill='%230a1220'/%3E%3Crect x='348.0' y='114.8' width='1.2' height='7.2' fill='%230a1220'/%3E%3Crect x='310.0' y='94.4' width='9.0' height='13.2' fill='%230b1830'/%3E%3Ccircle cx='314.5' cy='131.0' r='11.7' fill='url(%23lueur)'/%3E%3Crect x='310.0' y='124.4' width='9.0' height='13.2' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M314.5 124.4v13.2' stroke='%237a4a10' stroke-width='.8'/%3E%3Ccircle cx='335.5' cy='101.0' r='11.7' fill='url(%23lueur)'/%3E%3Crect x='331.0' y='94.4' width='9.0' height='13.2' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M335.5 94.4v13.2' stroke='%237a4a10' stroke-width='.8'/%3E%3Ccircle cx='335.5' cy='131.0' r='11.7' fill='url(%23lueur)'/%3E%3Crect x='331.0' y='124.4' width='9.0' height='13.2' rx='1' fill='url(%23vitre)'/%3E%3Cpath d='M335.5 124.4v13.2' stroke='%237a4a10' stroke-width='.8'/%3E%3Crect x='0' y='144' width='420' height='6' fill='url(%23sol)'/%3E%3C/svg%3E");
}

/* ---------- Le fond : nuit étoilée, flocons dorés ---------- */
body { background: var(--noel-nuit-3); }
#mc-app {
  background-image: var(--noel-motif), var(--noel-eclats), var(--noel-flocons), var(--noel-nebuleuse), var(--noel-ciel); background-repeat: repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: var(--noel-motif-taille), 260px 260px, 73px 67px, 41px 47px, 131px 113px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: 0 0, 30px 10px, 0 0, 17px 23px, 53px 31px, 0 0, 0 0, 0 0, 0 0, 0 0;
  color: var(--noel-creme);
}
@media (min-width: 600px) {
  body { background: #04080f; }
  #mc-app { box-shadow: 0 0 0 1px rgba(242, 196, 90, .25), 0 20px 60px rgba(0, 0, 0, .6); }
}
.mc-chargement, .mc-paysage { background: var(--noel-nuit); color: var(--noel-creme); }

/* Ville de Cayenne en bas des écrans du socle (pas pendant le jeu) ; plus de guirlande en haut (08/11, Leeroy) */
.mc-intro::after, .mc-resultat::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: var(--noel-ville) repeat-x 50% 100% / 420px 150px; pointer-events: none; z-index: 0; opacity: .95;
}
.mc-intro > *, .mc-resultat > *, .mc-form > *, .mc-flyer > * { position: relative; z-index: 1; }

/* ---------- Accueil du jeu ---------- */
.mc-intro { background: var(--noel-embleme) no-repeat 50% calc(env(safe-area-inset-top) + 8px) / min(330px, 86vw) auto; gap: 16px; padding-top: max(46px, calc(34px + env(safe-area-inset-top))); padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.mc-intro__logo {
  width: 124px; height: 124px; border-radius: 50%; padding: 14px; background: #fff;
  box-shadow: 0 0 0 4px var(--secondaire), 0 0 0 10px var(--primaire), 0 0 0 12px rgba(242, 196, 90, .7), 0 0 46px 14px rgba(242, 196, 90, .35), 0 18px 30px rgba(0, 0, 0, .45);
  margin-bottom: 6px;
}
.mc-intro__titre { color: var(--secondaire); font-size: clamp(30px, 8.6vw, 42px); text-shadow: 0 2px 0 rgba(0, 0, 0, .35), 0 0 26px rgba(0, 0, 0, .55); text-wrap: balance; }
.mc-intro__promesse { color: var(--noel-creme); font-size: 18px; line-height: 1.4; text-wrap: balance; }
.mc-intro__regle {
  color: rgba(251, 248, 241, .86); opacity: 1; font-size: 14.5px; line-height: 1.5; max-width: 36ch;
  background: rgba(19, 38, 61, .72); border: 1px solid rgba(242, 196, 90, .3); border-radius: 16px; padding: 12px 16px;
  backdrop-filter: blur(2px);
}
.mc-mention { color: rgba(251, 248, 241, .75); opacity: 1; text-shadow: 0 1px 3px #000; }
.mc-mention a { color: var(--noel-paille); }

/* ---------- Boutons : la couleur dorée du partenaire ---------- */
.mc-btn {
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondaire) 72%, #fff) 0%, var(--secondaire) 55%, color-mix(in srgb, var(--secondaire) 85%, #000) 100%);
  color: var(--primaire);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--secondaire) 45%, #000), 0 14px 28px rgba(0, 0, 0, .45);
  font-weight: 800;
}
.mc-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 color-mix(in srgb, var(--secondaire) 45%, #000), 0 6px 14px rgba(0, 0, 0, .4); filter: none; }
.mc-btn--secondaire { background: rgba(251, 248, 241, .06); color: var(--noel-creme); border: 2px solid rgba(242, 196, 90, .6); box-shadow: none; }
.mc-btn--secondaire:active { box-shadow: none; }
.mc-btn--accent { background: linear-gradient(180deg, #ffe08a, var(--noel-or)); color: #2a1a06; }
.mc-btn--texte { background: none; color: var(--noel-paille); box-shadow: none; opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.mc-btn--texte:active { box-shadow: none; }
.mc-btn:focus-visible, .mc-actions a:focus-visible, .mc-actions button:focus-visible { outline: 3px solid var(--noel-or); outline-offset: 3px; }
@keyframes mc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

/* ---------- Son ---------- */
.mc-muet, .mc-barre__muet, .mc-barre__quitter, .mc-barre__maison {
  background: rgba(7, 15, 28, .72); color: var(--noel-creme); border: 1.5px solid rgba(242, 196, 90, .55);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}

/* ---------- Barre du jeu : pastilles de nuit bordées d'or ---------- */
.mc-barre__score, .mc-barre__info {
  background: rgba(7, 15, 28, .78); color: var(--noel-creme); border: 1.5px solid rgba(242, 196, 90, .55);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35); backdrop-filter: blur(3px);
}
.mc-barre__score { color: var(--noel-or); }

/* ---------- Écran « Gagné » / résultat ---------- */
.mc-resultat {
  gap: 16px; padding-top: max(46px, calc(34px + env(safe-area-inset-top)));
  background: radial-gradient(60% 38% at 50% 40%, rgba(242, 196, 90, .26), transparent 70%);
}
.mc-resultat__gros { color: var(--noel-or); text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 30px rgba(242, 196, 90, .55); }
.mc-resultat__sous { color: var(--noel-creme); }
.mc-resultat__lot {
  position: relative; color: var(--primaire); background: linear-gradient(180deg, #fff, #fbf3e4);
  border: 3px solid var(--secondaire); border-radius: 18px; padding: 18px 22px 16px; max-width: 340px; line-height: 1.15; margin-top: 22px;
  box-shadow: 0 0 0 5px var(--primaire), 0 16px 34px rgba(0, 0, 0, .5);
}
.mc-resultat__lot::before { /* le ruban du paquet cadeau */
  content: ""; position: absolute; left: 50%; top: -22px; width: 44px; height: 24px; margin-left: -22px;
  background: radial-gradient(circle at 25% 60%, transparent 5px, var(--noel-rouge) 6px 11px, transparent 12px), radial-gradient(circle at 75% 60%, transparent 5px, var(--noel-rouge) 6px 11px, transparent 12px);
}
.mc-resultat__record { color: rgba(251, 248, 241, .85); opacity: 1; }

/* ---------- Formulaire ---------- */
.mc-form__titre { color: var(--noel-or); }
.mc-form__sous { color: var(--noel-creme); opacity: .9; }
.mc-champ { color: var(--noel-creme); }
.mc-champ input, .mc-champ select { border-color: rgba(242, 196, 90, .45); }
.mc-champ input:focus, .mc-champ select:focus { border-color: var(--noel-or); box-shadow: 0 0 0 3px rgba(242, 196, 90, .35); }
.mc-champ__erreur { color: #ff9a9a; }
.mc-choix button[aria-pressed="true"] { background: var(--secondaire); border-color: var(--secondaire); color: var(--primaire); }
.mc-form__mentions { color: rgba(251, 248, 241, .75); opacity: 1; }

/* ---------- Flyer et bon ---------- */
.mc-flyer { padding-top: calc(54px + env(safe-area-inset-top)); }
.mc-flyer__rappel { color: var(--noel-or); text-shadow: 0 0 22px rgba(242, 196, 90, .4); }
.mc-flyer__carte { box-shadow: 0 0 0 3px var(--secondaire), 0 0 0 8px var(--primaire), 0 20px 40px rgba(0, 0, 0, .55); }
.mc-flyer__gabarit { background: radial-gradient(90% 60% at 50% 30%, color-mix(in srgb, var(--primaire) 75%, #fff) 0%, var(--primaire) 55%, color-mix(in srgb, var(--primaire) 70%, #000) 100%); }
.mc-flyer__offre { color: var(--encre); background: #fff; }
.mc-bon {
  background: linear-gradient(180deg, #fffdf7, #fbf3e4); color: var(--encre);
  border: 3px dashed var(--secondaire); box-shadow: 0 0 0 6px var(--primaire), 0 18px 36px rgba(0, 0, 0, .5);
}
.mc-bon__code { color: var(--primaire); }
.mc-actions a, .mc-actions button { background: rgba(251, 248, 241, .97); }
.mc-autres h3 { color: var(--noel-paille); opacity: 1; }
.mc-autres__liste a { background: rgba(251, 248, 241, .97); }
.mc-toast { background: var(--noel-or); color: #2a1a06; }

/* =========================================================
   Pendant le jeu : la nuit derrière les jeux à fond clair,
   et les textes posés sur ce fond rendus lisibles.
   ========================================================= */
.mc-ecran--jeu { background-image: var(--noel-motif), var(--noel-eclats), var(--noel-flocons), var(--noel-nebuleuse), var(--noel-ciel); background-repeat: repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat; background-size: var(--noel-motif-taille), 260px 260px, 73px 67px, 41px 47px, 131px 113px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%; background-position: 0 0, 30px 10px, 0 0, 17px 23px, 53px 31px, 0 0, 0 0, 0 0, 0 0, 0 0; }

/* Cartes d'aide et messages de fin posés sur le jeu */
.casse__aide, .runner__aide, .tir__aide, .attrape__aide {
  background: rgba(7, 15, 28, .86); color: var(--noel-creme); border: 1.5px solid rgba(242, 196, 90, .6);
}
.casse__fin, .runner__fin, .tir__fin, .attrape__fin, .puzzle__offre, .memory__message {
  background: linear-gradient(180deg, #fff, #fbf3e4); border: 3px solid var(--secondaire);
  box-shadow: 0 0 0 5px var(--primaire), 0 18px 40px rgba(0, 0, 0, .5);
}

/* Puzzle */
.puzzle { background: transparent; }
.puzzle__aide { color: var(--noel-creme); }
.puzzle__modele { box-shadow: 0 0 0 2px var(--secondaire), 0 6px 16px rgba(0, 0, 0, .4); }
.puzzle__plateau { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--primaire) 45%, transparent), 0 0 0 3px var(--secondaire), 0 10px 26px rgba(0, 0, 0, .45); }

/* Puissance 4 */
.p4 { background: transparent; }
.p4__tour { color: var(--noel-creme); text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.p4__aide { color: var(--noel-creme); opacity: .85; }
.p4__plateau { box-shadow: 0 0 0 3px var(--secondaire), 0 10px 0 rgba(0, 0, 0, .35), 0 20px 40px rgba(0, 0, 0, .5); }
.p4__case { background: #0a1424; box-shadow: inset 0 3px 7px rgba(0, 0, 0, .6); }

/* Memory */
.memory__aide { color: var(--noel-creme); opacity: .85; }
.memory__face--dos { border-color: var(--secondaire); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
.memory__voile { background: rgba(7, 15, 28, .66); }

/* Stop-la-jauge */
.jauge__aide { color: var(--noel-creme); opacity: .85; }
.jauge__piste { background: #1a2c45; box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6), 0 0 0 4px var(--secondaire), 0 0 30px rgba(242, 196, 90, .25); }
.jauge__arc { stroke: #1a2c45; }
.jauge__zone-label, .jauge__niveau { border: 1.5px solid rgba(242, 196, 90, .6); background: #0a1424; }
.jauge__zone-texte { fill: var(--noel-creme); }
.jauge__aiguille circle { fill: var(--secondaire); }
.jauge__message { color: var(--noel-creme); }
.jauge--touche .jauge__message { color: #6fe39b; }
.jauge--rate .jauge__message { color: #ff8a8a; }
.jauge__curseur { box-shadow: 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 2px var(--secondaire); }

/* Ticket à gratter */
.grattage__aide { color: var(--noel-creme); opacity: .85; }
.grattage__ticket { box-shadow: 0 0 0 3px var(--secondaire), 0 0 0 7px var(--noel-creme), 0 0 40px rgba(242, 196, 90, .3), 0 18px 40px rgba(0, 0, 0, .5); }

/* La roue */
.roue__aide { color: var(--noel-creme); opacity: .85; }
.roue__svg { box-shadow: 0 0 0 8px #fff, 0 0 0 11px var(--secondaire), 0 0 50px rgba(242, 196, 90, .35), 0 16px 40px rgba(0, 0, 0, .5); }

/* Attrape-les-cadeaux */
.attrape { background: transparent; }
.attrape__combo { background: rgba(7, 15, 28, .8); color: var(--noel-creme); border: 1.5px solid rgba(242, 196, 90, .55); }
.attrape__combo--actif { background: var(--secondaire); color: var(--primaire); }

/* Bonhomme de neige : il fond sous le soleil couchant de Cayenne */
.bonhomme { background: linear-gradient(180deg, #23406b 0%, #c96b3c 36%, #f2b13a 52%, var(--fond) 70%); }
.bonhomme__indice { color: var(--encre); }

/* Belote : feutre plus profond et liseré doré */
.belote__tapis { border-radius: 50%; box-shadow: 0 0 0 2px rgba(242, 196, 90, .35), inset 0 0 60px rgba(0, 0, 0, .35); }

/* Quiz : on garde la salle de classe, avec un fond chaud de Noël */
.quiz { background: linear-gradient(180deg, #fbf3e4, color-mix(in srgb, #fbf3e4 75%, var(--secondaire))); }

@media (prefers-reduced-motion: reduce) { .mc-resultat__lot::before { display: none; } }

/* =========================================================
   RELIEF 3D (07/11, v4) : boutons bombés, or ciselé, verre biseauté, titres en relief.
   Cette couche vient après le reste et l'emporte à spécificité égale.
   ========================================================= */
.mc-btn {
  background:
    radial-gradient(120% 75% at 50% -10%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--secondaire) 70%, #fff) 0%, var(--secondaire) 52%, color-mix(in srgb, var(--secondaire) 78%, #000) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .75), inset 0 -4px 0 rgba(0, 0, 0, .2), 0 7px 0 color-mix(in srgb, var(--secondaire) 42%, #000), 0 16px 26px rgba(0, 0, 0, .55);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}
.mc-btn:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 2px 0 color-mix(in srgb, var(--secondaire) 42%, #000), 0 6px 12px rgba(0, 0, 0, .45); }
.mc-btn--secondaire {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .3), 0 6px 14px rgba(0, 0, 0, .35); text-shadow: none;
}
.mc-btn--texte { background: none; box-shadow: none; text-shadow: none; }

/* médaillon en or ciselé autour du logo du partenaire */
.mc-intro__logo {
  width: 132px; height: 132px; padding: 12px; border: 7px solid transparent;
  background: radial-gradient(circle at 36% 30%, #ffffff 0%, #f6efe0 70%, #e4d6b8 100%) padding-box,
              conic-gradient(from 200deg, #8a5a10, #ffe9a0, #c8901e, #fff6d0, #a8701a, #ffe08a, #8a5a10) border-box;
  box-shadow: 0 0 0 5px var(--primaire), 0 0 0 7px rgba(255, 233, 160, .55), inset 0 -8px 14px rgba(0, 0, 0, .14), inset 0 4px 6px #fff,
              0 0 50px 14px rgba(242, 196, 90, .32), 0 22px 32px rgba(0, 0, 0, .6);
}

/* titres en relief */
.mc-intro__titre, .mc-resultat__gros, .mc-form__titre, .mc-flyer__rappel {
  text-shadow: 0 1px 0 color-mix(in srgb, var(--secondaire) 80%, #000), 0 2px 0 color-mix(in srgb, var(--secondaire) 65%, #000),
               0 3px 0 color-mix(in srgb, var(--secondaire) 50%, #000), 0 4px 0 color-mix(in srgb, var(--secondaire) 38%, #000),
               0 9px 16px rgba(0, 0, 0, .6);
}
.mc-resultat__gros, .mc-form__titre, .mc-flyer__rappel { --secondaire-titre: var(--noel-or); }

/* panneaux en verre biseauté */
.mc-intro__regle, .casse__aide, .runner__aide, .tir__aide, .attrape__aide, .attrape__combo, .mc-barre__score, .mc-barre__info {
  background: linear-gradient(180deg, rgba(52, 82, 124, .88) 0%, rgba(16, 32, 54, .9) 55%, rgba(8, 18, 32, .92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 8px 18px rgba(0, 0, 0, .45);
}
.mc-muet, .mc-barre__muet, .mc-barre__quitter, .mc-barre__maison {
  background: radial-gradient(circle at 35% 28%, rgba(120, 150, 200, .55), rgba(10, 20, 36, .92) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 10px rgba(0, 0, 0, .45);
}

/* le lot : un vrai paquet en relief */
.mc-resultat__lot {
  background: radial-gradient(120% 80% at 50% 0%, #fff 0%, #fbf3e4 60%, #eadcc0 100%);
  box-shadow: inset 0 2px 0 #fff, inset 0 -5px 10px rgba(0, 0, 0, .12), 0 0 0 5px var(--primaire), 0 0 0 7px rgba(255, 233, 160, .5), 0 22px 40px rgba(0, 0, 0, .6);
}
.mc-resultat__lot::before {
  width: 56px; height: 30px; margin-left: -28px; top: -26px;
  background: radial-gradient(circle at 26% 62%, transparent 5px, #ff5468 6px, #c8102e 9px, #7a0a1c 12px, transparent 13px),
              radial-gradient(circle at 74% 62%, transparent 5px, #ff5468 6px, #c8102e 9px, #7a0a1c 12px, transparent 13px);
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45));
}

/* cartes du flyer, bon et cartes de fin en relief */
.mc-flyer__carte, .mc-bon, .casse__fin, .runner__fin, .tir__fin, .attrape__fin, .puzzle__offre, .memory__message {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), inset 0 -4px 10px rgba(0, 0, 0, .1), 0 0 0 5px var(--primaire), 0 0 0 7px rgba(255, 233, 160, .45), 0 24px 44px rgba(0, 0, 0, .6);
}
.mc-actions a, .mc-actions button, .mc-autres__liste a, .mc-choix button {
  background: linear-gradient(180deg, #fff 0%, #f4ecdc 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(0, 0, 0, .1), 0 6px 14px rgba(0, 0, 0, .35);
}
.mc-champ input, .mc-champ select { box-shadow: inset 0 2px 4px rgba(0, 0, 0, .14); }

/* plateaux et cartes des jeux : un peu plus de volume */
.p4__plateau { background: linear-gradient(180deg, color-mix(in srgb, var(--primaire) 75%, #fff) 0%, var(--primaire) 30%, color-mix(in srgb, var(--primaire) 75%, #000) 100%); }
.memory__face--dos { background: radial-gradient(120% 90% at 30% 15%, color-mix(in srgb, var(--primaire) 70%, #fff), var(--primaire) 55%, color-mix(in srgb, var(--primaire) 70%, #000)); }
.memory__face { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .25), 0 6px 14px rgba(0, 0, 0, .45); }
.jauge__piste { background: linear-gradient(90deg, #0a1424 0%, #22385a 45%, #0a1424 100%); }
.grattage__ticket { background: radial-gradient(130% 80% at 30% 0%, color-mix(in srgb, var(--primaire) 70%, #fff) 0%, var(--primaire) 45%, color-mix(in srgb, var(--primaire) 65%, #000) 100%); }

/* la mention reste lisible devant la ville */
.mc-intro .mc-mention { background: linear-gradient(180deg, rgba(30, 50, 80, .92), rgba(7, 15, 28, .94)); border: 1px solid rgba(242, 196, 90, .45); border-radius: 999px; padding: 5px 14px; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }

/* la vraie place des Palmistes (extrait de la carte illustrée du chemin) en bas de l'accueil et de « Gagné » :
   palmiers illuminés, kiosque, sapin, fontaine, et le panneau de Monsieur Clic en Père Noël */
.mc-intro::after, .mc-resultat::after {
  height: calc(min(100vw, 560px) / 2.75); opacity: 1;
  background: none;   /* 11/11 : palmistes.jpg n'existe plus (remplacé par le fond de lancement) : plus de requête en erreur */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%); mask-image: linear-gradient(180deg, transparent 0%, #000 38%);
}
.mc-intro { padding-bottom: calc(min(100vw, 560px) / 2.75 + env(safe-area-inset-bottom) - 6px); }

/* =========================================================
   TITRES « DESSIN ANIMÉ 3D » (modèle de texture du 07/11) :
   dégradé crème → or du partenaire → orangé, gros contour sombre, épaisseur et ombre portée.
   ========================================================= */
.mc-intro__titre, .mc-resultat__gros, .mc-flyer__rappel, .mc-form__titre {
  background: linear-gradient(180deg, #fffbe6 0%, #fff0a0 22%, color-mix(in srgb, var(--secondaire) 85%, #ffd23a) 52%, color-mix(in srgb, var(--secondaire) 70%, #e0600a) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none; letter-spacing: -.01em;
  filter: drop-shadow(2px 0 0 #0b1638) drop-shadow(-2px 0 0 #0b1638) drop-shadow(0 2px 0 #0b1638) drop-shadow(0 -2px 0 #0b1638)
          drop-shadow(0 4px 0 #0b1638) drop-shadow(0 3px 0 #1f3a8a) drop-shadow(0 10px 14px rgba(0, 0, 0, .55));
  padding: 0 6px;
}
.mc-intro__titre { font-size: clamp(32px, 9.4vw, 46px); line-height: 1.04; }
.mc-resultat__gros { font-size: clamp(42px, 13vw, 64px); }
.mc-intro__promesse { text-shadow: 0 2px 0 rgba(11, 22, 56, .9), 0 0 14px rgba(11, 22, 56, .8); font-weight: 700; }

/* 08/11 : plus de guirlande en haut des écrans (choix de Leeroy) */
.mc-intro, .mc-resultat { padding-top: max(28px, calc(16px + env(safe-area-inset-top))); }
.mc-form, .mc-flyer { padding-top: calc(60px + env(safe-area-inset-top)); }

/* 08/11 : le gros texte du résultat peut être une émoticône (partie perdue) : pas de dégradé découpé dessus,
   un doré plein avec contour, pour que l'émoticône garde ses couleurs */
.mc-resultat__gros {
  background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor;
  color: #ffd76a; filter: drop-shadow(2px 0 0 #0b1638) drop-shadow(-2px 0 0 #0b1638) drop-shadow(0 2px 0 #0b1638) drop-shadow(0 -2px 0 #0b1638) drop-shadow(0 4px 0 #0b1638) drop-shadow(0 10px 14px rgba(0, 0, 0, .55));
}

/* 08/11 : un vrai nœud de ruban au-dessus du lot gagné */
.mc-resultat__lot::before { width: 70px; height: 40px; margin-left: -35px; top: -30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 44'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ff5a6c'/%3E%3Cstop offset='1' stop-color='%239a0a1c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M40 24 C28 4 6 4 8 18 C10 30 28 28 40 24z' fill='url(%23r)' stroke='%236a0614' stroke-width='1.5'/%3E%3Cpath d='M40 24 C52 4 74 4 72 18 C70 30 52 28 40 24z' fill='url(%23r)' stroke='%236a0614' stroke-width='1.5'/%3E%3Cpath d='M36 26 L26 44 L33 41 L37 44 L40 28z M44 26 L54 44 L47 41 L43 44 L40 28z' fill='url(%23r)' stroke='%236a0614' stroke-width='1.2'/%3E%3Cellipse cx='40' cy='24' rx='7' ry='6' fill='%23e01b2e' stroke='%236a0614' stroke-width='1.5'/%3E%3Cpath d='M16 14 C20 10 28 12 32 18' stroke='%23ffb0b8' stroke-width='2' fill='none' opacity='.7'/%3E%3Cpath d='M64 14 C60 10 52 12 48 18' stroke='%23ffb0b8' stroke-width='2' fill='none' opacity='.7'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); }

/* 08/11 (v7, Claude Code) : l'écran de fin, « c'est vide » (Leeroy) → le logo du partenaire en médaillon, un panneau de verre bordé d'or pour
   le score ou le lot (ruban rouge, image du lot en médaille), Monsieur Clic en Père Noël (image de Leeroy, ChatGPT) et des cadeaux devant la place. */
.mc-resultat { justify-content: flex-start; gap: 14px; padding-top: max(26px, calc(14px + env(safe-area-inset-top))); padding-bottom: calc(min(100vw, 560px) / 2.75); }
.mc-resultat::before { display: block; content: ""; position: absolute; inset: 0; top: 0; height: auto; z-index: 1; pointer-events: none;
  background: url("theme-noel/pere-noel.webp") left 2% bottom 14px / auto min(250px, 31vh) no-repeat, url("theme-noel/cadeaux-rouges.webp") right 4% bottom 22px / min(118px, 15vh) auto no-repeat; }
.mc-resultat__logo { width: 88px; height: 88px; padding: 9px; border: 5px solid transparent; margin-bottom: 2px;
  background: radial-gradient(circle at 36% 30%, #ffffff 0%, #f6efe0 70%, #e4d6b8 100%) padding-box, conic-gradient(from 200deg, #8a5a10, #ffe9a0, #c8901e, #fff6d0, #a8701a, #ffe08a, #8a5a10) border-box;
  box-shadow: 0 0 0 4px var(--primaire), 0 0 0 6px rgba(255, 233, 160, .55), 0 0 36px 10px rgba(242, 196, 90, .3), 0 14px 24px rgba(0, 0, 0, .55); }
.mc-resultat__panneau { padding: 18px 18px 16px; border-radius: 24px; border: 3px solid #f2c45a; gap: 8px;
  background: linear-gradient(180deg, rgba(52, 82, 124, .9) 0%, rgba(16, 32, 54, .93) 55%, rgba(8, 18, 32, .95) 100%);
  box-shadow: 0 0 0 3px #7a4a08, inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 36px rgba(0, 0, 0, .55); }
.mc-resultat__bravo { color: #fff; letter-spacing: .02em; text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.mc-resultat__gros { margin: 0; }
.mc-resultat__sous { margin: 0; }
.mc-resultat__lot { color: #ffe9a8; background: linear-gradient(180deg, #ff5468 0%, #c8102e 45%, #8a0a1c 100%); border: 3px solid #f2c45a; margin-top: 26px; font-size: 24px;
  box-shadow: 0 0 0 3px #7a4a08, inset 0 2px 0 rgba(255, 255, 255, .35), 0 12px 24px rgba(0, 0, 0, .5); text-shadow: 0 2px 0 rgba(0, 0, 0, .45); }
.mc-resultat__lot img { width: 78px; height: 78px; margin: -56px auto 4px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.mc-resultat__lot:has(img) { margin-top: 44px; }
.mc-resultat__lot:has(img)::before { display: none; }
.mc-resultat__record { color: #fbf8f1; }
.mc-resultat .mc-btn--grand { position: relative; z-index: 2; }
@media (min-height: 760px) { .mc-resultat { justify-content: center; padding-bottom: calc(min(100vw, 560px) / 2.75 + 56px); } }   /* grand écran : le panneau se centre au-dessus de Monsieur Clic */

/* 08/11 (v7, Claude Code) : la direction artistique des maquettes ChatGPT de Leeroy, pour tous les jeux.
   Accueil : le logo Monsieur Clic de Noël en haut, le médaillon du partenaire plus discret, le titre dans un bandeau rouge avec le nom du
   partenaire en or, le bouton principal vert bordé d'or, Monsieur Clic en Père Noël et des cadeaux devant la place. */
.mc-ecran.mc-intro { background: url("theme-noel/logo-monsieur-clic.webp") 50% calc(env(safe-area-inset-top) + 8px) / 150px auto no-repeat;
  padding-top: calc(100px + env(safe-area-inset-top)); gap: 14px; justify-content: flex-start; }
.mc-intro::before { display: block; content: ""; position: absolute; inset: 0; top: 0; height: auto; z-index: 1; pointer-events: none;
  background: url("theme-noel/pere-noel.webp") left 2% bottom 10px / auto min(210px, 26vh) no-repeat, url("theme-noel/cadeaux-rouges.webp") right 3% bottom 16px / min(104px, 13vh) auto no-repeat; }
.mc-intro .mc-intro__logo { width: 84px; height: 84px; padding: 8px; border-width: 5px; margin-bottom: 0;
  box-shadow: 0 0 0 4px var(--primaire), 0 0 0 6px rgba(255, 233, 160, .55), 0 0 30px 8px rgba(242, 196, 90, .28), 0 12px 20px rgba(0, 0, 0, .5); }
.mc-intro h1.mc-intro__titre { display: block; max-width: min(100%, 360px); padding: 12px 22px 13px; border-radius: 18px; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.35), transparent 55%), linear-gradient(180deg, #e8283e 0%, #b60c22 55%, #7a0a1c 100%);
  -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #fff; color: #fff; filter: none;
  border: 3px solid #f6c443; box-shadow: 0 0 0 3px #7a4a08, inset 0 1px 0 rgba(255,255,255,.4), 0 10px 22px rgba(0,0,0,.55);
  font-size: clamp(21px, 6vw, 27px); line-height: 1.15; text-shadow: 0 2px 0 rgba(0,0,0,.45); }
.mc-intro h1.mc-intro__titre em { font-style: normal; display: block; color: #ffd84a; -webkit-text-fill-color: #ffd84a; font-size: 1.22em; line-height: 1.1; }
.mc-intro__promesse { font-size: 17px; }
.mc-intro__regle { font-size: 14px; }
.mc-intro .mc-mention, .mc-intro .mc-btn, .mc-intro .mc-intro__regle, .mc-intro .mc-intro__promesse, .mc-intro h1, .mc-intro .mc-intro__logo { position: relative; z-index: 2; }
@media (max-height: 700px) { .mc-intro::before { background-size: auto 0, min(90px, 12vh) auto; } }   /* petit écran : Monsieur Clic laisse la place */
/* le bouton principal : vert bombé bordé d'or (Jouer, Continuer) ; les secondaires restent dorés */
.mc-btn--grand { color: #fff; border: 3px solid #f6c443; text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
  background: radial-gradient(120% 75% at 50% -10%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #5fd97a 0%, #1f9a44 50%, #0d6b2a 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -4px 0 rgba(0, 0, 0, .25), 0 0 0 2px #7a4a08, 0 7px 0 #0a4a1c, 0 16px 26px rgba(0, 0, 0, .55); }
.mc-btn--grand:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 0 0 2px #7a4a08, 0 2px 0 #0a4a1c, 0 6px 12px rgba(0, 0, 0, .45); }
/* fin : des rayons d'or derrière le panneau (les « Bravo » rayonnants de la maquette) */
.mc-resultat__panneau { position: relative; }
.mc-resultat__panneau::before { content: ""; position: absolute; inset: -70px -40px; z-index: -1; pointer-events: none; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 215, 106, .28) 0 6deg, transparent 6deg 20deg);
  -webkit-mask: radial-gradient(ellipse at center, #000 30%, transparent 72%); mask: radial-gradient(ellipse at center, #000 30%, transparent 72%); }
/* 08/11 (soir) : la bande du bas n'est plus l'extrait de la carte (kiosque, fontaine et panneau : « les gens vont critiquer », Leeroy) mais la
   scène de Cayenne la nuit du pack ChatGPT, en HD, sans monument identifiable. */
.mc-intro::after, .mc-resultat::after { background: url("theme-noel/scene-cayenne.webp") 50% 74% / cover no-repeat; }

/* 08/11 : la pub d'un autre client, aux couleurs de la nuit de Noël */
.mc-pub-carte { background: linear-gradient(180deg, rgba(52, 82, 124, .92), rgba(10, 22, 40, .95)); border: 2px solid #f2c45a; color: #fbf8f1;
  box-shadow: 0 0 0 2px #7a4a08, inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 28px rgba(0, 0, 0, .5); }
.mc-pub-carte__label { color: #ffd76a; opacity: 1; }
.mc-pub-carte__image { background: radial-gradient(circle at 50% 40%, #fff 0%, #f2ece2 100%); padding: 6px; box-shadow: 0 6px 12px rgba(0, 0, 0, .35); }
.mc-pub-carte__logo { background: #fff; border-radius: 12px; padding: 4px; box-shadow: 0 0 0 2px #f2c45a; }
.mc-pub-carte__texte span { color: rgba(251, 248, 241, .85); opacity: 1; }
.mc-pub-carte__lien.mc-btn { color: #fff; border: 2px solid #f6c443; background: radial-gradient(120% 75% at 50% -10%, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #5fd97a 0%, #1f9a44 50%, #0d6b2a 100%); text-shadow: 0 1px 0 rgba(0, 0, 0, .4); box-shadow: 0 0 0 2px #7a4a08, 0 5px 0 #0a4a1c, 0 10px 18px rgba(0, 0, 0, .45); }
.mc-pub { background: radial-gradient(70% 45% at 50% 35%, rgba(242, 196, 90, .22), transparent 70%), rgba(3, 12, 24, .92); }
.mc-pub__carte { background: linear-gradient(180deg, #fffaf0, #f6e8cc); color: #2a1a10; border: 3px solid #f2c45a; box-shadow: 0 0 0 3px #7a4a08, 0 10px 0 #4a2a06, 0 24px 44px rgba(0, 0, 0, .6); }
.mc-pub__label { color: #7a4a08; font-weight: 700; opacity: 1; }
.mc-pub__logo { background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 0 0 3px #f2c45a, 0 6px 12px rgba(0, 0, 0, .25); }
.mc-pub__titre { font-family: var(--police-titre); color: #c8102e; }
.mc-pub__passer.mc-btn { color: #fbf8f1; border-color: rgba(242, 196, 90, .6); }

/* 08/11 (Leeroy : « deux pages en une ») : la page de fin ouvre sur le bloc du résultat (logo, panneau doré, carte de la boutique),
   puis l'offre de la boutique, le bon, WhatsApp / Itinéraire / Partager et Rejouer. Monsieur Clic présente le panneau. */
.mc-flyer.mc-fin { padding-top: max(22px, calc(10px + env(safe-area-inset-top))); gap: 16px; }
.mc-resultat-bloc { position: relative; z-index: 1; gap: 10px; }
.mc-resultat-bloc .mc-resultat__panneau { position: relative; margin-top: 10px; }
.mc-resultat-bloc .mc-resultat__panneau::after { /* Monsieur Clic en Père Noël regarde par-dessus le panneau */ content: ""; position: absolute; left: -6px; top: -66px; width: 88px; height: 100px; z-index: -1; pointer-events: none;
  background: url("theme-noel/pere-noel-buste.webp") 50% 0 / contain no-repeat; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.mc-resultat-bloc .mc-resultat__gros { font-size: clamp(36px, 11vw, 54px); }
.mc-fin .mc-flyer__carte { margin-top: 4px; }
.mc-flyer__carte img[src*=".svg"] { aspect-ratio: auto; }   /* un panneau d'offre dessiné (SVG) se montre en entier, pas recadré en 4/5 */

/* 08/11 : la pastille du sponsor pendant la partie, aux couleurs de la nuit */
.mc-sponsor { background: linear-gradient(180deg, rgba(52, 82, 124, .92) 0%, rgba(16, 32, 54, .94) 55%, rgba(8, 18, 32, .96) 100%); color: var(--noel-creme); border: 1.5px solid rgba(242, 196, 90, .65); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 16px rgba(0, 0, 0, .45); }
.mc-sponsor small { color: var(--noel-or); opacity: 1; }

/* 09/11 : lien « ← Tous les jeux de Noël » sur l'accueil (mode essai) et « Perdu » de la page de fin */
.mc-intro .mc-retour { color: var(--secondaire); opacity: 1; text-decoration: none; background: linear-gradient(180deg, rgba(30, 50, 80, .92), rgba(7, 15, 28, .94)); border: 1px solid rgba(242, 196, 90, .45); border-radius: 999px; padding: 7px 16px; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }   /* même pastille que la mention : lisible sur la scène de Cayenne */
.mc-resultat__perdu { color: #ffc9bd; }

/* 09/11 : fond unique de l'accueil et du résultat (image de Leeroy) à la place de la scène de Cayenne et des motifs par jeu */
#mc-app:has(.mc-intro.mc-ecran--actif, .mc-resultat.mc-ecran--actif, .mc-form.mc-ecran--actif, .mc-flyer.mc-ecran--actif) { background: #07122b url("theme-noel/fond-lancement.webp") 50% 100% / cover no-repeat; }
#mc-app .mc-intro::after, #mc-app .mc-resultat::after { display: none; }
#mc-app .mc-intro::before { display: block; background: url("theme-noel/pere-noel.webp") left 2% bottom 10px / auto min(230px, 28vh) no-repeat; }
#mc-app .mc-resultat::before { display: block; background: url("theme-noel/pere-noel.webp") left 2% bottom 14px / auto min(250px, 31vh) no-repeat; }
#mc-app .mc-intro__regle, #mc-app .mc-intro__promesse { text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
/* 09/11 : la pub d'un autre client prend tout l'écran */
.mc-pub { background: #fffaf0; }
.mc-pub__carte { border: 0; box-shadow: none; }
.mc-pub__passer.mc-btn { color: #2a1a10; border-color: rgba(122, 74, 8, .5); background: rgba(255, 250, 240, .9); }
/* 10/11 (Leeroy : « réduis la hauteur des deux cadres qui annoncent les points et la promo ») : page de fin plus compacte */
.mc-fin .mc-resultat-bloc .mc-resultat__panneau { padding: 9px 16px 10px; gap: 2px; border-radius: 20px; }
.mc-fin .mc-resultat-bloc .mc-resultat__gros { font-size: clamp(30px, 9vw, 42px); line-height: 1.05; }
.mc-fin .mc-resultat-bloc .mc-resultat__sous, .mc-fin .mc-resultat-bloc .mc-resultat__panneau p { margin: 0; font-size: 14px; line-height: 1.25; }
.mc-fin .mc-flyer__carte img:not([src*=".svg"]) { aspect-ratio: 16 / 9; max-height: 34vh; object-position: 50% 60%; }
.mc-fin .mc-flyer__carte img[src*=".svg"] { max-height: 30vh; object-fit: contain; }
/* 10/11 (Leeroy : « c'est normal ce fond blanc ? c'est laid ») : la carte de l'offre aux couleurs de la nuit, plus de blanc autour de
   l'offre dessinée ni sous la photo */
.mc-flyer__carte { background: linear-gradient(180deg, #13263d 0%, #0a1626 100%); }
.mc-flyer__carte img { background: transparent; display: block; margin: 0 auto; }
.mc-flyer__offre { background: transparent; color: var(--noel-creme); }
.mc-flyer__offre strong { color: var(--noel-or); }
.mc-flyer__offre span { color: rgba(251, 248, 241, .85); opacity: 1; }
.mc-fin .mc-flyer__carte img[src*=".svg"] { padding-top: 10px; }
