/* =========================================================
   Noël 2026 : le village sous la neige, la boule à neige du menu, la neige sur le site, les cosmétiques.
   Chargé seulement pendant l'event (et sur la page /noel).
   ========================================================= */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/assets/fonts/fraunces-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/fraunces-latin-600-italic.woff2") format("woff2"); }
:root {
  --nl-nuit: #0c1a33;
  --nl-nuit-2: #15284a;
  --nl-neige: #f4f9ff;
  --nl-or: #f2c14e;
  --nl-rouge: #d23a4b;
  --nl-sapin: #2f7a4f;
  --nl-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --nl-creme: #f7efdc;
  --nl-verre: rgba(255, 255, 255, .055);
  --nl-filet: rgba(255, 255, 255, .1);
  --nl-ombre: 0 10px 24px -14px rgba(0, 0, 0, .6);
}

/* ---------- La neige sur tout le site ---------- */
.nl-snow { position: fixed; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.nl-snow i { position: absolute; top: -12px; left: var(--x); width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .75; transform: scale(var(--s)); filter: blur(.4px); animation: nl-chute var(--d) linear infinite; }
@keyframes nl-chute { to { transform: translate3d(var(--w), 105vh, 0) scale(var(--s)); } }
@media (prefers-reduced-motion: reduce) { .nl-snow { display: none; } }

/* ---------- La boule à neige du menu ---------- */
.nav-globe { position: relative; z-index: 7; flex: none; align-self: flex-start; display: grid; justify-items: center; width: 58px; margin: clamp(10px, calc(3vw + 4px), 44px) 0 0 -4px; color: inherit; text-decoration: none; }
.nav-globe__art { display: block; width: 46px; height: 46px; filter: drop-shadow(0 4px 8px rgba(10, 20, 50, .35)); transition: transform .25s, filter .25s; }
.nav-globe__snow { animation: nl-globe 6s ease-in-out infinite; }
.nav-globe:hover .nav-globe__art, .nav-globe:focus-visible .nav-globe__art { animation: nl-secoue .5s ease-in-out 2; filter: drop-shadow(0 0 12px rgba(160, 210, 255, .8)); }
.nav-globe:hover .nav-globe__snow, .nav-globe:focus-visible .nav-globe__snow { animation-duration: 1.2s; }
.nav-globe.is-selected .nav-globe__art { filter: drop-shadow(0 0 12px rgba(242, 193, 78, .85)); }
.nav-globe__tag { margin-top: -2px; padding: 0 7px 1px; border-radius: 4px; background: var(--nl-rouge); color: #fff; font: 700 .7rem/1.35 var(--nl-serif); letter-spacing: .04em; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.nav-globe:focus-visible { outline: none; }
.nav-globe:focus-visible .nav-globe__tag { outline: 2px solid var(--nl-or); outline-offset: 2px; }
@keyframes nl-globe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes nl-secoue { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@media (max-width: 760px) { .nav-globe { align-self: center; width: 40px; margin: 0 0 0 -4px; } .nav-globe__art { width: 34px; height: 34px; } .nav-globe__tag { display: none; } }
@media (max-width: 399px) and (min-height: 441px) { .nav-globe { display: none; } }

/* ---------- La carte de l'accueil ---------- */
.event-card--noel { --ev: var(--nl-rouge); display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #fff; text-decoration: none;
  background: radial-gradient(1.2px 1.2px at 20% 30%, #fff 50%, transparent 51%) 0 0 / 60px 50px, radial-gradient(1px 1px at 70% 60%, #fff 50%, transparent 51%) 0 0 / 46px 40px,
    radial-gradient(80% 120% at 100% 0%, rgba(242, 193, 78, .3), transparent 60%), linear-gradient(135deg, #10284f, #6a1f33 70%, #a52c3f); }
.event-card--noel .event-card__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.event-card--noel.event-card--teaser { position: relative; }
.nl-teaser__count { margin-left: auto; font: 700 1.6rem/1 var(--nl-serif); color: var(--nl-or); }
.nl-teaser__count small { font-size: .55em; opacity: .8; }
.nl-flake-icon { flex: none; vertical-align: -2px; }

/* ---------- La page ---------- */
.nl { display: grid; gap: 18px; }
.nl-hero { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 340px; border-radius: 28px; text-align: center; color: var(--nl-neige);
  background: radial-gradient(80% 60% at 50% 110%, #3d5f93, transparent 70%), linear-gradient(#0a1630, #1b3561); }
.nl-hero__sky { position: absolute; inset: 0; background: radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 51%) 0 0 / 120px 90px, radial-gradient(1px 1px at 60% 40%, #fff 50%, transparent 51%) 0 0 / 80px 70px; opacity: .8; }
.nl-hero__flakes { position: absolute; inset: -20% 0 0; background: radial-gradient(3px 3px at 20% 10%, #fff 50%, transparent 51%) 0 0 / 140px 140px, radial-gradient(2px 2px at 70% 50%, #fff 50%, transparent 51%) 0 0 / 100px 110px; animation: nl-flocons 14s linear infinite; opacity: .7; }
@keyframes nl-flocons { to { background-position: 30px 140px, -20px 110px; } }
.nl-hero__texts { position: relative; padding: 30px 16px; }
.nl-hero__kicker { margin: 0 0 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--nl-or); }
.nl-hero__title { margin: 0; font: 700 clamp(2.6rem, 8vw, 4.6rem)/.95 var(--nl-serif); }
.nl-hero__title span { margin-left: .25em; font-size: .4em; letter-spacing: .2em; vertical-align: top; color: var(--nl-or); }
.nl-hero__subtitle { margin: 10px 0 4px; font: italic 1.2rem/1.3 var(--nl-serif); }
.nl-hero__dates { margin: 0; opacity: .8; font-size: .9rem; }
.nl-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.nl-teaser li { display: grid; gap: 4px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, var(--nl-nuit-2), var(--nl-nuit)); color: var(--nl-neige); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.nl-teaser strong { font: 700 1.1rem/1.2 var(--nl-serif); }
.nl-teaser small { opacity: .75; }

.nl-panel { padding: 18px 20px; border-radius: 22px; background: linear-gradient(160deg, var(--nl-nuit-2), var(--nl-nuit)); color: var(--nl-neige); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.nl-panel h2 { margin: 0 0 6px; font: 700 1.4rem/1.2 var(--nl-serif); }
.nl-panel p { margin: 0; }
.nl-test form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ---------- Le village ---------- */
.nl-village { position: relative; isolation: isolate; border-radius: 28px; overflow: hidden; background: var(--nl-nuit); box-shadow: 0 24px 60px rgba(8, 18, 40, .45), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.nl-village__hud { position: absolute; z-index: 4; inset: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 18px 28px;
  background: linear-gradient(180deg, rgba(8, 18, 40, .9), rgba(8, 18, 40, .5) 60%, transparent); pointer-events: none; color: var(--nl-neige); }
.nl-village__hud > * { pointer-events: auto; }
.nl-village__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
.nl-village__title h1 { margin: 0; font: 700 clamp(1.6rem, 3.2vw, 2.3rem)/1 var(--nl-serif); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.nl-village__title h1 span { font-size: .5em; letter-spacing: .18em; vertical-align: top; color: var(--nl-or); }
.nl-village__title p { margin: 0; font-size: .82rem; font-weight: 700; opacity: .85; }
.nl-village__stats { display: flex; flex-wrap: wrap; gap: 6px; }
.nl-stat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--nl-neige); font-size: .8rem; text-decoration: none; }
.nl-stat strong { font-size: 1rem; }
.nl-stat--go { background: rgba(210, 58, 75, .55); }
.nl-stat--go:hover, .nl-stat--go:focus-visible { background: var(--nl-rouge); }
.nl-village__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.nl-village__map { position: relative; width: 100%; min-width: 900px; aspect-ratio: 16 / 9; }
.nl-village__art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.nl-village__tree { position: absolute; z-index: 1; pointer-events: none; }
.nl-village__tree .nl-tree { width: 100%; height: 100%; }
.nl-village__snow { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(3px 3px at 10% 20%, #fff 50%, transparent 51%) 0 0 / 160px 160px, radial-gradient(2px 2px at 60% 70%, #fff 50%, transparent 51%) 0 0 / 120px 130px, radial-gradient(2.5px 2.5px at 35% 45%, rgba(255, 255, 255, .8) 50%, transparent 51%) 0 0 / 200px 180px;
  animation: nl-village-neige 18s linear infinite; opacity: .75; }
@keyframes nl-village-neige { to { background-position: 40px 160px, -30px 130px, 20px 180px; } }
@media (prefers-reduced-motion: reduce) { .nl-village__snow, .nl-hero__flakes { animation: none; } }
.nl-village__spots { position: absolute; inset: 0; z-index: 3; }
.nl-spot { position: absolute; display: block; padding: 0; border: 0; border-radius: 22px; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nl-spot::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 236, 170, .32), transparent); opacity: 0; transition: opacity .25s; pointer-events: none; }
.nl-spot:hover::before, .nl-spot:focus-visible::before { opacity: 1; }
.nl-spot:focus-visible { outline: none; }
.nl-spot__label { position: absolute; left: 50%; bottom: 0; display: inline-flex; align-items: center; gap: 6px; transform: translate(-50%, 50%); padding: .28em .8em .34em; border-radius: 8px;
  background: linear-gradient(180deg, #fffdf6, #efe3c9); box-shadow: inset 0 0 0 1px #c9b48a, 0 4px 10px rgba(10, 20, 40, .35); color: #4a2a16; font: 700 clamp(.72rem, .72vw, .98rem)/1.2 var(--nl-serif); white-space: nowrap; transition: transform .2s, background .2s; pointer-events: none; }
.nl-spot--discret:not(.is-new):not(:hover):not(:focus-visible) .nl-spot__label { opacity: 0; }
.nl-spot--discret.is-new:not(:hover):not(:focus-visible) .nl-spot__label { gap: 0; padding: 5px; font-size: 0; }
.nl-spot--label-top .nl-spot__label { bottom: auto; top: 0; transform: translate(-50%, -50%); }
.nl-spot:hover .nl-spot__label, .nl-spot:focus-visible .nl-spot__label { transform: translate(-50%, 50%) scale(1.08); background: linear-gradient(180deg, #e04a5a, #a82637); color: #fff; box-shadow: inset 0 0 0 1px #f2a0a8, 0 0 16px rgba(242, 193, 78, .5); }
.nl-spot--label-top:hover .nl-spot__label, .nl-spot--label-top:focus-visible .nl-spot__label { transform: translate(-50%, -50%) scale(1.08); }
.nl-spot--atelier .nl-spot__label { left: 42%; transform: translate(-72%, -50%); }
.nl-spot--atelier:hover .nl-spot__label, .nl-spot--atelier:focus-visible .nl-spot__label { transform: translate(-72%, -50%) scale(1.08); }
.nl-spot.is-new .nl-spot__label::after, .nl-place.is-new::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nl-rouge); box-shadow: 0 0 8px var(--nl-rouge); animation: nl-pulse 1.6s ease-in-out infinite; }
.nl-place.is-new { position: relative; }
.nl-place.is-new::after { position: absolute; top: 9px; right: 9px; }
@keyframes nl-pulse { 50% { transform: scale(1.5); opacity: .6; } }
.nl-village__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 8px; padding: 16px 18px 18px; background: linear-gradient(180deg, #13284c, var(--nl-nuit)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.nl-place { display: grid; align-content: center; gap: 2px; min-height: 54px; padding: 8px 14px 9px; border: 0; border-radius: 14px; background: var(--nl-verre); box-shadow: inset 0 0 0 1px var(--nl-filet); color: var(--nl-neige); font: inherit; font-size: .86rem; font-weight: 800; line-height: 1.2; text-align: left; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.nl-place small { font-size: .74rem; font-weight: 600; opacity: .65; }
.nl-village__aide { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; }
.nl-village__aide button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: color-mix(in srgb, var(--nl-neige) 70%, transparent); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.nl-village__aide button:hover, .nl-village__aide button:focus-visible { color: var(--nl-or); background: rgba(242, 193, 78, .1); outline: none; }
.nl-place:hover, .nl-place:focus-visible { outline: none; background: rgba(242, 193, 78, .14); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .55); transform: translateY(-1px); }
@media (max-width: 520px) { .nl-village__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 6px; } .nl-place { padding: 8px 11px; font-size: .82rem; } }

/* ---------- Les fenêtres (dialog) ---------- */
.nl-room { width: min(var(--nl-room-l, 920px), calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 28px); margin: auto; padding: 0; border: 0; border-radius: 26px; background: none; color: var(--nl-neige); overflow: visible; }
.nl-room::backdrop { background: rgba(6, 14, 30, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.nl-room[open] .nl-room__body { animation: nl-room-in .3s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes nl-room-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.nl-room__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-height: calc(100dvh - 28px); overflow: auto; overscroll-behavior: contain; padding: 22px 22px 24px; border-radius: 26px;
  background: radial-gradient(1px 1px at 20% 20%, rgba(255, 255, 255, .5) 50%, transparent 51%) 0 0 / 70px 60px, linear-gradient(170deg, #17305a, var(--nl-nuit) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px rgba(0, 0, 0, .5); scrollbar-width: thin; }
.nl-room--quetes, .nl-room--lettre, .nl-room--tombola, .nl-room--boules, .nl-room--reveillon, .nl-room--courses, .nl-room--classement, .nl-room--aide, .nl-room--feu, .nl-room--jukebox { --nl-room-l: 720px; }
.nl-room__body { padding: 26px 28px 28px; gap: 14px; }
.nl-room__body > h2 { margin: 0 0 -4px; padding-right: 48px; font: 700 clamp(1.45rem, 3vw, 1.85rem)/1.12 var(--nl-serif); letter-spacing: -.01em; text-wrap: balance; }
.nl-room__body h3 { margin: 6px 0 0; }
.nl-room__lead { margin: 0; max-width: 68ch; color: color-mix(in srgb, var(--nl-neige) 82%, transparent); line-height: 1.55; text-wrap: pretty; }
.nl-room__note { margin: 0; font-size: .84rem; line-height: 1.5; color: color-mix(in srgb, var(--nl-neige) 68%, transparent); }
.nl-room__close { position: absolute; top: 16px; right: 16px; z-index: 5; display: grid; place-items: center; width: 36px; height: 36px; padding: 0 0 2px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: var(--nl-neige); font-size: 1.35rem; line-height: 1; cursor: pointer; transition: background .15s, transform .15s; }
.nl-room__close:hover { background: var(--nl-rouge); transform: rotate(90deg); }
.nl-room__close:focus, .nl-room__body:focus { outline: none; }
.nl-room__close:focus-visible { outline: 2px solid var(--nl-or); outline-offset: 2px; }
/* les champs dans les fenêtres */
.nl-room input[type="search"], .nl-room input[type="text"], .nl-room input:not([type]) { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: var(--nl-neige); font: inherit; font-size: .92rem; }
.nl-room input::placeholder { color: color-mix(in srgb, var(--nl-neige) 45%, transparent); }
.nl-room input[type="search"]:focus-visible, .nl-room input[type="text"]:focus-visible { outline: none; background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .7), 0 0 0 3px rgba(242, 193, 78, .15); }
@media (max-width: 560px) { .nl-room__body { padding: 20px 16px 22px; } .nl-room__close { top: 12px; right: 12px; } }
.nl-room .button--small { white-space: nowrap; }

/* Le calendrier : un meuble en bois, des portes en papier, une alcôve chaude derrière chaque porte ouverte */
.nl-advent { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; padding: 14px; border-radius: 20px; background: linear-gradient(180deg, #7c2b37, #5a1d27); box-shadow: inset 0 0 0 2px #9b4252, inset 0 0 0 6px #6a222e, inset 0 0 0 7px rgba(242, 193, 78, .35), 0 14px 30px -12px rgba(0, 0, 0, .6); }
.nl-door { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; min-height: 104px; padding: 10px 8px; border-radius: 10px; color: #5a3a24; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #fffaf0, transparent 70%), #f1e2c4; box-shadow: inset 0 0 0 1px #c9a978, inset 0 0 0 5px #f1e2c4, inset 0 0 0 6px rgba(140, 100, 60, .28), 0 2px 0 rgba(0, 0, 0, .25); }
.nl-door__num { font: 700 1.75rem/1 var(--nl-serif); }
.nl-door__date { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .55; }
.nl-door.is-locked .nl-door__num { opacity: .5; }
.nl-door.is-today { background: radial-gradient(120% 80% at 50% 0%, #fff6d8, transparent 70%), #ffe2a0; box-shadow: inset 0 0 0 1px #d9a640, inset 0 0 0 5px #ffe2a0, inset 0 0 0 6px rgba(200, 140, 40, .45), 0 0 22px rgba(242, 193, 78, .7); animation: nl-pulse-door 2.4s ease-in-out infinite; }
@keyframes nl-pulse-door { 50% { box-shadow: inset 0 0 0 1px #d9a640, inset 0 0 0 5px #ffe2a0, inset 0 0 0 6px rgba(200, 140, 40, .45), 0 0 34px rgba(242, 193, 78, .95); } }
.nl-door.is-missed { background: #e2d5b8; }
.nl-door.is-missed .nl-door__num { opacity: .6; }
.nl-door.is-open { place-items: stretch; align-content: start; padding: 26px 9px 10px; color: var(--nl-creme);
  background: radial-gradient(90% 60% at 50% 0%, rgba(255, 190, 110, .2), transparent 75%), linear-gradient(180deg, #3e1620, #2c0f17); box-shadow: inset 0 4px 12px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 220, 170, .14); }
.nl-door.is-open .nl-door__num { position: absolute; top: 7px; left: 10px; font-size: .95rem; color: var(--nl-or); opacity: .9; }
.nl-door__loot { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; text-align: left; }
.nl-door__loot li { display: grid; grid-template-columns: 14px minmax(0, 1fr); align-items: start; gap: 5px; font-size: .72rem; font-weight: 600; line-height: 1.25; }
.nl-door__loot li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nl-door__loot .nl-ico { width: 14px; height: 14px; margin-top: 1px; color: var(--nl-or); }
.nl-door--noel:not(.is-open) { background: radial-gradient(120% 80% at 50% 0%, #fff2f3, transparent 70%), #ffd8dc; box-shadow: inset 0 0 0 1px var(--nl-rouge), inset 0 0 0 5px #ffd8dc, inset 0 0 0 6px rgba(210, 58, 75, .35), 0 2px 0 rgba(0, 0, 0, .25); }
.nl-door--reveillon:not(.is-open):not(.is-today) { box-shadow: inset 0 0 0 1px var(--nl-sapin), inset 0 0 0 5px #f1e2c4, inset 0 0 0 6px rgba(47, 122, 79, .4), 0 2px 0 rgba(0, 0, 0, .25); }
.nl-door--bonus .nl-door__num::after { content: "★"; margin-left: 2px; font-size: .5em; vertical-align: top; color: var(--nl-rouge); }
.nl-door--bonus.is-open .nl-door__num::after { color: var(--nl-or); }
.nl-door form { margin: 0; }
.nl-door__btn { padding: 6px 12px; border: 0; border-radius: 999px; background: var(--nl-rouge); color: #fff; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; box-shadow: 0 4px 10px -4px rgba(150, 20, 40, .7); transition: transform .15s, filter .15s; }
.nl-door__btn:hover, .nl-door__btn:focus-visible { filter: brightness(1.1); transform: translateY(-1px); }
.nl-door__btn--late { background: #6b4a30; box-shadow: none; }
.nl-door__btn small { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; opacity: .85; }
.nl-ico { display: block; flex: none; }
@media (max-width: 600px) {
  .nl-advent { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 10px; }
  .nl-door { min-height: 92px; }
  .nl-door.is-open { padding: 25px 8px 9px; }
  .nl-door__loot li { grid-template-columns: minmax(0, 1fr); font-size: .69rem; overflow-wrap: normal; word-break: normal; hyphens: auto; }
  .nl-door__loot .nl-ico { display: none; }
}

/* La liste du Père Noël */
.nl-list { display: grid; gap: 8px; margin: 0; padding: 14px; list-style: none; border-radius: 14px; background: #fbf5e6; color: #3a2414; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.nl-list__item { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed #d9c9a5; }
.nl-list__item:last-child { border-bottom: 0; }
.nl-list__check { width: 22px; height: 22px; border-radius: 5px; box-shadow: inset 0 0 0 2px #8a6a44; }
.nl-list__item.is-done .nl-list__check { background: var(--nl-sapin) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; box-shadow: none; }
.nl-list__item.is-done .nl-list__text { text-decoration: line-through; opacity: .6; }
.nl-list__item.is-ready .nl-list__check { box-shadow: inset 0 0 0 2px var(--nl-rouge); }
.nl-list__text { display: grid; font: 600 1rem/1.3 var(--nl-serif); }
.nl-list__text small { font: 600 .74rem/1.3 var(--font); opacity: .7; }

/* La lettre */
.nl-letter { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: #fbf5e6; color: #3a2414; font-family: var(--nl-serif); }
.nl-letter p { margin: 0; }
.nl-letter img { border-radius: 6px; }
.nl-search { display: grid; gap: 6px; }
.nl-search label { font-weight: 700; font-size: .85rem; }
.nl-search span { display: flex; gap: 8px; }
.nl-search input { flex: 1; min-width: 0; }
.nl-wish { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.nl-wish img { border-radius: 6px; }
.nl-wish > span { display: grid; min-width: 0; }
.nl-wish strong, .nl-wish small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-wish small { opacity: .7; }
@media (max-width: 640px) { .nl-wish { grid-template-columns: 44px minmax(0, 1fr) auto; } .nl-wish input[name="mot"] { grid-column: 1 / -1; grid-row: 2; } }

/* Le coin du feu */
.nl-room--feu .nl-room__body { background: radial-gradient(70% 50% at 50% 110%, rgba(255, 140, 50, .35), transparent 70%), linear-gradient(170deg, #3a2014, #1c0f0a); }
.nl-quiz__dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nl-quiz__dots li { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-weight: 800; font-size: .8rem; }
.nl-quiz__dots li.is-ok { background: var(--nl-sapin); }
.nl-quiz__dots li.is-ko { background: #7a2a36; }
.nl-quiz__dots li.is-current { box-shadow: inset 0 0 0 2px var(--nl-or); }
.nl-quiz { display: grid; gap: 12px; justify-items: center; text-align: center; }
.nl-quiz__player { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; }
.nl-quiz__play { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f2c14e, #d99a26); color: #2a1606; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px rgba(242, 160, 40, .35); }
.nl-quiz__play:hover, .nl-quiz__play:focus-visible { filter: brightness(1.08); }
.nl-quiz__timer { flex: 1; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.nl-quiz__timer span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e2394c, #f2c14e); transition: width .2s linear; }
.nl-quiz:not(.is-started) .nl-quiz__timer span { width: 100%; opacity: .35; }
.nl-quiz.is-late .nl-quiz__timer span { width: 0; }
.nl-quiz__sec { flex: none; min-width: 7ch; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.nl-quiz:not(.is-started) .nl-quiz__option { opacity: .55; }
.nl-quiz__options.nl-quiz__options--covers { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 560px; }
.nl-quiz__options--covers .nl-quiz__option { min-height: 0; padding: 6px; }
.nl-quiz__options--covers img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; object-fit: cover; }
.nl-quiz__hint { margin: 0; }
.nl-quiz__last { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .85rem; opacity: .85; }
.nl-quiz__last img { border-radius: 6px; }
@media (max-width: 520px) { .nl-quiz__options.nl-quiz__options--covers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nl-quiz__q { margin: 0; font: 700 1.25rem/1.3 var(--nl-serif); }
.nl-quiz__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
.nl-quiz__options form { margin: 0; }
.nl-quiz__option { width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 12px; background: rgba(255, 230, 190, .12); box-shadow: inset 0 0 0 1px rgba(255, 230, 190, .25); color: #fff3e0; font: inherit; font-weight: 700; cursor: pointer; }
.nl-quiz__option:hover, .nl-quiz__option:focus-visible { background: rgba(255, 160, 70, .35); }
@media (max-width: 520px) { .nl-quiz__options:not(.nl-quiz__options--covers) { grid-template-columns: 1fr; } }

/* Le sapin */
.nl-sapin { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr); gap: 18px; align-items: center; }
.nl-sapin__art { position: relative; }
.nl-sapin__art::before { content: ""; position: absolute; inset: 10% -6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 193, 78, .16), transparent); }
.nl-sapin__art .nl-tree { position: relative; display: block; width: 100%; height: auto; }
.nl-sapin__side { display: grid; gap: 10px; }
.nl-sapin__total { margin: 0; }
.nl-sapin__total strong { font: 700 1.6rem/1 var(--nl-serif); color: var(--nl-or); }
.nl-progress { position: relative; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.nl-progress span { display: block; width: max(var(--p), 6px); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3d9a64, var(--nl-or)); box-shadow: 0 0 12px rgba(242, 193, 78, .35); }
.nl-progress i { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #2a3f63; box-shadow: 0 0 0 2px var(--nl-nuit); }
.nl-progress i.is-on { background: var(--nl-or); box-shadow: 0 0 0 2px var(--nl-nuit), 0 0 8px rgba(242, 193, 78, .8); }
.nl-paliers__next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 6px; }
.nl-paliers__next i { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--nl-or) var(--q), rgba(255, 255, 255, .12) var(--q)); }
.nl-paliers__next b { font-size: .74rem; color: var(--nl-or); white-space: nowrap; }
.nl-paliers { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nl-paliers li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--nl-verre); box-shadow: inset 0 0 0 1px var(--nl-filet); }
.nl-paliers li > span { flex: 1; min-width: 0; }
.nl-paliers li.is-next { background: rgba(242, 193, 78, .07); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .35); }
.nl-paliers li:not(.is-reached):not(.is-next) { opacity: .7; }
.nl-paliers li > span { display: grid; }
.nl-paliers small { opacity: .7; }
.nl-paliers li.is-reached { box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .6); }
.nl-paliers li.is-claimed { opacity: .65; }
.nl-paliers em { font-size: .8rem; opacity: .8; }
@media (max-width: 640px) { .nl-sapin { grid-template-columns: 1fr; } .nl-sapin__art { max-width: 200px; margin: auto; } }
.nl-tree__light { fill: #fff3b0; animation: nl-lumiere 1.8s ease-in-out infinite; }
.nl-tree__light--1 { fill: #ff8a8a; animation-delay: -.6s; }
.nl-tree__light--2 { fill: #9fd8ff; animation-delay: -1.2s; }
@keyframes nl-lumiere { 50% { opacity: .35; } }
.nl-tree__star { transform-origin: 105px 22px; animation: nl-etoile 3s ease-in-out infinite; }
@keyframes nl-etoile { 50% { transform: scale(1.12); } }

/* L'étable */
.nl-stalls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.nl-stall { display: grid; justify-items: center; gap: 4px; padding: 10px 8px 12px; border-radius: 14px; background: linear-gradient(#5a2a1e, #3e1c14); text-align: center; box-shadow: inset 0 0 0 2px #7a3e2a; }
.nl-stall__art { display: grid; place-items: center; width: 56px; height: 62px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.nl-stall__art svg { width: 48px; height: 54px; }
.nl-stall:not(.is-home) .nl-stall__art::before { content: "?"; font: 700 1.6rem/1 var(--nl-serif); opacity: .4; }
.nl-stall strong { font: 700 1rem/1.2 var(--nl-serif); }
.nl-stall small { font-size: .74rem; line-height: 1.3; opacity: .8; }
.nl-stall.is-home { background: linear-gradient(#7a3e2a, #5a2a1e); box-shadow: inset 0 0 0 2px var(--nl-or); }
@media (max-width: 600px) { .nl-stalls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Le marché */
.nl-stand__title { display: flex; align-items: center; gap: 12px; margin-top: 10px !important; font: 700 1.08rem/1.2 var(--nl-serif); color: var(--nl-or); }
.nl-stand__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(242, 193, 78, .45), transparent); }
.nl-stand { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.nl-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 66px; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--nl-verre); box-shadow: inset 0 0 0 1px var(--nl-filet); transition: background .15s; }
.nl-item:has(.nl-item__preview) { padding-left: 10px; }
.nl-item:hover { background: rgba(255, 255, 255, .08); }
.nl-item__text strong { line-height: 1.25; }
.nl-item:not(:has(.nl-item__preview)) { grid-template-columns: minmax(0, 1fr) auto; }
.nl-item__text { display: grid; }
.nl-item__text small { margin-top: 2px; font-size: .76rem; line-height: 1.4; opacity: .68; }
.nl-item form { margin: 0; }
.nl-item form .button { display: inline-flex; align-items: center; gap: 4px; }
.nl-item.is-owned { opacity: .62; }
.nl-item em { padding: 4px 10px; border-radius: 999px; background: rgba(242, 193, 78, .14); color: var(--nl-or); font-size: .76rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.nl-item__preview { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; overflow: hidden; background-color: #1b3561; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.nl-preview--cadre { border-radius: 50%; background: var(--frame-bg, #1b3561); }
.nl-preview--titre { width: auto; min-width: 46px; padding: 0 8px; font: 700 .62rem/1.1 var(--nl-serif); text-align: center; color: var(--nl-or); }

/* La tombola */
.nl-ticket { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 14px 22px; border-radius: 10px; color: #4a2a16; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
  background: radial-gradient(circle at 0 50%, transparent 11px, #fbf1d6 12px) 0 0 / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 11px, #fbf1d6 12px) 100% 0 / 51% 100% no-repeat; }
.nl-ticket::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(160, 110, 50, .28); border-radius: 6px; pointer-events: none; }
.nl-ticket__n { min-width: 2.2ch; padding-right: 18px; border-right: 2px dashed rgba(160, 110, 50, .4); font: 700 2.3rem/1 var(--nl-serif); color: var(--nl-rouge); text-align: center; }
.nl-ticket__txt { display: grid; gap: 2px; }
.nl-ticket__txt strong { font: 700 1.1rem/1.2 var(--nl-serif); }
.nl-ticket__txt small { font-size: .8rem; line-height: 1.4; opacity: .75; }
.nl-lots, .nl-tirage { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nl-lots li { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--nl-verre); box-shadow: inset 0 0 0 1px var(--nl-filet); line-height: 1.4; }
.nl-lots li span { font: 700 .98rem/1.2 var(--nl-serif); color: var(--nl-or); }
.nl-tirage li { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.nl-tirage li.is-me { box-shadow: inset 0 0 0 1px var(--nl-or); }
.nl-tirage small { opacity: .75; }

/* Les boules de neige */
.nl-score { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(4, 10, 24, .35); box-shadow: inset 0 0 0 1px var(--nl-filet); }
.nl-score__team { display: grid; text-align: center; font-weight: 700; }
.nl-score__team strong { font: 700 1.5rem/1 var(--nl-serif); }
.nl-score__team small { font-size: .72rem; opacity: .7; }
.nl-score__team--L strong { color: #6fdc8c; }
.nl-score__team--R strong { color: #f0a07a; }
.nl-score__bar { height: 12px; border-radius: 999px; background: linear-gradient(90deg, #a5542f, #d07a4e); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.nl-score__bar i { display: block; width: var(--l); height: 100%; background: linear-gradient(90deg, #2f8f4c, #4fc46e); box-shadow: 2px 0 0 #fff; transition: width .6s; }
.nl-camps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nl-camps form { margin: 0; }
.nl-camp { display: grid; gap: 2px; width: 100%; padding: 18px 12px; border: 0; border-radius: 16px; color: #fff; font: inherit; cursor: pointer; }
.nl-camp strong { font: 700 1.2rem/1.2 var(--nl-serif); }
.nl-camp small { opacity: .8; }
.nl-camp--L { background: linear-gradient(160deg, #3fae5a, #1f6a36); }
.nl-camp--R { background: linear-gradient(160deg, #c8714a, #7a3a20); }
.nl-throw { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nl-throw__balls { display: flex; gap: 6px; }
.nl-throw__balls i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #cfe0f5); box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.nl-throw__balls i.is-used { opacity: .2; }
.nl-throw form { margin: 0; }

/* Le classement, la vitrine, l'aide */
.nl-room--classement .nl-room__body { background: linear-gradient(170deg, #2a5a8a, #13284c 70%); }
.nl-rank { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nl-rank li { display: grid; grid-template-columns: 28px 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.nl-rank li.is-me { box-shadow: inset 0 0 0 1px var(--nl-or); }
.nl-rank a { color: inherit; font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-rank__pos { font: 700 1.05rem/1 var(--nl-serif); color: var(--nl-or); }
.nl-collect { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.nl-cosm { position: relative; display: grid; align-content: start; gap: 3px; padding: 10px 10px 12px; border-radius: 16px; background: var(--nl-verre); box-shadow: inset 0 0 0 1px var(--nl-filet); text-align: center; }
.nl-cosm strong { font-size: .86rem; line-height: 1.25; }
.nl-cosm small { font-size: .72rem; line-height: 1.35; opacity: .65; }
.nl-cosm__art { display: grid; place-items: center; height: 84px; margin-bottom: 6px; border-radius: 11px; background: radial-gradient(80% 90% at 50% 100%, rgba(255, 255, 255, .07), transparent), rgba(4, 10, 24, .35); overflow: hidden; }
.nl-cosm__prev { display: block; }
.nl-cosm__prev--fond { width: 100%; height: 100%; }
.nl-cosm__prev--cadre { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--frame-bg, #2a4672); box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.nl-cosm__prev--cadre::after { content: ""; position: absolute; inset: 17%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2a4672, #10213f); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); }
.nl-cosm__prev--dos { position: relative; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 6px 14px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.nl-cosm__prev--dos::after { content: ""; position: absolute; inset: 40%; border-radius: 50%; background: #0c1a33; box-shadow: 0 0 0 3px rgba(255, 255, 255, .55); }
.nl-cosm__plaque { max-width: calc(100% - 16px); padding: 7px 12px; border-radius: 8px; background: linear-gradient(180deg, #24406b, #162b4d); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .5), 0 6px 14px rgba(0, 0, 0, .35); color: var(--nl-or); font: 700 .82rem/1.2 var(--nl-serif); text-wrap: balance; }
.nl-cosm__mystere { font: 700 2.2rem/1 var(--nl-serif); color: rgba(255, 255, 255, .18); }
.nl-cosm:not(.is-owned) .nl-cosm__prev, .nl-cosm:not(.is-owned) .nl-cosm__plaque { filter: grayscale(.75) brightness(.7); opacity: .7; }
.nl-cosm.is-owned { background: linear-gradient(180deg, rgba(242, 193, 78, .1), rgba(242, 193, 78, .03)); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .55); }
.nl-cosm__ok { position: absolute; top: -7px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--nl-or); color: #3a2414; font-size: .64rem; font-style: normal; font-weight: 800; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.nl-collect--titre .nl-cosm__art { height: auto; min-height: 64px; padding: 10px 6px; }
/* l'aperçu du fond « Ma maison » : la pièce au coin du feu */
.bg-picker__preview--maison { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3CradialGradient id='f' cx='.5' cy='.7' r='.5'%3E%3Cstop offset='0' stop-color='%23ffb347' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23ffb347' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='160' height='62' fill='%23efe0c2'/%3E%3Cpath d='M0 8h160M0 20h160M0 32h160M0 44h160' stroke='%23e4d0aa' stroke-width='.8'/%3E%3Crect y='48' width='160' height='14' fill='%23c9a77a'/%3E%3Cpath d='M0 48h160' stroke='%23a8865a' stroke-width='1.4'/%3E%3Crect y='62' width='160' height='28' fill='%237a4a28'/%3E%3Cpath d='M0 70h160M0 79h160M40 62v8M95 70v9M130 62v8M20 79v11M70 79v11M120 79v11' stroke='%235f3818' stroke-width='1'/%3E%3Crect x='16' y='12' width='36' height='32' rx='1.5' fill='%2318315c'/%3E%3Ccircle cx='24' cy='20' r='.9' fill='%23fff'/%3E%3Ccircle cx='40' cy='17' r='.7' fill='%23fff'/%3E%3Ccircle cx='31' cy='27' r='.8' fill='%23fff'/%3E%3Ccircle cx='46' cy='30' r='.7' fill='%23fff'/%3E%3Cpath d='M16 38q18-6 36 0v6H16Z' fill='%23dfeefc'/%3E%3Crect x='16' y='12' width='36' height='32' rx='1.5' fill='none' stroke='%23f7efdc' stroke-width='3'/%3E%3Cpath d='M34 12v32M16 28h36' stroke='%23f7efdc' stroke-width='2'/%3E%3Ccircle cx='117' cy='52' r='34' fill='url(%23f)'/%3E%3Crect x='94' y='28' width='46' height='34' fill='%239a9488'/%3E%3Cpath d='M94 36h46M94 44h46M94 52h46M104 28v8M124 28v8M114 36v8M132 36v8M104 44v8M124 44v8' stroke='%237e786c' stroke-width='.8'/%3E%3Crect x='90' y='24' width='54' height='5' rx='1' fill='%236b3b1f'/%3E%3Cpath d='M104 62V48q13-9 26 0v14Z' fill='%232a120a'/%3E%3Cpath d='M110 62q-1-8 4-11 0 5 3 6 1-6 5-8-1 6 2 9 2-3 3-1 1 3-1 5Z' fill='%23ff9a2e'/%3E%3Cpath d='M114 62q0-5 3-7 0 3 2 4 1-3 3-4 0 4 1 7Z' fill='%23ffd447'/%3E%3Crect x='108' y='18' width='4' height='6' fill='%23f2c14e'/%3E%3Crect x='122' y='17' width='4' height='7' fill='%23d23a4b'/%3E%3Cpath d='M66 62V40l6-6 6 6v22Z' fill='%232f7a4f' opacity='.0'/%3E%3C/svg%3E") center / cover; }
.nl-help { display: grid; gap: 8px; margin: 0; padding-left: 18px; }

/* ---------- Les rennes cachés : ils dépassent du bord de l'écran ---------- */
.nl-renne { position: fixed; z-index: 70; bottom: 18vh; width: 64px; height: 72px; padding: 0; border: 0; background: none; cursor: pointer; animation: nl-renne-coucou 7s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.nl-renne svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)); }
.nl-renne--gauche { left: -18px; --r: 28deg; --tx: -40px; }
.nl-renne--droite { right: -18px; --r: -28deg; --tx: 40px; }
.nl-renne--rodolphe .nl-renne__nez { filter: drop-shadow(0 0 6px #ff3030); animation: nl-nez 1.4s ease-in-out infinite; }
.nl-renne.is-caught { animation: nl-renne-file .7s ease-in forwards; pointer-events: none; }
@keyframes nl-renne-coucou { 0%, 60%, 100% { transform: translateX(var(--tx)) rotate(var(--r)); } 70%, 90% { transform: translateX(0) rotate(calc(var(--r) / 2)); } }
@keyframes nl-renne-file { to { transform: translate(0, -60vh) rotate(0) scale(.4); opacity: 0; } }
@keyframes nl-nez { 50% { filter: drop-shadow(0 0 14px #ff3030); } }
@media (prefers-reduced-motion: reduce) { .nl-renne { animation: none; transform: translateX(0) rotate(calc(var(--r) / 2)); } }

/* ---------- L'horloge de test ---------- */
.nl-horloge { position: fixed; left: 12px; bottom: 58px; z-index: 60; max-width: min(360px, calc(100vw - 24px)); padding: 6px 10px; border-radius: 14px; background: rgba(12, 26, 51, .94); border: 1px dashed #9fd8ff; color: var(--nl-neige); font: 600 .8rem/1.3 system-ui, sans-serif; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.nl-horloge summary { cursor: pointer; list-style: none; white-space: nowrap; }
.nl-horloge summary::-webkit-details-marker { display: none; }
.nl-horloge form { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.nl-horloge button { padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: none; color: inherit; font: inherit; cursor: pointer; }
.nl-horloge button:hover { background: rgba(159, 216, 255, .25); }
.nl-horloge p { margin: 0; opacity: .75; font-weight: 400; }
.nl-horloge a { color: #9fd8ff; }

/* Les pièces des bonshommes de neige */
.nl-piece--carotte { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M8 30 30 12c3-2 6 1 4 4L12 34c-3 2-6-1-4-4Z' fill='%23ff8a1f'/%3E%3Cpath d='m14 26 3 3M19 22l3 3M24 18l3 3' stroke='%23c95d10' stroke-width='1.6'/%3E%3Cpath d='M31 11c2-5 6-6 7-5-1 2-3 4-5 6M32 12c5-1 7 1 6 3-2 0-5-1-6-2' fill='%233c9a5c'/%3E%3C/svg%3E"); }
.nl-piece--charbon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M8 22l5-8 8-1 5 6-2 8-9 2Z' fill='%232b2b2e'/%3E%3Cpath d='M22 30l4-7 7 0 3 6-4 5-7 0Z' fill='%233b3b40'/%3E%3Cpath d='M12 18l4-2M26 26l3-1' stroke='%2377777f' stroke-width='1.4'/%3E%3C/svg%3E"); }
.nl-piece--echarpe { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M6 12q14 8 28 0l1 7q-15 8-30 0Z' fill='%23d23a4b'/%3E%3Cpath d='M24 18l4 16 6-2-4-15Z' fill='%23d23a4b'/%3E%3Cpath d='M10 15l2 4M16 17l1 4M22 17l0 4M28 34l1 3M31 33l1 3' stroke='%23f4f9ff' stroke-width='2'/%3E%3C/svg%3E"); }
.nl-piece--chapeau { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='5' y='27' width='30' height='5' rx='2' fill='%23222'/%3E%3Crect x='11' y='8' width='18' height='20' fill='%23222'/%3E%3Crect x='11' y='22' width='18' height='4' fill='%23d23a4b'/%3E%3C/svg%3E"); }
.nl-piece--balai { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M28 4 18 26' stroke='%238a5a2c' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M12 24l12 5-5 9-12-6Z' fill='%23d9b45a'/%3E%3Cpath d='M10 30l11 5M13 27l10 5' stroke='%23a8833a' stroke-width='1.3'/%3E%3C/svg%3E"); }
.nl-piece--moufles { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M6 24V12c0-4 8-4 8 0v3c2-2 5-1 5 2v7c0 4-3 6-6 6H9c-2 0-3-2-3-6Z' fill='%232f6fc0'/%3E%3Cpath d='M21 26V14c0-4 8-4 8 0v3c2-2 5-1 5 2v7c0 4-3 6-6 6h-4c-2 0-3-2-3-6Z' fill='%232f6fc0'/%3E%3Cpath d='M6 26h13M21 28h13' stroke='%23f4f9ff' stroke-width='3'/%3E%3C/svg%3E"); }
.nl-piece { display: block; width: 40px; height: 40px; background-position: center; background-size: contain; background-repeat: no-repeat; }

/* La salle des fêtes, le podium, les courses */
.nl-party { display: grid; justify-items: center; gap: 8px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); text-align: center; }
.nl-party__play { min-width: 240px; background: linear-gradient(180deg, #e04a5a, #a82637); border-color: transparent; color: #fff; box-shadow: 0 0 22px rgba(242, 193, 78, .35); }
.nl-party__play.is-loading { opacity: .7; }
.nl-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; padding-top: 10px; }
.nl-podium__step { position: relative; display: grid; justify-items: center; gap: 2px; padding: 12px 6px 34px; border-radius: 14px 14px 4px 4px; background: linear-gradient(#2a4672, #1b3561); text-align: center; }
.nl-podium__step--1 { min-height: 170px; background: linear-gradient(#b8861f, #7a5410); box-shadow: 0 0 24px rgba(242, 193, 78, .4); }
.nl-podium__step--2 { min-height: 140px; background: linear-gradient(#7d8ea6, #4d5c72); }
.nl-podium__step--3 { min-height: 120px; background: linear-gradient(#a8643a, #6b3b1f); }
.nl-podium__step strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-podium__step small { opacity: .8; }
.nl-podium__step > span:last-child { position: absolute; bottom: 6px; font: 700 1.5rem/1 var(--nl-serif); opacity: .9; }
.nl-podium__step.is-me { box-shadow: inset 0 0 0 2px var(--nl-or); }
.nl-races { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.nl-races li { display: grid; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .06); text-align: center; }
.nl-races li.is-today { background: var(--nl-rouge); box-shadow: 0 0 14px rgba(210, 58, 75, .6); }
.nl-races li.is-done { opacity: .55; }
.nl-races small { opacity: .8; }
@media (max-width: 520px) { .nl-races { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* L'atelier */
.nl-room--atelier .nl-room__body { background: radial-gradient(1px 1px at 20% 20%, rgba(255, 255, 255, .4) 50%, transparent 51%) 0 0 / 70px 60px, linear-gradient(170deg, #24533a, #12291d 70%); }
.nl-copeaux { display: inline-flex; align-items: center; justify-self: start; gap: 14px; padding: 10px 22px 10px 18px; border-radius: 14px; color: #3a2010; box-shadow: inset 0 1px 0 rgba(255, 240, 200, .6), inset 0 0 0 1px rgba(90, 50, 20, .35), 0 8px 18px -8px rgba(0, 0, 0, .55);
  background: repeating-linear-gradient(176deg, rgba(120, 70, 20, .07) 0 2px, transparent 2px 7px), linear-gradient(180deg, #e3bf7a, #c99a52); }
.nl-copeaux__n { font: 700 2rem/1 var(--nl-serif); }
.nl-copeaux__txt { display: grid; }
.nl-copeaux__txt strong { font: 700 1rem/1.1 var(--nl-serif); }
.nl-copeaux__txt small { font-size: .74rem; opacity: .7; }
.nl-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.nl-quick form { margin: 0; }
.nl-dupes ul { display: grid; gap: 4px; max-height: 320px; margin: 0 0 10px; padding: 0; overflow: auto; list-style: none; }
.nl-dupes label { display: grid; grid-template-columns: auto 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, .05); cursor: pointer; }
.nl-dupes label:has(input:checked) { background: rgba(242, 193, 78, .2); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .6); }
.nl-dupes__img { display: block; width: 36px; height: 36px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.nl-dupes img { display: block; }
.nl-dupes span:not(.nl-dupes__img) { display: grid; min-width: 0; }
.nl-dupes strong, .nl-dupes small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-dupes small { opacity: .7; }
.nl-dupes em { font-size: .8rem; font-style: normal; color: var(--nl-or); }

/* Le juke-box */
.nl-room--jukebox .nl-room__body { background: radial-gradient(60% 50% at 50% 0%, rgba(242, 193, 78, .25), transparent 70%), linear-gradient(170deg, #4a1424, #1f0a12 70%); }
.nl-jukebox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nl-disc { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 10px; border-radius: 16px; background: rgba(255, 255, 255, .06); text-align: center; }
.nl-disc::before { content: ""; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle, #f2c14e 0 14%, #111 15% 20%, #2a2a2a 21% 38%, #111 39% 41%, #2a2a2a 42% 60%, #111 61% 63%, #2a2a2a 64% 100%); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.nl-disc.is-mine::before { animation: frost-spin 3s linear infinite; }
.nl-disc.is-mine { box-shadow: inset 0 0 0 2px var(--nl-or); }
.nl-disc__label { font: 700 1rem/1.2 var(--nl-serif); }
.nl-disc form { margin: 0; }
.nl-disc__bar { width: 100%; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.nl-disc__bar i { display: block; width: var(--p); height: 100%; background: linear-gradient(90deg, var(--nl-rouge), var(--nl-or)); }
@media (max-width: 520px) { .nl-jukebox { grid-template-columns: 1fr; } .nl-disc { grid-template-columns: 72px 1fr; justify-items: start; text-align: left; } .nl-disc::before { grid-row: span 3; } }

/* La colline aux bonshommes */
.nl-pieces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.nl-pieces li { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); text-align: center; opacity: .5; }
.nl-pieces li.is-have { opacity: 1; box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .5); }
.nl-pieces strong { font-size: .78rem; }
.nl-pieces small { opacity: .75; }
@media (max-width: 560px) { .nl-pieces { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Le Père Noël secret */
.nl-secret { display: grid; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .2); }
.nl-secret form { margin: 0; }

/* Le Réveillon pendant la partie de blind test */
.nl-bt-banner { position: fixed; z-index: 80; top: 18%; left: 50%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; transform: translateX(-50%); background: linear-gradient(90deg, #6a1f33, #d23a4b 50%, #6a1f33); color: #fff; font: 700 1.05rem/1.2 var(--nl-serif); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: nl-bt-banner 3.2s ease forwards; pointer-events: none; }
.nl-bt-banner--dore { background: linear-gradient(90deg, #7a5410, #f2c14e 50%, #7a5410); color: #2a1a06; box-shadow: 0 0 40px rgba(242, 193, 78, .8); }
.nl-bt-banner__gift { width: 22px; height: 22px; border-radius: 3px; background: linear-gradient(90deg, transparent 42%, #fff3b0 42% 58%, transparent 58%), linear-gradient(0deg, transparent 42%, #fff3b0 42% 58%, transparent 58%), #c92f45; }
@keyframes nl-bt-banner { 0% { opacity: 0; transform: translate(-50%, -12px) scale(.9); } 12%, 80% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -8px); } }
[data-bt].is-noel { --nl-glow: rgba(242, 193, 78, .25); }
[data-bt].is-golden { box-shadow: 0 0 0 3px #f2c14e, 0 0 50px rgba(242, 193, 78, .5); border-radius: 22px; }
[data-bt].is-golden { position: relative; }
[data-bt].is-golden::before { content: "Cadeau doré · points ×3"; position: absolute; z-index: 5; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 999px; background: linear-gradient(90deg, #7a5410, #f2c14e 50%, #7a5410); color: #2a1a06; font-size: .74rem; font-weight: 800; white-space: nowrap; box-shadow: 0 0 18px rgba(242, 193, 78, .6); pointer-events: none; }
[data-bt].is-snowed::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; background: radial-gradient(3px 3px at 10% 20%, #fff 50%, transparent 51%) 0 0 / 120px 120px, radial-gradient(2px 2px at 60% 70%, #fff 50%, transparent 51%) 0 0 / 90px 100px; animation: nl-village-neige 6s linear infinite; opacity: .9; }
@media (prefers-reduced-motion: reduce) { .nl-bt-banner { animation: none; } [data-bt].is-snowed::after { animation: none; } }

/* Sur téléphone : le bandeau passe au-dessus du dessin (sinon il cache le haut du village) */
@media (max-width: 760px) {
  .nl-village__hud { position: static; padding: 14px 16px 12px; background: linear-gradient(180deg, #081329, #12264a); }
}

/* ---------- La maison (Noël 2026) ---------- */
.nl-village--maison { background: #1c0f0a; }
.nl-house__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 20px 14px; background: linear-gradient(180deg, #2c170c, #1c0f0a); color: var(--nl-neige); }
.nl-house__head h1 { margin: 0; font: 700 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--nl-serif); }
.nl-house__kicker { margin: 0 0 2px; font-size: .8rem; font-weight: 700; }
.nl-house__kicker a { color: var(--nl-or); text-decoration: none; }
.nl-house__kicker a:hover { text-decoration: underline; }
.nl-house__sub { margin: 2px 0 0; font-size: .85rem; opacity: .8; }
.nl-house__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nl-house__done { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .8rem; font-weight: 700; }
.nl-house { position: relative; width: 100%; min-width: 900px; aspect-ratio: 16 / 9; }
.nl-house__art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.nl-house__cd, .room--maison .nl-house__cd { position: absolute; z-index: 1; display: block; overflow: hidden; border-radius: 2px; box-shadow: 3px 4px 8px rgba(20, 10, 4, .5); transform: perspective(400px) rotateY(-6deg); }
.nl-house__cd img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nl-house__cd--vide { box-shadow: none; border: 2px dashed rgba(90, 58, 34, .45); background: rgba(90, 58, 34, .08); }
.nl-house__spots { position: absolute; inset: 0; z-index: 2; }
.nl-hspot { border-radius: 18px; transition: box-shadow .2s; }
.nl-hspot::before { inset: 0; border-radius: 18px; background: radial-gradient(closest-side, rgba(255, 226, 150, .22), transparent); }
.nl-hspot:hover, .nl-hspot:focus-visible { box-shadow: inset 0 0 0 2px rgba(255, 226, 150, .55); }
.nl-hspot .nl-spot__label { opacity: 0; transition: opacity .2s, transform .2s; }
.nl-hspot:hover .nl-spot__label, .nl-hspot:focus-visible .nl-spot__label, .nl-hspot.is-new .nl-spot__label { opacity: 1; }
.nl-hspot--porte { border-radius: 6px; }
/* le disque d'un visiteur : on clique sur le coin musique pour l'écouter */
.nl-house .cd__play.nl-house__play { inset: auto; display: block; place-items: unset; border-radius: 18px; background: none; color: inherit; transform: none; }
.nl-house .cd__play.nl-house__play .nl-spot__label { opacity: 1; }
.nl-house .cd__play.nl-house__play.is-previewing .nl-spot__label { background: linear-gradient(180deg, #e04a5a, #a82637); color: #fff; }
.nl-house .cd__play.nl-house__note { inset: auto; width: 2.2%; aspect-ratio: 1; min-width: 22px; z-index: 3; background: var(--nl-or); color: #3a2414; font-weight: 800; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.nl-house .cd__play.nl-house__note.is-previewing { background: var(--nl-rouge); color: #fff; }
.nl-house__visit { margin: 0; padding: 12px 18px 14px; background: linear-gradient(180deg, #2c170c, #1c0f0a); color: var(--nl-neige); font-size: .9rem; text-align: center; }
.nl-house__visit a { color: var(--nl-or); font-weight: 700; }
.nl-village--maison .nl-village__list { background: linear-gradient(180deg, #2c170c, #1c0f0a); }
.nl-village--maison .nl-place { text-align: center; }
/* les fenêtres des coins */
.nl-room--maison .nl-room__body { background: radial-gradient(60% 40% at 50% 0%, rgba(255, 170, 80, .16), transparent 70%), linear-gradient(170deg, #3a2014, #1c0f0a); }
.nl-room--porte .nl-room__body { background: linear-gradient(170deg, #3a2014, #1c0f0a); }
.nl-decos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.nl-deco { position: relative; min-width: 0; contain: layout paint; display: grid; align-content: start; gap: 3px; padding: 8px 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); text-align: center; }
.nl-deco > button { display: grid; gap: 3px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
form.nl-deco:hover, form.nl-deco:focus-within { background: rgba(255, 255, 255, .12); }
/* la vignette : une boîte 4/3 qui coupe tout ce qui dépasse (l'image ne peut jamais sortir de sa carte, quel que soit le navigateur) */
.nl-deco__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; contain: paint; border-radius: 9px; background: #2a160c; }
.nl-deco__img img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
@supports not (aspect-ratio: 1) { .nl-deco__img { height: 0; padding-bottom: 75%; } .nl-deco__img img { position: absolute; inset: 0; } }
.nl-deco strong { font-size: .86rem; line-height: 1.2; }
.nl-deco small { font-size: .72rem; opacity: .75; }
.nl-deco em { font-size: .74rem; font-style: normal; font-weight: 700; color: var(--nl-or); }
.nl-deco form { margin-top: 4px; }
.nl-deco.is-on { box-shadow: inset 0 0 0 2px var(--nl-or), 0 0 18px rgba(242, 193, 78, .25); }
.nl-deco.is-on small { color: var(--nl-or); opacity: 1; font-weight: 700; }
.nl-deco.is-locked .nl-deco__img img { filter: grayscale(.85) brightness(.55); }
.nl-deco.is-buy .nl-deco__img img { filter: brightness(.85); }
.nl-deco.is-new::after { content: "Nouveau"; position: absolute; top: 4px; right: 4px; padding: 1px 7px; border-radius: 999px; background: var(--nl-rouge); color: #fff; font-size: .62rem; font-weight: 800; }
.nl-deco__secret { position: absolute; inset: 0; display: grid; place-items: center; font: 700 2.4rem/1 var(--nl-serif); color: rgba(255, 255, 255, .25); }
.nl-decos--etal { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.nl-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.nl-shelf__place { display: grid; justify-items: center; gap: 4px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); text-align: center; }
.nl-shelf__place img { width: 80px; height: 80px; border-radius: 4px; object-fit: cover; box-shadow: 2px 3px 8px rgba(0, 0, 0, .4); }
.nl-shelf__place small { font-size: .74rem; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-shelf__vide { display: grid; place-items: center; width: 80px; height: 80px; border: 2px dashed rgba(255, 255, 255, .25); border-radius: 6px; font-size: .72rem; opacity: .7; }
.nl-cdsearch { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-cdsearch input { flex: 1 1 200px; min-width: 0; padding: 8px 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: inherit; font: inherit; }
.nl-cdlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.nl-cdpick button { display: grid; justify-items: center; gap: 2px; width: 100%; padding: 6px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .05); color: inherit; font: inherit; cursor: pointer; }
.nl-cdpick button:hover, .nl-cdpick button:focus-visible { background: rgba(255, 255, 255, .14); }
.nl-cdpick img { width: 60px; height: 60px; border-radius: 4px; object-fit: cover; }
.nl-cdpick span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; font-weight: 700; }
.nl-cdpick small { font-size: .66rem; opacity: .7; }
.nl-house__popular h2 { margin: 0 0 10px; font: 700 1.2rem/1.2 var(--nl-serif); }
.nl-house__top { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: top; }
.nl-house__top li { display: grid; padding: 7px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.nl-house__top a { color: var(--nl-neige); font-weight: 800; text-decoration: none; }
.nl-house__top a:hover { color: var(--nl-or); }
.nl-house__top small { font-size: .72rem; opacity: .7; }
a.nl-place, a.nl-spot { text-decoration: none; }

/* =========================================================
   L'habit de fête du site pendant l'event (body[data-event="noel"]) : nuit d'hiver bleu sapin,
   rouge et or, une guirlande lumineuse en haut, la neige, un traîneau qui passe.
   ========================================================= */
.nl-ambiance { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; } /* derrière les pages (z 2), devant la salle (z 0) */
.nl-ambiance .nl-snow { z-index: 0; }
/* la guirlande : un fil qui pend tous les 160 px, des ampoules qui scintillent */
.nl-lights { position: absolute; inset: 0 0 auto; height: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='30'%3E%3Cpath d='M0 2Q80 46 160 2' fill='none' stroke='%231d2b22' stroke-width='2'/%3E%3Ccircle cx='0' cy='2' r='2.5' fill='%231d2b22'/%3E%3Ccircle cx='160' cy='2' r='2.5' fill='%231d2b22'/%3E%3C/svg%3E") 0 0 / 160px 30px repeat-x; }
.nl-lights i { position: absolute; width: 9px; height: 13px; margin-left: -4.5px; border-radius: 45% 45% 50% 50% / 40% 40% 60% 60%; background: var(--b, #ff4a4a); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--b, #ff4a4a) 70%, transparent), inset -2px -3px 0 rgba(0, 0, 0, .18); animation: nl-ampoule 2.6s ease-in-out infinite; }
.nl-lights i::before { content: ""; position: absolute; left: 1.5px; top: -4px; width: 6px; height: 5px; border-radius: 1px; background: #3a4a3e; }
.nl-lights i:nth-child(4n + 1) { --b: #ff4a5a; }
.nl-lights i:nth-child(4n + 2) { --b: #ffd25a; animation-delay: -.65s; }
.nl-lights i:nth-child(4n + 3) { --b: #4fe08a; animation-delay: -1.3s; }
.nl-lights i:nth-child(4n + 4) { --b: #6ac8ff; animation-delay: -1.95s; }
.nl-lights i:nth-child(3n) { animation-duration: 3.4s; }
@keyframes nl-ampoule { 0%, 100% { opacity: 1; } 50% { opacity: .45; box-shadow: 0 0 4px 0 color-mix(in srgb, var(--b, #ff4a4a) 40%, transparent), inset -2px -3px 0 rgba(0, 0, 0, .18); } }
/* le traîneau du Père Noël, de temps en temps, tout en haut */
.nl-sleigh { position: absolute; top: 9%; left: -240px; width: clamp(130px, 13vw, 200px); color: #0d1730; opacity: .85; filter: drop-shadow(0 0 10px rgba(255, 236, 170, .35)); animation: nl-traineau 48s linear infinite; animation-delay: 6s; }
.nl-sleigh svg { display: block; width: 100%; height: auto; animation: nl-trot .9s ease-in-out infinite alternate; }
.nl-sleigh__nose { animation: nl-ampoule 1.2s ease-in-out infinite; }
@keyframes nl-traineau { 0% { transform: translate(0, 0); } 30% { transform: translate(calc(100vw + 480px), -3vh); } 100% { transform: translate(calc(100vw + 480px), -3vh); } }
@keyframes nl-trot { from { transform: translateY(-2px) rotate(-1deg); } to { transform: translateY(3px) rotate(1deg); } }
html[data-theme="clair"] .nl-snow i { background: #b8cde8; opacity: .9; }
@media (prefers-color-scheme: light) { html[data-theme="systeme"] .nl-snow i { background: #b8cde8; opacity: .9; } }
html[data-theme="clair"] .nl-sleigh { color: #2a3a5c; opacity: .55; filter: none; }
@media (prefers-reduced-motion: reduce) { .nl-lights i, .nl-sleigh__nose { animation: none; } .nl-sleigh { display: none; } }
@media (max-width: 640px) { .nl-lights { transform: scale(.8); transform-origin: 0 0; width: 125%; } .nl-sleigh { display: none; } }

/* les couleurs : nuit d'hiver, rouge Noël, or */
body[data-event="noel"] { --accent: #e23a4e; --accent-light: #3d1520; --active-bg: #d42f43; --active-text: #fff; --full: #d42f43; --on-full: #fff; }
html[data-theme="sombre"] body[data-event="noel"] { --plastic: #0b1828; --case: #13263c; --ink-soft: #b2c4d8; --field-bg: #0f2033; --line: rgba(205, 225, 255, .13); --line-strong: rgba(205, 225, 255, .26); --hub: rgba(220, 235, 255, .2); }
@media (prefers-color-scheme: dark) { html[data-theme="systeme"] body[data-event="noel"] { --plastic: #0b1828; --case: #13263c; --ink-soft: #b2c4d8; --field-bg: #0f2033; --line: rgba(205, 225, 255, .13); --line-strong: rgba(205, 225, 255, .26); --hub: rgba(220, 235, 255, .2); } }
html[data-theme="clair"] body[data-event="noel"] { --accent: #b81f33; --accent-light: #fbe1e4; --active-bg: #1d5c40; --active-text: #fff; --full: #b81f33; --on-full: #fff; --case: #fdfaf4; --plastic: #edf1ec; }
@media (prefers-color-scheme: light) { html[data-theme="systeme"] body[data-event="noel"] { --accent: #b81f33; --accent-light: #fbe1e4; --active-bg: #1d5c40; --active-text: #fff; --full: #b81f33; --on-full: #fff; --case: #fdfaf4; --plastic: #edf1ec; } }
body[data-event="noel"] { scrollbar-color: #d42f43 transparent; accent-color: #d42f43; }
body[data-event="noel"] ::selection { background: #d42f43; color: #fff; }

/* le logo : un bonnet de Père Noël sur le disque */
body[data-event="noel"] .brand { position: relative; --nl-logo: 44px; }
body[data-event="noel"] .header:not(.header--visitor) .brand { --nl-logo: 40px; }
@media (max-width: 760px) { body[data-event="noel"] .header:not(.header--visitor) .brand { --nl-logo: 30px; } }
/* le bonnet suit la taille du disque : le revers blanc centré sur le haut du disque, le pompon qui tombe à droite */
body[data-event="noel"] .brand::before { content: none; }
.brand__disc { position: relative; display: inline-flex; flex: none; }
/* le bonnet posé sur le disque lui-même (et non plus sur le lien) : le revers couvre le haut du disque, le pompon tombe à droite */
/* le bonnet sur le logo : retiré le 01/12 (Poscaxx le remet plus tard) */
body[data-event="noel"] .brand__logo { filter: drop-shadow(0 0 8px rgba(255, 220, 140, .45)); }

/* le menu : le disque passe en nuit de Noël */
body[data-event="noel"] #nav-iridescent stop:nth-child(1) { stop-color: #0f2a3f; }
body[data-event="noel"] #nav-iridescent stop:nth-child(2) { stop-color: #143d2e; }
body[data-event="noel"] #nav-iridescent stop:nth-child(3) { stop-color: #0d2236; }
body[data-event="noel"] #nav-iridescent stop:nth-child(4) { stop-color: #4a1622; }
body[data-event="noel"] #nav-iridescent stop:nth-child(5) { stop-color: #0f2a3f; }
body[data-event="noel"] .nav-disc__fraction { stroke: rgba(242, 193, 78, .35); }
body[data-event="noel"] .nav-disc__text { fill: #eef5ff; }
body[data-event="noel"] .nav-disc__icon { stroke: #f2c14e; opacity: .92; }
body[data-event="noel"] .nav-disc__part:hover .nav-disc__fraction { fill: #1d5c40; }
body[data-event="noel"] .nav-disc__part:hover .nav-disc__text { fill: #ffe7a6; }
body[data-event="noel"] .nav-disc__part.is-selected .nav-disc__fraction { fill: #d42f43; }
body[data-event="noel"] .nav-disc__part.is-selected .nav-disc__text { fill: #fff; }
body[data-event="noel"] .nav-disc__part.is-selected .nav-disc__icon { stroke: #fff; }
body[data-event="noel"] .nav-disc__hub { fill: rgba(8, 18, 32, .85); stroke: rgba(242, 193, 78, .6); }
body[data-event="noel"] .nav-disc__ring { stroke: rgba(242, 193, 78, .35); }
body[data-event="noel"] .nav-disc__disc { filter: drop-shadow(0 0 18px rgba(212, 47, 67, .3)) drop-shadow(0 10px 22px rgba(4, 10, 20, .5)); }

/* les boutons : rouge Noël, liseré doré, et ils passent au vert sapin au survol */
body[data-event="noel"] .button { box-shadow: 0 0 0 1px rgba(242, 193, 78, .3), 0 6px 16px -6px rgba(212, 47, 67, .5); transition: background .15s, color .15s, transform .1s, box-shadow .25s; }
body[data-event="noel"] .button:hover { background: #1d6b48; color: #fff; box-shadow: 0 0 0 1px rgba(242, 193, 78, .55), 0 0 20px rgba(60, 200, 130, .35); }
body[data-event="noel"] .button--large { position: relative; overflow: hidden; }
body[data-event="noel"] .button--large::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at 18% 30%, #fff 0 1.4px, transparent 2px), radial-gradient(circle at 72% 22%, #fff 0 1.2px, transparent 1.8px), radial-gradient(circle at 46% 70%, #fff 0 1.4px, transparent 2px), radial-gradient(circle at 86% 64%, #fff 0 1px, transparent 1.6px), radial-gradient(120% 90% at 50% 120%, rgba(255, 230, 160, .3), transparent 60%); }
body[data-event="noel"] .button--large:hover::after { opacity: 1; animation: nl-paillettes 1.4s ease-in-out infinite alternate; }
@keyframes nl-paillettes { to { background-position: 0 6px, 0 -5px, 0 4px, 0 -6px, 0 0; } }
body[data-event="noel"] .button--subtle { box-shadow: inset 0 0 0 2px var(--accent); color: var(--ink); background: transparent; }
body[data-event="noel"] .button--subtle:hover { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 2px var(--accent), 0 0 18px rgba(212, 47, 67, .4); }
body[data-event="noel"] .button[disabled] { background: var(--grey); box-shadow: none; }
body[data-event="noel"] .tabs a[aria-current] { border-bottom-color: var(--accent); text-shadow: 0 0 12px rgba(242, 193, 78, .4); }
body[data-event="noel"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus-visible, body[data-event="noel"] select:focus-visible, body[data-event="noel"] textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; box-shadow: 0 0 0 4px rgba(212, 47, 67, .2); }
@media (prefers-reduced-motion: reduce) { body[data-event="noel"] .button--large:hover::after { animation: none; } }

/* les cadres de l'accueil : de la neige posée dessus, et des reflets rouge et or au lieu du violet */
body[data-event="noel"] .opening-card { --nl-cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='22' preserveAspectRatio='none'%3E%3Cpath d='M0 0H240V8C226 8 222 16 210 16S192 6 178 7 158 18 144 17 126 6 110 7 92 20 76 17 60 6 44 8 26 18 14 15 4 8 0 9Z' fill='%23f4f9ff'/%3E%3Cpath d='M0 9C4 8 8 13 14 15M76 17C84 18 92 14 98 10M178 7C186 6 192 12 200 14' stroke='%23c9dcef' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
body[data-event="noel"] .opening-card--cd { background: var(--nl-cap) 0 0 / 240px 18px repeat-x, linear-gradient(165deg, var(--case), color-mix(in srgb, var(--case) 84%, #d42f43 16%)); }
body[data-event="noel"] .opening-card--cd::before { background: radial-gradient(closest-side, color-mix(in srgb, #ff5a6a 20%, transparent), transparent); }
body[data-event="noel"] .opening-card--artist { background: var(--nl-cap) 0 0 / 240px 18px repeat-x, linear-gradient(165deg, var(--case), color-mix(in srgb, var(--case) 84%, #f2c14e 16%)); }
body[data-event="noel"] .opening-card:not(.opening-card--cd):not(.opening-card--artist) { background-image: var(--nl-cap); background-position: 0 0; background-size: 240px 18px; background-repeat: repeat-x; }
/* la pochette qui flotte devient un paquet cadeau (et les pochettes en réserve aussi) */
body[data-event="noel"] .mini-sleeve__face { background: linear-gradient(90deg, transparent 43%, #f2c14e 43% 57%, transparent 57%), linear-gradient(200deg, rgba(255, 255, 255, .28), transparent 45%), linear-gradient(165deg, #e2394c 0%, #b81f33 60%, #8f1526 100%); box-shadow: 0 16px 30px -10px rgba(212, 47, 67, .55); }
body[data-event="noel"] .mini-sleeve__face::after { content: ""; position: absolute; left: 50%; top: -14px; width: 46px; height: 26px; transform: translateX(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 26'%3E%3Cpath d='M23 20C16 4 2 2 4 12s14 10 19 8ZM23 20C30 4 44 2 42 12s-14 10-19 8Z' fill='%23f2c14e' stroke='%23b8862a' stroke-width='1.5'/%3E%3Ccircle cx='23' cy='19' r='4.5' fill='%23d8a43a'/%3E%3C/svg%3E") center / contain no-repeat; }
body[data-event="noel"] .stock__sleeves:not(.stock__sleeves--artist) li.is-full { background: linear-gradient(90deg, transparent 42%, #f2c14e 42% 58%, transparent 58%), linear-gradient(165deg, #e2394c, #9a1a2c); box-shadow: 0 3px 8px rgba(212, 47, 67, .35); }
body[data-event="noel"] .stock__sleeves:not(.stock__sleeves--artist) li.is-full:nth-child(even) { background: linear-gradient(90deg, transparent 42%, #f2c14e 42% 58%, transparent 58%), linear-gradient(165deg, #2b8a5c, #17573a); box-shadow: 0 3px 8px rgba(29, 107, 72, .35); }
body[data-event="noel"] .stock__sleeves:not(.stock__sleeves--artist) li.is-full::after { background: radial-gradient(circle, #fff6d6, #f2c14e 60%, #b8862a); }
body[data-event="noel"] .mini-sleeve__brand { text-shadow: 0 1px 3px rgba(90, 10, 20, .8); }
/* la salle d'écoute (le fond) : la nuit vire au bleu d'hiver */
body[data-event="noel"]:not([data-ambiance]) .room:not(.room--maison):not(.room--halloween) .room__image { filter: hue-rotate(-38deg) saturate(.9) brightness(.95); }

/* Le village (et la maison) en grand : la carte déborde de la colonne de la page, jusqu'à 1480 px */
.nl > .nl-village, .nl-maison > .nl-village { --nl-large: min(calc(100vw - 64px), 1480px); width: var(--nl-large); max-width: none; margin-left: calc((100% - var(--nl-large)) / 2); }
@media (max-width: 760px) { .nl > .nl-village, .nl-maison > .nl-village { --nl-large: 100%; } }

/* ---------- Le colis sans expéditeur, devant le bureau du Père Noël ---------- */
.nl-colis { position: absolute; inset: 0; width: 100%; height: 100%; animation: nl-colis 3.2s ease-in-out infinite; transform-origin: 50% 90%; pointer-events: none; }
@keyframes nl-colis { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-4deg); } 94% { transform: rotate(3deg); } }
.nl-colis { filter: drop-shadow(0 3px 4px rgba(10, 20, 40, .35)); }
/* une lueur dorée qui respire autour du colis, pour qu'on le remarque dans la neige */
.nl-colis__lueur { position: absolute; inset: -38% -30% -20%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 214, 120, .55), rgba(255, 190, 80, .18) 55%, transparent);
  animation: nl-colis-lueur 2.6s ease-in-out infinite; }
.nl-spot--colis.is-new .nl-colis__lueur { background: radial-gradient(closest-side, rgba(255, 220, 130, .8), rgba(255, 190, 80, .3) 55%, transparent); }
@keyframes nl-colis-lueur { 50% { opacity: .45; transform: scale(.9); } }
@media (prefers-reduced-motion: reduce) { .nl-colis, .nl-colis__lueur { animation: none; } }
.nl-help li::marker { color: var(--nl-or); }
.nl-collect--titre .nl-cosm:not(.is-secret) > strong { display: none; }
.nl-room__lead a { color: var(--nl-or); text-underline-offset: 2px; }

/* ---------- La bataille de boules de neige en scène : deux forts, un lancer, un impact ---------- */
.nl-bataille { position: relative; height: 190px; overflow: hidden; border-radius: 18px; isolation: isolate;
  background: radial-gradient(120% 70% at 50% 120%, #e9f3fd 0 34%, transparent 35%), radial-gradient(60% 80% at 80% 0%, rgba(140, 180, 255, .25), transparent 70%), linear-gradient(180deg, #0f2346, #24467c 70%, #3a5f97);
  box-shadow: inset 0 0 0 1px var(--nl-filet), inset 0 -18px 30px -18px rgba(255, 255, 255, .5); }
.nl-bataille::after { content: ""; position: absolute; inset: auto 0 0; height: 30px; z-index: 0; background: linear-gradient(180deg, #e3eefa, #f7fbff); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.nl-bataille__flocons { position: absolute; inset: -20% 0 0; z-index: 0; pointer-events: none; opacity: .8;
  background: radial-gradient(2px 2px at 20% 10%, #fff 50%, transparent 51%) 0 0 / 90px 90px, radial-gradient(1.5px 1.5px at 70% 60%, #fff 50%, transparent 51%) 0 0 / 70px 80px;
  animation: nl-flocons 9s linear infinite; }
.nl-fort { position: absolute; bottom: 12px; z-index: 2; width: 30%; max-width: 190px; height: 104px; }
.nl-fort--moi { left: 4%; }
.nl-fort--eux { right: 4%; }
.nl-fort__mur { position: absolute; inset: auto 0 0; width: 100%; height: 52px; filter: drop-shadow(0 4px 6px rgba(10, 30, 60, .35)); }
.nl-fort__nom { position: absolute; left: 50%; bottom: 8px; z-index: 3; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; background: var(--camp); color: #fff; font-size: .68rem; font-weight: 800; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.nl-fort__drapeau { position: absolute; bottom: 44px; width: 2px; height: 50px; background: #6b4a30; }
.nl-fort--moi .nl-fort__drapeau { left: 10%; }
.nl-fort--eux .nl-fort__drapeau { right: 10%; }
.nl-fort__drapeau i { position: absolute; top: 2px; left: 2px; width: 26px; height: 16px; background: var(--camp); clip-path: polygon(0 0, 100% 15%, 85% 50%, 100% 85%, 0 100%); transform-origin: 0 50%; animation: nl-drapeau 2.4s ease-in-out infinite; }
.nl-fort--eux .nl-fort__drapeau i { left: auto; right: 2px; transform-origin: 100% 50%; clip-path: polygon(100% 0, 0 15%, 15% 50%, 0 85%, 100% 100%); animation-delay: -1.2s; }
@keyframes nl-drapeau { 50% { transform: scaleX(.82) skewY(4deg); } }
.nl-combattant { position: absolute; bottom: 38px; z-index: 1; width: 50px; height: 54px; transition: transform .25s; }
.nl-combattant svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 4px rgba(10, 20, 40, .35)); }
.nl-lanceur { left: 38%; transform-origin: 50% 100%; }
.nl-cible { right: 34%; transform-origin: 50% 100%; animation: nl-guette 3.2s ease-in-out infinite; }
@keyframes nl-guette { 0%, 100% { transform: translateY(14px); } 30%, 70% { transform: translateY(0); } 50% { transform: translateY(0) rotate(-5deg); } }
.nl-combattant__nez { animation: nl-nez-rouge 1.6s ease-in-out infinite; }
@keyframes nl-nez-rouge { 50% { filter: drop-shadow(0 0 4px #ff4040); } }
/* la boule en vol : X en ligne droite, Y en cloche */
.nl-vol { position: absolute; z-index: 4; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; }
.nl-vol__y { position: absolute; }
.nl-vol__boule { display: block; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #d6e6f7 70%, #a9c4e2); box-shadow: 0 3px 6px rgba(10, 30, 60, .35); }
.nl-bataille.is-vol .nl-vol { opacity: 1; animation: nl-vol-x var(--duree, .7s) linear forwards; }
.nl-bataille.is-vol .nl-vol__y { animation: nl-vol-y var(--duree, .7s) cubic-bezier(.3, 0, .7, 1) forwards; }
.nl-bataille.is-vol .nl-vol__boule { animation: nl-vol-tourne var(--duree, .7s) linear forwards; }
@keyframes nl-vol-x { from { transform: translateX(var(--x0)); } to { transform: translateX(var(--x1)); } }
@keyframes nl-vol-y { 0% { transform: translateY(var(--y0)); } 50% { transform: translateY(var(--ym)); } 100% { transform: translateY(var(--y1)); } }
@keyframes nl-vol-tourne { from { transform: rotate(0) scale(1); } 50% { transform: rotate(240deg) scale(1.15); } to { transform: rotate(480deg) scale(.9); } }
.nl-bataille.is-elan .nl-lanceur { transform: rotate(-16deg) translateX(-3px); }
.nl-bataille.is-lance .nl-lanceur { transform: rotate(10deg) translateX(4px); transition-duration: .12s; }
/* l'impact : une gerbe de neige */
.nl-impact { position: absolute; z-index: 5; left: var(--ix, 70%); top: var(--iy, 50%); width: 0; height: 0; pointer-events: none; }
.nl-impact i { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; opacity: 0; box-shadow: 0 0 6px rgba(255, 255, 255, .8); }
.nl-bataille.is-impact .nl-impact i { animation: nl-gerbe .7s cubic-bezier(.2, .7, .3, 1) forwards; }
.nl-impact i:nth-child(1) { --a: 0deg; } .nl-impact i:nth-child(2) { --a: 36deg; } .nl-impact i:nth-child(3) { --a: 72deg; } .nl-impact i:nth-child(4) { --a: 108deg; } .nl-impact i:nth-child(5) { --a: 144deg; }
.nl-impact i:nth-child(6) { --a: 180deg; } .nl-impact i:nth-child(7) { --a: 216deg; } .nl-impact i:nth-child(8) { --a: 252deg; } .nl-impact i:nth-child(9) { --a: 288deg; } .nl-impact i:nth-child(10) { --a: 324deg; }
.nl-impact i:nth-child(odd) { width: 6px; height: 6px; }
@keyframes nl-gerbe { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(1.2); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--portee, 30px)) translateY(10px) scale(.4); } }
.nl-bataille[data-tir="tete"] .nl-impact { --portee: 42px; }
.nl-bataille[data-tir="rate"] .nl-impact { --portee: 18px; }
/* la réaction de la cible */
.nl-bataille.is-impact[data-tir="tete"] .nl-cible { animation: nl-assomme 2.4s ease-in-out forwards; }
.nl-bataille.is-impact[data-tir="tete"] .nl-cible::after { content: "✦ ✧ ✦"; position: absolute; left: 50%; top: -6px; transform: translateX(-50%); color: var(--nl-or); font-size: .7rem; letter-spacing: 2px; white-space: nowrap; animation: nl-etoiles-tete 1.4s linear .2s 1 both; }
@keyframes nl-etoiles-tete { 0% { opacity: 0; } 15%, 70% { opacity: 1; transform: translateX(-50%) rotate(10deg); } 100% { opacity: 0; transform: translateX(-50%) rotate(-10deg); } }
.nl-bataille.is-impact[data-tir="touche"] .nl-cible { animation: nl-secoue-cible .6s ease-out forwards; }
.nl-bataille.is-impact[data-tir="rate"] .nl-cible { animation: nl-esquive 1s ease-in-out forwards; }
@keyframes nl-assomme { 0% { transform: translateY(0); } 12% { transform: translateY(-5px) rotate(20deg); } 40%, 72% { transform: translateY(36px) rotate(42deg); } 100% { transform: translateY(0) rotate(0); } }
@keyframes nl-secoue-cible { 0%, 100% { transform: translateY(0); } 20% { transform: translateX(5px) rotate(8deg); } 40% { transform: translateX(-4px) rotate(-6deg); } 60% { transform: translateX(3px) rotate(3deg); } }
@keyframes nl-esquive { 0% { transform: translateY(0); } 25%, 60% { transform: translateY(30px); } 100% { transform: translateY(0) rotate(-6deg); } }
/* les points qui montent, et le résultat */
.nl-points { position: absolute; z-index: 6; left: var(--ix, 70%); top: var(--iy, 40%); transform: translate(-50%, -50%); opacity: 0; font: 800 1.5rem/1 var(--nl-serif); color: var(--nl-or); text-shadow: 0 2px 8px rgba(0, 0, 0, .5); pointer-events: none; }
.nl-bataille[data-tir="rate"] .nl-points { color: #dbe7f5; font-size: 1.1rem; }
.nl-bataille.is-impact .nl-points { animation: nl-points-monte 1.3s ease-out .1s forwards; }
@keyframes nl-points-monte { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.6); } 25% { opacity: 1; transform: translate(-50%, -80%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -200%) scale(1); } }
.nl-bataille__bulle { position: absolute; z-index: 7; left: 0; right: 0; top: 10px; width: fit-content; max-width: min(92%, 460px); margin: 0 auto; padding: 7px 14px; border-radius: 14px; background: rgba(8, 18, 40, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 20px rgba(0, 0, 0, .35); color: var(--nl-neige); font-size: .84rem; line-height: 1.4; text-align: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.nl-bataille__bulle--tete { box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .7), 0 8px 20px rgba(0, 0, 0, .35); }
.nl-bataille.is-pret .nl-bataille__bulle { opacity: 0; transform: translateY(-8px); }
.nl-bataille.is-dit .nl-bataille__bulle { opacity: 1; transform: none; transition: opacity .3s, transform .3s; }
.nl-bataille .nl-score__bar i { transition: width .9s cubic-bezier(.2, .8, .3, 1); }
.nl-bataille__deco { position: absolute; left: 50%; bottom: 14px; z-index: 1; width: 170px; height: 70px; transform: translateX(-50%); pointer-events: none; }
.nl-bataille__deco svg { display: block; width: 100%; height: 100%; }
@media (max-width: 520px) { .nl-bataille { height: 170px; } .nl-fort { width: 40%; } .nl-combattant { width: 42px; height: 46px; } .nl-bataille__deco { width: 110px; opacity: .8; } .nl-bataille__bulle { font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .nl-bataille__flocons, .nl-cible, .nl-fort__drapeau i, .nl-combattant__nez { animation: none; } }

/* ---------- Les forts de neige, jouables (.nt) ---------- */
.nt { height: auto; aspect-ratio: 16 / 9; max-height: 380px; width: 100%; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.nt::after { display: none; }
.nt[data-nt-live] { cursor: crosshair; }
.nt:focus-visible { box-shadow: inset 0 0 0 2px var(--nl-or), inset 0 0 0 1px var(--nl-filet); }
.nt-ciel { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .85;
  background: radial-gradient(2px 2px at 20% 10%, #fff 50%, transparent 51%) 0 0 / 90px 90px, radial-gradient(1.5px 1.5px at 70% 60%, #fff 50%, transparent 51%) 0 0 / 70px 80px, radial-gradient(1px 1px at 40% 30%, #fff 50%, transparent 51%) 0 0 / 50px 60px;
  animation: nl-flocons 9s linear infinite; }
.nt-fond { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.nt-fort { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 2; pointer-events: none; }
.nt-mur { position: absolute; left: 6%; right: 6%; top: 57%; height: 17%; width: 88%; z-index: 3; filter: drop-shadow(0 5px 6px rgba(10, 30, 60, .35)); }
.nt-poste { position: absolute; left: var(--x); bottom: 41%; width: 10%; height: 30%; transform: translateX(-50%); overflow: hidden; z-index: 2; }
.nt-perso { position: absolute; inset: 0; transform: translateY(105%); transition: transform .18s cubic-bezier(.3, .8, .4, 1); }
.nt-perso.is-up { transform: translateY(8%); }
.nt-perso__svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 4px rgba(10, 20, 40, .35)); }
.nt-perso.is-ko.is-tete { animation: nt-ko .6s ease-out forwards; }
.nt-perso.is-ko.is-corps { animation: nt-touche .45s ease-out forwards; }
.nt-perso--ami.is-ko { animation: nt-touche .45s ease-out forwards; }
.nt-perso.is-ko::after { content: "✦ ✧ ✦"; position: absolute; left: 50%; top: 2%; transform: translateX(-50%); color: var(--nl-or); font-size: .8rem; letter-spacing: 2px; white-space: nowrap; }
.nt-perso--ami.is-ko::after { content: "!!"; color: #ff8a8a; font-weight: 900; }
@keyframes nt-ko { 0% { transform: translateY(8%) rotate(0); } 30% { transform: translateY(6%) rotate(-14deg); } 60% { transform: translateY(10%) rotate(10deg); } 100% { transform: translateY(14%) rotate(-4deg); } }
@keyframes nt-touche { 0%, 100% { transform: translateY(8%); } 25% { transform: translateY(8%) translateX(-6%); } 50% { transform: translateY(8%) translateX(6%); } 75% { transform: translateY(8%) translateX(-3%); } }
.nt-drapeau { position: absolute; left: 87%; top: 34%; width: 2px; height: 24%; background: #6b4a30; z-index: 3; }
.nt-drapeau i { position: absolute; top: 2px; left: 2px; width: 26px; height: 16px; background: var(--eux); clip-path: polygon(0 0, 100% 15%, 85% 50%, 100% 85%, 0 100%); transform-origin: 0 50%; animation: nl-drapeau 2.4s ease-in-out infinite; }
.nt-nom { position: absolute; left: 50%; top: 68%; z-index: 4; transform: translateX(-50%); padding: 1px 10px; border-radius: 999px; background: var(--eux); color: #fff; font-size: .7rem; font-weight: 800; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.nt-avant { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; width: 100%; height: 22%; pointer-events: none; }
.nt-main { position: absolute; left: 50%; bottom: 2%; z-index: 6; width: 9%; min-width: 46px; transform: translateX(-50%); pointer-events: none; transition: transform .15s; }
.nt-main svg { display: block; width: 100%; }
.nt-main__boule { position: absolute; left: 50%; top: -38%; width: 52%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #d6e6f7 70%, #a9c4e2); box-shadow: 0 3px 6px rgba(10, 30, 60, .35); }
.nt.is-lance .nt-main { transform: translateX(-50%) translateY(-18%) rotate(-8deg); }
.nt.is-lance .nt-main__boule { opacity: 0; }
.nt:not([data-nt-live]) .nt-main__boule { opacity: .25; }
.nt-boule { position: absolute; left: 0; top: 0; z-index: 7; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; opacity: 0; pointer-events: none; background: radial-gradient(circle at 35% 30%, #fff, #d6e6f7 70%, #a9c4e2); box-shadow: 0 3px 6px rgba(10, 30, 60, .35); }
.nt-viseur { position: absolute; left: 0; top: 0; z-index: 8; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; opacity: 0; pointer-events: none; box-shadow: 0 0 0 1px rgba(10, 30, 60, .4); }
.nt-viseur::before, .nt-viseur::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255, 255, 255, .85); }
.nt-viseur::before { width: 2px; height: 8px; margin: -4px 0 0 -1px; }
.nt-viseur::after { width: 8px; height: 2px; margin: -1px 0 0 -4px; }
.nt[data-nt-live].is-vise .nt-viseur { opacity: 1; }
.nt-fx { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.nt-splat { position: absolute; width: 0; height: 0; }
.nt-splat i { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .8); animation: nl-gerbe .7s cubic-bezier(.2, .7, .3, 1) forwards; }
.nt-splat i:nth-child(1) { --a: 0deg; } .nt-splat i:nth-child(2) { --a: 45deg; } .nt-splat i:nth-child(3) { --a: 90deg; } .nt-splat i:nth-child(4) { --a: 135deg; }
.nt-splat i:nth-child(5) { --a: 180deg; } .nt-splat i:nth-child(6) { --a: 225deg; } .nt-splat i:nth-child(7) { --a: 270deg; } .nt-splat i:nth-child(8) { --a: 315deg; }
.nt-splat.is-tete { --portee: 44px; } .nt-splat.is-corps { --portee: 30px; } .nt-splat.is-rate, .nt-splat.is-ami { --portee: 16px; }
.nt-pts { position: absolute; transform: translate(-50%, -50%); font: 800 1.6rem/1 var(--nl-serif); color: var(--nl-or); text-shadow: 0 2px 8px rgba(0, 0, 0, .55); white-space: nowrap; animation: nl-points-monte 1.4s ease-out forwards; }
.nt-pts.is-rate { color: #dbe7f5; font-size: 1.1rem; }
.nt-pts.is-ami { color: #ff9a9a; font-size: 1.1rem; }
.nt.is-secoue { animation: nt-secoue .35s ease-out; }
@keyframes nt-secoue { 0%, 100% { transform: none; } 25% { transform: translate(-3px, 2px); } 50% { transform: translate(3px, -2px); } 75% { transform: translate(-2px, 1px); } }
.nt-consigne { position: absolute; left: 2%; bottom: 3%; z-index: 9; margin: 0; width: fit-content; max-width: 38%; padding: 4px 10px; border-radius: 10px; background: rgba(8, 18, 40, .55); color: var(--nl-neige); font-size: .72rem; line-height: 1.35; text-align: left; pointer-events: none; }
.nt .nl-bataille__bulle { z-index: 10; }
.nt-js .nl-throw__btn { display: none; }
@media (max-width: 560px) { .nt { aspect-ratio: 4 / 3; } .nt-poste { width: 13%; height: 27%; } .nt-consigne { max-width: 92%; transform: none; bottom: auto; top: 3%; font-size: .68rem; } .nt .nl-bataille__bulle { top: auto; bottom: 22%; } .nt-nom { font-size: .62rem; } }
@media (prefers-reduced-motion: reduce) { .nt-ciel, .nt-drapeau i { animation: none; } .nt-perso { transition: none; } }
