/* theme-noel-jeu.css — le style propre de ce jeu dans le thème « Nuit de Noël » : Stop-la-jauge : bleu électrique et graduations.
   Se charge après theme-noel.css. Ne change que le ciel, le motif de fond et l'emblème de l'accueil. */
:root {
  --noel-ciel: radial-gradient(70% 40% at 50% 100%, rgba(111,227,155,.18) 0%, transparent 70%), radial-gradient(130% 55% at 50% -8%, #2a2f8a 0%, #151848 38%, #07081c 100%);
  --noel-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cdefs%3E%3Cfilter id='e' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='1.6' stdDeviation='.7' flood-color='%23000' flood-opacity='.75'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url%28%23e%29'%3E%3Cpath d='M6 0v10M16 0v5M26 0v5M36 0v5' stroke='%23f2c45a' stroke-opacity='.13'/%3E%3C/g%3E%3C/svg%3E");
  --noel-motif-taille: 40px 40px;
  --noel-embleme: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3c0'/%3E%3Cstop offset='.45' stop-color='%23e7b52f'/%3E%3Cstop offset='1' stop-color='%237a4a08'/%3E%3C/linearGradient%3E%3Cfilter id='r' x='-10%25' y='-10%25' width='120%25' height='130%25'%3E%3CfeDropShadow dx='0' dy='5' stdDeviation='4' flood-color='%23000' flood-opacity='.7'/%3E%3C/filter%3E%3C/defs%3E%3Cg opacity='0.3' filter='url%28%23r%29'%3E%3Cg fill='none' stroke='%235a3406' stroke-width='11' stroke-linecap='round' stroke-linejoin='round' transform='translate%280 3%29'%3E%3Cpath d='M50 200a100 100 0 0 1 200 0'/%3E%3Cpath d='M150 200l60-70'/%3E%3Ccircle cx='150' cy='200' r='12'/%3E%3Cpath d='M60 160l14 8M150 100v16M240 160l-14 8'/%3E%3C/g%3E%3Cg fill='none' stroke='url%28%23o%29' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M50 200a100 100 0 0 1 200 0'/%3E%3Cpath d='M150 200l60-70'/%3E%3Ccircle cx='150' cy='200' r='12'/%3E%3Cpath d='M60 160l14 8M150 100v16M240 160l-14 8'/%3E%3C/g%3E%3Cg fill='none' stroke='%23fff8dc' stroke-opacity='.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' transform='translate%28-1.5 -2%29'%3E%3Cpath d='M50 200a100 100 0 0 1 200 0'/%3E%3Cpath d='M150 200l60-70'/%3E%3Ccircle cx='150' cy='200' r='12'/%3E%3Cpath d='M60 160l14 8M150 100v16M240 160l-14 8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 08/11 : la jauge devient un « thermomètre de Noël » en sucre d'orge (Claude Design).
   Dessin seulement : mêmes classes, aucun changement dans jauge.js. */
.jauge__scene { isolation: isolate; }
/* le tube : verre bleu nuit dans un cadre sucre d'orge rouge et blanc */
.jauge__piste { width: 82px; border: 12px solid transparent; border-radius: 44px; overflow: visible;
  background:
    linear-gradient(90deg, rgba(255,255,255,0) 18%, rgba(255,255,255,.22) 26%, rgba(255,255,255,0) 36%) padding-box,
    linear-gradient(90deg, #07101e 0%, #1c3358 48%, #07101e 100%) padding-box,
    repeating-linear-gradient(135deg, #e01b2e 0 9px, #fff6ea 9px 18px) border-box;
  box-shadow: 0 0 0 3px #7a0a1c, inset 0 0 0 2px rgba(255,255,255,.15), inset 0 6px 14px rgba(0,0,0,.6), 0 14px 30px rgba(0,0,0,.55), 0 0 40px rgba(120,170,255,.25); }
/* étoile dorée en haut, boule de Noël en bas (comme le réservoir d'un thermomètre) */
.jauge__piste::before { content: ""; position: absolute; left: 50%; top: -62px; width: 84px; height: 84px; transform: translateX(-50%); background: url("visuels/deco-etoile.svg") center / contain no-repeat; z-index: 3; pointer-events: none; }
.jauge__piste::after { content: ""; position: absolute; left: 50%; bottom: -66px; width: 92px; height: 100px; transform: translateX(-50%); background: url("visuels/deco-boule.svg") center / contain no-repeat; z-index: 3; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.jauge__scene { padding: 64px 0 74px; }
/* la zone : ruban vert de Noël rayé, bords dorés, qui brille */
.jauge__zone { border-top: 3px solid #ffd76a; border-bottom: 3px solid #ffd76a;
  background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(255,255,255,.15) 30%, rgba(0,0,0,.3)), repeating-linear-gradient(45deg, #1f9a4c 0 7px, #58d48a 7px 14px);
  box-shadow: 0 0 16px rgba(88,212,138,.6); }
.jauge__mille { left: 0; right: 0; background: linear-gradient(90deg, rgba(0,0,0,.2), rgba(255,255,255,.45) 35%, rgba(0,0,0,.2)), repeating-linear-gradient(45deg, #f2b31e 0 5px, #ffe9a0 5px 10px);
  box-shadow: 0 0 0 2px #fff6d0, 0 0 14px rgba(255,215,106,.95); border-radius: 2px; }
/* étiquette « ICI ! » en ruban rouge */
.jauge__zone-label { left: calc(100% + 24px); background: linear-gradient(#e8283e, #9a0a1c); border: 2px solid #ffd76a; color: #fff; text-shadow: 0 1px 0 #5a0410; box-shadow: 0 4px 0 #5a0410, 0 6px 12px rgba(0,0,0,.4); }
.jauge__zone-label::before { left: -10px; margin-top: -8px; border-width: 8px; border-right-color: #ffd76a; }
/* le curseur : barre dorée en relief avec une flèche de chaque côté */
.jauge__curseur { left: -20px; right: -20px; height: 16px; margin-top: -8px; border-radius: 8px;
  background: linear-gradient(#fff3b8, #f2b31e 50%, #a8700a); box-shadow: 0 0 0 2px #5a3406, 0 4px 8px rgba(0,0,0,.5), 0 0 14px rgba(255,215,106,.8); z-index: 2; }
.jauge__curseur::before, .jauge__curseur::after { content: ""; position: absolute; top: 50%; margin-top: -11px; border: 11px solid transparent; }
.jauge__curseur::before { left: -14px; border-left-color: #ffd76a; border-right: 0; filter: drop-shadow(0 0 2px #5a3406); }
.jauge__curseur::after { right: -14px; border-right-color: #ffd76a; border-left: 0; filter: drop-shadow(0 0 2px #5a3406); }
.jauge--touche .jauge__curseur { background: linear-gradient(#c8ffd8, #2fbf6a 50%, #0b6a30); box-shadow: 0 0 0 2px #063a1c, 0 0 22px #58d48a; }
.jauge--rate .jauge__curseur { background: linear-gradient(#ffc0c8, #e01b2e 50%, #6a0410); box-shadow: 0 0 0 2px #4a0410, 0 0 22px #ff5a6c; }
.jauge--touche .jauge__piste { box-shadow: 0 0 0 3px #7a0a1c, inset 0 6px 14px rgba(0,0,0,.6), 0 0 50px rgba(88,212,138,.7); }
.jauge--rate .jauge__piste { box-shadow: 0 0 0 3px #7a0a1c, inset 0 6px 14px rgba(0,0,0,.6), 0 0 50px rgba(255,90,108,.7); }
/* la vitrine de la pâtisserie au pied du thermomètre : bûche à gauche, cadeaux à droite */
.jauge__scene::before, .jauge__scene::after { content: ""; position: absolute; bottom: 4px; z-index: -1; pointer-events: none; background: center bottom / contain no-repeat; }
.jauge__scene::before { left: max(2px, calc(50% - 190px)); width: 128px; height: 84px; background-image: url("visuels/deco-buche.svg"); }
.jauge__scene::after { right: max(2px, calc(50% - 186px)); width: 116px; height: 94px; background-image: url("visuels/deco-cadeaux.svg"); }
/* niveau en ruban rouge à queues */
.jauge__niveau { position: relative; background: linear-gradient(#e8283e, #9a0a1c); border: 2px solid #ffd76a; color: #fff; padding: 6px 20px; box-shadow: 0 4px 0 #5a0410, 0 8px 14px rgba(0,0,0,.4); text-shadow: 0 1px 0 #5a0410; }
/* message en gros, façon dessin animé */
.jauge__message { font-size: 26px; -webkit-text-stroke: 1px rgba(10,20,36,.6); text-shadow: 0 3px 0 #0a1424, 0 6px 12px rgba(0,0,0,.5); }
.jauge--touche .jauge__message { color: #ffd76a; }
@media (max-height: 700px) { .jauge__scene::before, .jauge__scene::after { transform: scale(.8); transform-origin: bottom; } }
