/* Place de Noël (22/11/2026) : barre des jetons, Cadoizo, roue du jour, Kecleon de Noël (client/js/place-noel.js) */
.pn-jeton { width: 24px; height: 24px; image-rendering: pixelated; vertical-align: middle; }
.pn-jeton[src$="jeton-16.png"] { width: 16px; height: 16px; }

/* Raccourci « Place de Noël » du menu du camp : rouge et or, avec un liseré de guirlande qui clignote */
.btn.cm-noel { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 6px;
  background: linear-gradient(#c8283a, #8e1424); color: #fff4d0; text-shadow: 0 2px 0 #4a0810;
  box-shadow: inset 0 0 0 2px #ffd35c, 0 0 0 2px #2a6a3a; animation: pnGuirlande 1.2s steps(2, end) infinite; }
.btn.cm-noel:hover, .btn.cm-noel.focus, .btn.cm-noel:focus-visible { filter: brightness(1.15); }
@keyframes pnGuirlande { 50% { box-shadow: inset 0 0 0 2px #7cf07c, 0 0 0 2px #ff5a4a; } }

/* Barre des jetons sur la place */
.pn-barre { position: fixed; left: 50%; top: 10px; translate: -50% 0; z-index: 30; display: flex; align-items: center; gap: 14px;
  padding: 6px 14px; background: rgba(10,16,44,.88); border: 2px solid #ffd35c; box-shadow: 0 0 0 2px #8e1424, 0 4px 0 rgba(0,0,0,.35);
  font-size: 18px; color: #fff4d0; pointer-events: none; animation: pnDescend .35s steps(5, end); }
@keyframes pnDescend { from { translate: -50% -60px; } }
.pn-solde { position: relative; display: flex; align-items: center; gap: 6px; font-size: 22px; color: var(--gold); }
.pn-solde.saute { animation: pnSaute .4s steps(4, end); }
@keyframes pnSaute { 40% { transform: translateY(-5px) scale(1.12); } }
.pn-plus { position: absolute; left: 30px; top: -6px; color: #7cf07c; font-size: 18px; text-shadow: 0 2px 0 #0b2a12; animation: pnMonte 1.2s steps(10, end) forwards; }
@keyframes pnMonte { to { translate: 0 -26px; opacity: 0; } }
.pn-mini { display: flex; flex-direction: column; gap: 3px; min-width: 170px; }
.pn-mini-t { font-size: 15px; color: #cfe0ff; }
.pn-mini-t b { color: #fff; font-weight: normal; }
.pn-mini-barre { display: block; height: 8px; background: #1a2550; box-shadow: 0 0 0 2px #0a1030; }
.pn-mini-barre i { display: block; height: 100%; background: repeating-linear-gradient(90deg, #ff5a4a 0 6px, #fff 6px 9px, #7cf07c 9px 15px, #fff 15px 18px); transition: width .4s steps(6, end); }
.pn-mini-barre.plein i { background: #ffd35c; animation: pnClign 1s steps(2, end) infinite; }
/* (24/11 nuit, Kiko) plafond du jour atteint : un gros tampon rouge et or qui bat doucement */
.pn-mini { position: relative; }
.pn-limite { display: block; margin-top: 2px; padding: 2px 6px; text-align: center; font-size: 19px; letter-spacing: 1px; color: #fff3c4; background: linear-gradient(#d23b2e, #93231f); box-shadow: 0 0 0 2px #ffd35c, 0 2px 0 3px #3a0a0a; text-shadow: 0 2px 0 #3a0a0a; animation: pnLimite 1.4s ease-in-out infinite; }
@keyframes pnLimite { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes pnClign { 50% { filter: brightness(1.4); } }
body.is-touch .pn-barre { top: auto; bottom: 8px; font-size: 14px; gap: 8px; padding: 4px 8px; }
/* (29/11) onglet des salles tout en haut au milieu (client/js/place-salles.js) : la barre des jetons passe juste dessous */
body.pn-salles-on:not(.is-touch) .pn-barre { top: 46px; }
body.is-touch .pn-mini { min-width: 120px; }

/* Cadoizo parle (spd-scene de cafe.css) */
.pn-dial .pn-nom { color: #ff6f7d; }
.pn-titre span { color: #fff4d0; border-color: #ffd35c; background: rgba(110,14,30,.9); }

/* Le cadeau de Cadoizo : un paquet qui tremble puis s'ouvre */
.modal.pn-cadeau, .modal.pn-roue, .modal.pn-boutique, .modal.pn-choix { z-index: 45; }
.pn-cadeau-box { width: min(480px, 94vw); text-align: center; animation: pop .35s cubic-bezier(.2,1.4,.4,1); box-shadow: 0 0 40px rgba(255,111,125,.3); }
.pn-paquet { position: relative; width: 72px; height: 72px; margin: 14px auto 6px; }
.pn-paquet-corps { position: absolute; left: 8px; right: 8px; bottom: 0; height: 46px; background: linear-gradient(90deg, #c8283a 0 42%, #ffd35c 42% 58%, #c8283a 58%); box-shadow: inset 0 -6px 0 rgba(0,0,0,.25), 0 0 0 3px #4a0810; }
.pn-paquet-noeud { position: absolute; left: 4px; right: 4px; top: 12px; height: 16px; background: linear-gradient(90deg, #a01c2c 0 42%, #ffd35c 42% 58%, #a01c2c 58%); box-shadow: 0 0 0 3px #4a0810; transition: transform .3s steps(4, end); }
.pn-paquet-noeud::before, .pn-paquet-noeud::after { content: ''; position: absolute; top: -12px; width: 14px; height: 12px; border: 4px solid #ffd35c; border-radius: 50% 50% 0 50%; }
.pn-paquet-noeud::before { left: 16px; } .pn-paquet-noeud::after { right: 16px; transform: scaleX(-1); }
.pn-paquet.secoue { animation: pnSecoue .12s steps(2, end) 7; }
@keyframes pnSecoue { 50% { transform: rotate(-6deg) translateX(-2px); } }
.pn-paquet.ouvert .pn-paquet-noeud { transform: translateY(-26px) rotate(-18deg); }
.pn-paquet.ouvert::after { content: ''; position: absolute; inset: -20px; background: radial-gradient(#fff6c0 0 20%, transparent 60%); animation: pnEclat .6s steps(6, end) forwards; }
@keyframes pnEclat { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } }
.pn-cadeau-gains { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 64px; font-size: 22px; opacity: 0; }
.pn-cadeau-gains.vu { opacity: 1; animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
.pn-cadeau-box .row { justify-content: center; }
.pn-gain-l { font-size: 16px; color: #cfe0ff; }
.pn-gain-j b { color: var(--gold); font-size: 26px; margin: 0 4px; }
.pn-choix-box { animation: pop .3s cubic-bezier(.2,1.4,.4,1); }
.pn-choix-box .row { gap: 10px; justify-content: center; }

/* Téléportation de Cadoizo : un tourbillon de flocons */
.pn-teleport { position: fixed; inset: 0; z-index: 60; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,0) 30%, rgba(220,235,255,.95) 70%); animation: pnFlash 1.5s steps(12, end) forwards; }
@keyframes pnFlash { 0% { opacity: 0; } 35%, 55% { opacity: 1; } 100% { opacity: 0; } }
.pn-teleport i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; background: #fff; box-shadow: 2px 2px 0 #9fb3e2; animation: pnFlocon 1.2s steps(10, end) forwards; }
.pn-teleport i:nth-child(odd) { width: 4px; height: 4px; }
.pn-teleport i { --a: 0deg; }
.pn-teleport i:nth-child(n) { transform: rotate(calc(var(--n, 0) * 15deg)) translateX(10px); }
@keyframes pnFlocon { to { translate: 0 0; transform: rotate(calc(var(--n, 0) * 15deg + 200deg)) translateX(46vmin); opacity: 0; } }

/* Roue du jour */
.pn-roue-box { width: min(520px, 96vw); text-align: center; animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
.pn-roue-c { width: 320px; height: 352px; image-rendering: pixelated; margin: 4px auto; display: block; }
@media (max-height: 620px) { .pn-roue-c { width: 160px; height: 176px; } }
.pn-roue-lots { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0; }
.pn-lot { display: flex; align-items: center; gap: 4px; padding: 2px 8px; background: rgba(255,255,255,.06); box-shadow: 0 0 0 2px #2a3a70; font-size: 16px; }
.pn-lot i { font-style: normal; color: #9fb1c9; font-size: 13px; }
.pn-lot.gagne { box-shadow: 0 0 0 2px #ffd35c; background: rgba(255,211,92,.18); animation: pnClign .5s steps(2, end) 6; }
.pn-roue-info { min-height: 32px; font-size: 18px; }
.pn-roue-gain { font-size: 26px; animation: pop .35s cubic-bezier(.2,1.4,.4,1); display: inline-flex; align-items: center; gap: 6px; }

/* Boutique du Kecleon de Noël */
.pn-bt-box { width: min(820px, 97vw); max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(124,240,124,.18); }
.pn-bt-box.pn-pop { animation: pop .35s cubic-bezier(.2,1.4,.4,1); } /* (23/11) seulement à l'ouverture : la fenêtre ne « clignote » plus à chaque + ou achat */
.pn-bt-tete { display: flex; align-items: center; gap: 10px; }
.pn-bt-tete h2 { margin: 0; }
.pn-kec { width: 80px; height: 88px; image-rendering: pixelated; flex: none; }
.pn-bt-phrase { margin: 2px 0 0; font-size: 16px; color: #cfe0ff; }
.pn-bt-solde { display: flex; align-items: center; gap: 6px; font-size: 24px; color: var(--gold); padding: 2px 10px; box-shadow: 0 0 0 2px #ffd35c; }
.pn-bt-liste { overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 2px; margin-top: 6px; }
.pn-art { position: relative; display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 2px 8px; padding: 6px 8px;
  background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.01)); box-shadow: 0 0 0 2px #2a3a70; }
.pn-art.illimite { box-shadow: 0 0 0 2px #2a6a3a; }
.pn-art.fini { opacity: .5; }
.pn-art.achete { animation: pnAchete .5s steps(4, end); }
@keyframes pnAchete { 40% { background: rgba(255,211,92,.25); transform: scale(1.02); } }
.pn-art-ico { font-size: 26px; text-align: center; }
.pn-art-ico .ico, .pn-art-ico img { width: 32px; height: 32px; }
.pn-art-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.pn-art-txt b { font-weight: normal; color: #fff4d0; font-size: 17px; }
.pn-art-txt .muted { font-size: 13px; }
.pn-art-stock { font-size: 13px; color: #9fe8a8; }
.pn-qte { display: flex; align-items: center; gap: 4px; justify-self: end; }
.pn-qte .btn { min-width: 26px; padding: 0 4px; height: 24px; line-height: 20px; }
.pn-qte b { min-width: 18px; text-align: center; font-weight: normal; }
.btn.pn-acheter { display: flex; min-width: 84px; justify-content: center; align-items: center; gap: 4px; justify-self: end; white-space: nowrap; }
.pn-art-vol { position: absolute; left: 10px; top: 4px; pointer-events: none; animation: pnVole .7s steps(7, end) forwards; }
@keyframes pnVole { to { translate: 0 -40px; opacity: 0; transform: scale(1.4); } }
.pn-bt-note { font-size: 14px; margin: 6px 0 0; text-align: center; }
@media (max-width: 640px) { .pn-bt-liste { grid-template-columns: 1fr; } .pn-kec { width: 48px; height: 53px; } .pn-bt-tete h2 { font-size: 20px; } .pn-bt-phrase { display: none; } }

/* (23/11, Kiko) raccourci « Place Festive » stylisé : un sapin animé de chaque côté, neige qui tombe dans le bouton */
.btn.cm-noel { position: relative; overflow: hidden; padding-top: 6px; padding-bottom: 6px; font-size: 20px; letter-spacing: 1px; }
.btn.cm-noel::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: radial-gradient(#fff 0 1px, transparent 1.5px) 0 0 / 22px 18px, radial-gradient(#fff 0 1px, transparent 1.5px) 11px 9px / 26px 22px; animation: cmNeige 2.4s steps(12, end) infinite; }
@keyframes cmNeige { to { background-position: 0 18px, 11px 31px; } }
.btn.cm-noel::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #fff; box-shadow: 0 -1px 0 #cfdcf3; pointer-events: none; }
.cm-noel-ico { display: inline-flex; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)); }
.cm-noel-d { transform: scaleX(-1); }
.btn.cm-noel .t-nom { position: relative; }
body.is-touch .btn.cm-noel { font-size: 16px; }

/* Jukebox de la Place Festive (23/11) : la liste des musiques à gauche (extrait, prix), la file de la salle à droite */
.modal.pn-juke { z-index: 45; }
.pj-box { width: min(860px, 97vw); max-height: calc(92vh / var(--ui, 1)); display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(255,154,208,.2); }
.pj-box.pn-pop { animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
.pj-tete { display: flex; align-items: center; gap: 10px; }
.pj-tete h2 { margin: 0; }
.pj-ico { width: 64px; height: 96px; image-rendering: pixelated; flex: none; }
.pj-aide { margin: 2px 0 0; font-size: 15px; }
/* (24/11 nuit, Kiko : on ne voyait pas le bas de la liste sans faire défiler aussi la fenêtre) la fenêtre ne défile plus :
   le corps prend la place qui reste et chaque colonne défile seule jusqu'en bas */
.pj-box { overflow: hidden; }
.pj-corps { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-top: 8px; min-height: 0; flex: 1 1 auto; overflow: hidden; }
.pj-corps > * { min-height: 0; max-height: 100%; }
.pj-liste { display: flex; flex-direction: column; gap: 5px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 6px; }
.pj-piste { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 5px 8px; background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.01)); box-shadow: 0 0 0 2px #2a3a70; }
.pj-piste.joue { box-shadow: 0 0 0 2px #ffd35c; background: rgba(255,211,92,.1); }
.btn.pj-extrait { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 118px; padding: 6px 12px; font-size: 18px; }
.btn.pj-extrait.on { animation: pnClign .6s steps(2, end) infinite; }
.pj-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.pj-txt b { font-weight: normal; color: #fff4d0; font-size: 18px; }
.pj-txt .muted { font-size: 13px; }
.pj-encours { font-style: normal; color: #ffd35c; }
.btn.pj-ajouter { display: flex; align-items: center; gap: 4px; min-width: 64px; justify-content: center; }
.pj-file { display: flex; flex-direction: column; gap: 5px; padding: 6px 8px; background: rgba(10,16,44,.55); box-shadow: 0 0 0 2px #8e1424; overflow-y: auto; }
.pj-cours { display: flex; flex-direction: column; gap: 3px; font-size: 16px; }
.pj-cours > b { font-weight: normal; font-size: 19px; }
.pj-barre { display: block; height: 7px; background: #1a2550; box-shadow: 0 0 0 2px #0a1030; margin: 2px 0; }
.pj-barre i { display: block; height: 100%; background: repeating-linear-gradient(90deg, #ff9ad0 0 6px, #9fd6ff 6px 12px, #ffe680 12px 18px); }
.pj-ensuite { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pj-ensuite li { display: flex; align-items: center; gap: 8px; padding: 3px 6px; background: rgba(255,255,255,.05); }
.pj-rang { width: 18px; height: 18px; line-height: 18px; text-align: center; background: #ffd35c; color: #1a1030; font-size: 13px; flex: none; }
.pj-vide { font-size: 14px; margin: 0; }
@media (max-width: 640px) { .pj-corps { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; } .pj-file { max-height: 30vh; } .pj-ico { width: 32px; height: 48px; } .pj-aide { display: none; } .pj-tete h2 { font-size: 19px; } }

/* (23/11 nuit, Kiko) jukebox : vrais boutons « Écouter » (triangle) / « Stop » (carré), clic sur la musique, bouton clair pour payer */
.pj-play { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #7cf07c; filter: drop-shadow(0 2px 0 rgba(0,0,0,.5)); }
.pj-play.stop { width: 12px; height: 12px; border: 0; background: #ff6f7d; }
.pj-piste .pj-txt[data-extrait] { cursor: pointer; }
.pj-piste .pj-txt[data-extrait]:hover b { color: #ffd35c; }
.btn.pj-ajouter { flex-direction: column; gap: 0; padding: 2px 10px; line-height: 1.1; font-size: 14px; }
.pj-prix { display: flex; align-items: center; gap: 4px; font-size: 17px; }
.pj-prix b { font-weight: normal; }
/* boutique : icônes en pixel art */
.pn-art-ico { position: relative; display: flex; align-items: center; justify-content: center; min-height: 34px; }
.pn-art-statue { height: 40px; image-rendering: pixelated; }
.pn-x10 { position: absolute; right: -6px; bottom: -4px; font-style: normal; font-size: 12px; color: #1a1030; background: #ffd35c; padding: 0 2px; box-shadow: 0 0 0 1px #1a1030; }
.pn-roue-box h2 .pn-jeton, .pn-cadeau-box h2 .pxi, .pn-bt-tete h2 .pxi { vertical-align: middle; }

/* (23/11 nuit) boutique : le total écrit sur le bouton quand on en prend plusieurs */
.btn.pn-acheter { flex-direction: column; gap: 0; line-height: 1.1; }
.pn-total { display: flex; align-items: center; gap: 4px; }
.pn-total-t { font-size: 12px; color: #cfe0ff; }
.pn-total-t b { color: #ffd35c; font-weight: normal; }
.pn-qte .btn[aria-disabled="true"] { opacity: .4; }

/* Panneau des défis de la Place Festive (23/11 nuit) : en haut, du côté opposé au menu ; repliable */
.pn-defis { position: fixed; top: 10px; z-index: 29; width: 300px; max-height: calc(100vh - 90px); display: flex; flex-direction: column;
  background: rgba(10,16,44,.9); border: 2px solid #ffd35c; box-shadow: 0 0 0 2px #8e1424, 0 4px 0 rgba(0,0,0,.35); color: #fff4d0; animation: pnDescend .35s steps(5, end); }
.pn-defis.gauche { left: 10px; } .pn-defis.droite { right: 10px; top: 48px; max-height: calc(100vh - 128px); } /* à droite : sous les boutons du haut (Discord, plein écran) */
.pn-defis.replie { width: auto; }
.btn.pd-tete { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; padding: 4px 8px; border: 0; border-image: none; background: linear-gradient(#c8283a, #8e1424); color: #fff4d0; font-size: 17px; text-align: left; box-shadow: none; }
.btn.pd-tete b { font-weight: normal; flex: 1; white-space: nowrap; }
.pd-compte { color: #ffd35c; }
.pd-liste { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 5px; overflow-y: auto; }
.pd-defi { flex-shrink: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 4px 6px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px #2a3a70; }
.pd-defi.fait { opacity: .62; box-shadow: 0 0 0 1px #2a6a3a; }
.pd-nom { grid-column: 1 / 3; display: flex; align-items: center; gap: 5px; font-size: 15px; line-height: 1.1; }
.pd-nom b { font-weight: normal; flex: 1; }
.pd-val { color: #cfe0ff; font-size: 13px; }
.pd-barre { display: block; height: 7px; background: #1a2550; box-shadow: 0 0 0 1px #0a1030; }
.pd-barre i { display: block; height: 100%; background: linear-gradient(#ffe680, #f2ae24); transition: width .5s steps(8, end); }
.pd-defi.fait .pd-barre i { background: linear-gradient(#a8f0a0, #33883c); }
.pd-recs { display: flex; align-items: center; gap: 6px; justify-self: end; }
.pd-rec { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: #ffd35c; }
.pd-rec b { font-weight: normal; }
.pd-titre i { font-style: normal; color: #ff9ad0; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-info { margin: 6px 8px; font-size: 14px; }
/* (24/11, Kiko) le défi ultime : doré, épinglé en haut, un reflet passe dessus */
.pd-defi.ultime { position: relative; overflow: hidden; background: linear-gradient(135deg, #5a3a08, #8a5a10 45%, #5a3a08); box-shadow: 0 0 0 2px #ffd35c, 0 0 10px rgba(255,211,92,.45); }
.pd-defi.ultime { grid-template-columns: 1fr; }
.pd-defi.ultime .pd-nom { grid-column: 1; }
.pd-defi.ultime .pd-recs { justify-self: start; flex-wrap: wrap; }
.pd-defi.ultime .pd-nom b { color: #ffe680; text-shadow: 0 1px 0 #3a2406; }
.pd-defi.ultime .pd-barre { background: #3a2406; }
.pd-defi.ultime .pd-barre i { background: linear-gradient(#fff6c0, #ffd35c 50%, #f2ae24); }
.pd-defi.ultime::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 24%; background: linear-gradient(90deg, transparent, rgba(255,246,200,.45), transparent); transform: skewX(-20deg); animation: pdReflet 3.2s steps(16) infinite; pointer-events: none; }
.pd-defi.ultime.fait { opacity: 1; }
.pd-bn i { font-style: normal; color: #ffe680; }
@keyframes pdReflet { to { left: 130%; } }
.pn-ultime { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: rgba(4,6,22,.72); animation: pnUltIn .4s ease-out both; }
@keyframes pnUltIn { from { opacity: 0; } }
.pn-ultime-box { animation: pnUltBox .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes pnUltBox { from { transform: scale(.3); } }
.pn-ultime-box { width: min(640px, calc(100vw - 32px)); padding: 14px; text-align: center; background: linear-gradient(#2a1c06, #120a02); border: 3px solid #ffd35c; box-shadow: 0 0 30px rgba(255,211,92,.6); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pn-ultime-box .banniere { width: 100%; }
.pn-ultime-box p { margin: 0; color: #fff4d0; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; }
.pn-ultime .pn-grolot-t { font-size: clamp(34px, 6vw, 64px); }
.pn-defis.fete { animation: pnFete .6s steps(6, end) 2; }
@keyframes pnFete { 50% { box-shadow: 0 0 0 2px #ffd35c, 0 0 18px #ffd35c; } }
body.is-touch .pn-defis { top: 68px; left: 8px; right: auto; width: 260px; max-height: 50vh; } /* la place exacte : placerDefis() (place-noel.js), jamais sur la colonne des boutons de droite */
body.is-touch .pn-defis.replie { width: auto; }
body.is-touch .pn-defis.replie .pd-tete b { display: none; }

/* (24/11, Kiko) Gros lot de la roue (500 jetons, 1 %) : grande annonce dorée pour toute la place */
.pn-grolot { position: fixed; left: 50%; top: 18%; transform: translateX(-50%); z-index: 60; pointer-events: none; text-align: center; animation: pnGroIn .55s cubic-bezier(.2, 1.6, .4, 1) both; }
.pn-grolot.fin { animation: pnGroOut .6s ease-in both; }
.pn-grolot-t { font-family: "PMD Font", sans-serif; font-size: clamp(42px, 8vw, 96px); line-height: 1; color: #ffe680; letter-spacing: 2px;
  text-shadow: 0 4px 0 #a0560c, 0 8px 0 #4a2208, 0 0 24px rgba(255, 210, 90, .9); animation: pnGroBrille 0.5s steps(2) infinite; }
.pn-grolot-s { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-size: clamp(14px, 2.2vw, 22px); color: #fff;
  background: rgba(8, 15, 40, .92); border: 2px solid #ffd35c; box-shadow: 0 0 18px rgba(255, 210, 90, .6); }
.pn-grolot-s b { color: #ffe680; }
@keyframes pnGroIn { from { transform: translateX(-50%) scale(.2); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }
@keyframes pnGroOut { to { transform: translateX(-50%) translateY(-30px); opacity: 0; } }
@keyframes pnGroBrille { 50% { color: #fff6c0; } }

body:has(.pn-roue) .pn-grolot { top: 3%; }
/* (25/11, Kiko) récompenses de minuit des tableaux des records */
.pn-prix-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(6,8,24,.6); }
.pn-prix { position: relative; overflow: hidden; width: min(420px, calc(100vw - 28px)); padding: 16px; text-align: center; background: linear-gradient(#3a2608, #140c02); border: 3px solid #ffd35c; box-shadow: 0 0 30px rgba(255,211,92,.6); animation: pnUltBox .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.pn-prix h2 { margin: 0 0 6px; color: #ffe14d; text-shadow: 0 2px 0 #5a2c04; }
.pn-prix p { margin: 4px 0; color: #ffeec0; }
.pn-prix ul { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pn-prix li { display: flex; align-items: center; gap: 8px; padding: 4px 8px; background: rgba(255,214,90,.12); border: 1px solid rgba(255,214,90,.35); color: #fff; animation: pnPrixLi .4s steps(6) both; }
.pn-prix li:nth-child(2) { animation-delay: .15s; } .pn-prix li:nth-child(3) { animation-delay: .3s; } .pn-prix li:nth-child(4) { animation-delay: .45s; }
.pn-prix li span { margin-left: auto; color: #ffe14d; display: flex; align-items: center; gap: 4px; }
@keyframes pnPrixLi { from { opacity: 0; transform: translateX(-16px); } }
.pn-prix-total { font-size: 22px; color: #ffe14d !important; display: flex; align-items: center; justify-content: center; gap: 6px; }
.pn-prix-eclat { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; }
.pn-prix-eclat::before { content: ''; position: absolute; left: -180px; top: -180px; width: 360px; height: 360px; border-radius: 50%; background: repeating-conic-gradient(rgba(255,230,140,.16) 0 8deg, transparent 8deg 24deg); animation: nb-rayons 9s steps(54) infinite linear; }
@keyframes nb-rayons { to { transform: rotate(360deg); } }
.pn-prix > *:not(.pn-prix-eclat) { position: relative; }
