/*!
 * Avento – Calendrier de l'Avent Premium
 */

/* Polices embarquées (pas d'appel externe) */
@font-face { font-family: "LSH Cormorant"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "LSH Cormorant"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "LSH Cormorant"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "LSH Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "LSH Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "LSH Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "LSH Jost"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jost-latin-700-normal.woff2") format("woff2"); }

/* ------------------------------------------------------------------ *
 * Variables
 * ------------------------------------------------------------------ */
.lsh-avent,
.lsh-layer {
  --lsh-primary: #5e1a33;
  --lsh-accent: #c9a24a;
  --lsh-primary-2: color-mix(in srgb, var(--lsh-primary) 78%, #e06a8f);
  --lsh-night: color-mix(in srgb, var(--lsh-primary) 45%, #0d0306);
  --lsh-gold-light: color-mix(in srgb, var(--lsh-accent) 45%, #fff8e6);
  --lsh-cream: #fbf5ec;
  --lsh-blush: #f2d6cf;
  --lsh-sage: #dde5d6;
  --lsh-ink: #2b1a20;
  --lsh-muted: #5f4a52;
  --lsh-serif: "LSH Cormorant", "Cormorant Garamond", "Playfair Display", "Didot", Georgia, "Times New Roman", serif;
  --lsh-sans: "LSH Jost", "Jost", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lsh-radius: 16px;
  --lsh-ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* Réinitialisation des styles hérités du thème */
.lsh-avent, .lsh-avent *, .lsh-layer, .lsh-layer * { box-sizing: border-box; }
.lsh-avent button, .lsh-layer button {
  appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: none; box-shadow: none; color: inherit; font: inherit; letter-spacing: inherit;
  text-transform: none; line-height: inherit; min-height: 0; min-width: 0; width: auto; height: auto; cursor: pointer;
}
.lsh-avent :where(svg), .lsh-layer :where(svg) { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }
.lsh-avent :where(h2, h3, p), .lsh-layer :where(h3, p) { margin: 0; padding: 0; border: 0; }

/* ------------------------------------------------------------------ *
 * Conteneur
 * ------------------------------------------------------------------ */
.lsh-avent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--lsh-cream);
  font-family: var(--lsh-sans);
  font-size: 16px;
  line-height: 1.5;
  border-radius: 28px;
  padding: clamp(64px, 7vw, 92px) clamp(14px, 3.5vw, 56px) clamp(90px, 9vw, 130px);
  background:
    radial-gradient(900px 480px at 50% -8%, color-mix(in srgb, var(--lsh-primary-2) 80%, transparent), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, color-mix(in srgb, var(--lsh-accent) 14%, transparent), transparent 70%),
    linear-gradient(180deg, var(--lsh-primary) 0%, var(--lsh-night) 100%);
  margin: 0 auto;
  max-width: 1180px;
  container-type: inline-size;
}
.lsh-avent--full {
  max-width: none; border-radius: 0;
  width: 100vw; margin-left: calc(50% - 50vw); /* repli avant JavaScript */
  padding-top: clamp(64px, 7vw, 92px);
  padding-bottom: clamp(90px, 9vw, 130px);
}
.lsh-avent::before { /* motif discret */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.lsh-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.lsh-loading { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 320px; color: var(--lsh-gold-light); font-family: var(--lsh-serif); font-size: 22px; }
.lsh-loading__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--lsh-accent); animation: lsh-pulse 1s ease-in-out infinite; }
.lsh-error { text-align: center; padding: 60px 10px; display: grid; gap: 16px; justify-items: center; }

/* ------------------------------------------------------------------ *
 * En-tête
 * ------------------------------------------------------------------ */
.lsh-hero { text-align: center; max-width: 1100px; margin: 0 auto clamp(22px, 4vw, 36px); }
.lsh-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--lsh-gold-light); text-transform: uppercase; letter-spacing: .24em; font-size: clamp(13px, 1.3vw, 16px); font-weight: 600;
  animation: lsh-fade-up .8s both;
}
.lsh-eyebrow svg { color: var(--lsh-accent); font-size: 11px; animation: lsh-twinkle 2.4s ease-in-out infinite; }
.lsh-eyebrow svg:last-child { animation-delay: 1.2s; }
.lsh-avent .lsh-title {
  font-family: var(--lsh-serif); font-weight: 600; font-size: clamp(42px, 7.4vw, 92px); line-height: 1.02;
  margin: 10px 0 12px; color: var(--lsh-cream);
  background: linear-gradient(100deg, var(--lsh-cream) 20%, var(--lsh-gold-light) 45%, #fff 50%, var(--lsh-gold-light) 55%, var(--lsh-cream) 80%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: lsh-fade-up .8s .1s both, lsh-shimmer-text 6s 1s linear infinite;
}
.lsh-subtitle { color: color-mix(in srgb, var(--lsh-cream) 94%, transparent); font-size: clamp(18px, 2.3vw, 24px); line-height: 1.45; animation: lsh-fade-up .8s .2s both; }
.lsh-status {
  display: inline-block; margin-top: 22px; padding: 10px 24px; border-radius: 999px; font-size: clamp(15.5px, 1.6vw, 18px); font-weight: 500;
  background: color-mix(in srgb, #fff 8%, transparent); border: 1px solid color-mix(in srgb, var(--lsh-accent) 40%, transparent);
  animation: lsh-fade-up .8s .3s both;
}
.lsh-status strong { color: var(--lsh-gold-light); font-weight: 600; }
.lsh-testdate { margin-top: 10px; font-size: 14px; color: #ffe08a; }

/* ------------------------------------------------------------------ *
 * Bannière du grand tirage au sort
 * ------------------------------------------------------------------ */
.lsh-draw {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 32px); align-items: center;
  padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 32px);
  margin: 0 0 clamp(24px, 4vw, 40px);
  border-radius: 22px;
  color: var(--lsh-ink);
  background: linear-gradient(120deg, #fff9ec 0%, var(--lsh-gold-light) 55%, color-mix(in srgb, var(--lsh-accent) 70%, #fff) 100%);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.6);
  animation: lsh-fade-up .8s .35s both;
}
.lsh-draw::after { /* bordure pointillée façon ticket */
  content: ""; position: absolute; inset: 7px; border-radius: 16px; pointer-events: none;
  border: 1.5px dashed color-mix(in srgb, var(--lsh-primary) 30%, transparent);
}
.lsh-draw__shine {
  position: absolute; inset: -50% auto -50% -30%; width: 30%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  transform: rotate(18deg); animation: lsh-sweep 5s 1.5s ease-in-out infinite;
}
.lsh-prize { position: relative; width: clamp(84px, 11vw, 120px); aspect-ratio: 1; display: grid; place-items: center; }
.lsh-prize img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); animation: lsh-float 4s ease-in-out infinite; }
.lsh-prize__gift {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--lsh-primary-2), var(--lsh-primary) 70%);
  color: var(--lsh-gold-light); font-size: clamp(40px, 5vw, 56px);
  box-shadow: 0 12px 28px -12px var(--lsh-primary), inset 0 0 0 3px color-mix(in srgb, var(--lsh-accent) 60%, transparent);
  animation: lsh-float 4s ease-in-out infinite;
}
.lsh-prize__spark { position: absolute; color: var(--lsh-primary); animation: lsh-twinkle 2s ease-in-out infinite; }
.lsh-prize__spark.s1 { top: -2px; right: 2px; font-size: 18px; }
.lsh-prize__spark.s2 { bottom: 8px; left: -6px; font-size: 13px; animation-delay: .7s; }
.lsh-prize__spark.s3 { top: 40%; right: -10px; font-size: 10px; animation-delay: 1.3s; }

.lsh-draw__eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: clamp(12.5px, 1.2vw, 14.5px); font-weight: 700; color: var(--lsh-primary); }
.lsh-avent .lsh-draw__title { font-family: var(--lsh-serif); font-size: clamp(28px, 3.8vw, 46px); font-weight: 700; line-height: 1.1; margin: 6px 0 8px; color: var(--lsh-primary); }
.lsh-draw__desc { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.45; color: color-mix(in srgb, var(--lsh-ink) 92%, transparent); }
.lsh-draw__how { font-size: clamp(15.5px, 1.4vw, 17.5px); margin-top: 8px; color: var(--lsh-ink); }

.lsh-countdown { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.lsh-cd {
  display: grid; justify-items: center; min-width: 66px; padding: 8px 10px 6px; border-radius: 12px;
  background: var(--lsh-primary); color: var(--lsh-cream); box-shadow: 0 6px 14px -8px var(--lsh-primary);
}
.lsh-cd b { font-family: var(--lsh-serif); font-size: 32px; line-height: 1; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; color: var(--lsh-gold-light); }
.lsh-cd b.is-tick { animation: lsh-tick .4s ease-out; }
.lsh-cd i { font-style: normal; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.lsh-cd-live { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--lsh-primary); animation: lsh-pulse 1.6s ease-in-out infinite; }

.lsh-progress { position: relative; width: clamp(140px, 16vw, 180px); display: grid; justify-items: center; text-align: center; }
.lsh-avent .lsh-ring { width: 100%; height: auto; transform: rotate(-90deg); overflow: visible; }
.lsh-ring__bg { fill: none; stroke: color-mix(in srgb, var(--lsh-primary) 14%, transparent); stroke-width: 10; }
.lsh-ring__fg { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.4, 1.4, .5, 1); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--lsh-accent) 60%, transparent)); }
.lsh-draw .lsh-ring__fg { stroke: var(--lsh-primary); }
.lsh-draw.is-eligible .lsh-ring__fg { stroke: url(#lsh-ring-grad); }
.lsh-progress__val { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1; display: grid; place-content: center; line-height: 1; color: var(--lsh-primary); }
.lsh-progress__val b { font-variant-numeric: lining-nums; font-family: var(--lsh-serif); font-size: clamp(40px, 4.6vw, 56px); font-weight: 700; }
.lsh-progress__val span { font-size: 15px; font-weight: 600; opacity: .8; margin-top: 2px; }
.lsh-progress__label { font-size: clamp(14.5px, 1.3vw, 16.5px); line-height: 1.4; margin-top: 10px; color: var(--lsh-ink); max-width: 220px; }
.lsh-progress__label strong { color: var(--lsh-primary); }
.lsh-ok { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--lsh-primary); color: var(--lsh-gold-light); font-weight: 600; position: relative; overflow: hidden; }
.lsh-ok::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size: 250% 100%; animation: lsh-shimmer-text 2.6s linear infinite; }

.lsh-draw.is-eligible { box-shadow: 0 20px 60px -18px color-mix(in srgb, var(--lsh-accent) 80%, transparent), inset 0 0 0 2px #fff; }
.lsh-draw.is-eligible .lsh-prize__gift { animation: lsh-float 4s ease-in-out infinite, lsh-glow-ring 2.4s ease-in-out infinite; }
.lsh-draw.is-celebrate { animation: lsh-celebrate .9s var(--lsh-ease-back); }
.lsh-draw.is-winner { background: linear-gradient(120deg, #fff5d8, #f3d98c 50%, #e6b94e); }

/* ------------------------------------------------------------------ *
 * Grille des cases
 * ------------------------------------------------------------------ */
.lsh-grid {
  --cols: 6; --gap: clamp(14px, 2vw, 28px); --ratio: 1.22; --maxw: 1240px;
  display: grid;
  max-width: var(--maxw); margin: 0 auto;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-rows: calc((min(100cqw, var(--maxw)) - (var(--cols) - 1) * var(--gap)) / var(--cols) * var(--ratio));
  grid-auto-flow: dense;
  gap: var(--gap);
}
@container (max-width: 699px) { .lsh-grid { --cols: 4; --ratio: 1.15; } }
@container (max-width: 479px) { .lsh-grid { --cols: 3; --ratio: 1.2; --gap: 12px; } }
.lsh-draw, .lsh-hero, .lsh-foot { position: relative; z-index: 1; }
.lsh-draw { max-width: 1240px; margin-left: auto; margin-right: auto; }
.lsh-tile--w { grid-column: span 2; }
.lsh-tile--t { grid-row: span 2; }
.lsh-tile--xl { grid-column: span 2; grid-row: span 2; }

.lsh-avent .lsh-tile {
  position: relative; display: block; width: 100%; height: 100%;
  perspective: 1100px; border-radius: var(--lsh-radius);
  animation: lsh-tile-in .7s calc(.45s + var(--i) * 45ms) var(--lsh-ease-back) both;
  -webkit-tap-highlight-color: transparent;
}
.lsh-no-intro .lsh-tile, .lsh-no-intro .lsh-hero *, .lsh-no-intro .lsh-draw { animation-delay: 0s !important; animation-duration: 0s !important; }
.lsh-no-intro .lsh-title { animation: lsh-shimmer-text 6s linear infinite !important; }
.lsh-tile:focus-visible { outline: 3px solid var(--lsh-gold-light); outline-offset: 4px; }

/* Intérieur (révélé à l'ouverture) */
.lsh-inside {
  position: absolute; inset: 0; border-radius: var(--lsh-radius); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px;
  background: radial-gradient(circle at 50% 38%, #fffaf0 0%, var(--lsh-gold-light) 55%, color-mix(in srgb, var(--lsh-accent) 85%, #6b4a10) 100%);
  box-shadow: inset 0 6px 22px rgba(60, 20, 30, .45);
  color: var(--lsh-primary);
}
.lsh-inside__icon { font-size: clamp(30px, 4vw, 54px); display: grid; filter: drop-shadow(0 2px 4px rgba(255,255,255,.6)); }
.lsh-tile--xl .lsh-inside__icon { font-size: clamp(56px, 8vw, 96px); }
.lsh-inside__label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; text-align: center; line-height: 1.2; }
.lsh-inside__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, #fff 0%, rgba(255,247,220,.9) 25%, transparent 65%); }
.lsh-tile.is-opened .lsh-inside__icon, .lsh-tile.is-opened .lsh-inside__label { animation: lsh-pop .6s .35s var(--lsh-ease-back) both; }
.lsh-tile.is-burst .lsh-inside__glow { animation: lsh-burst 1.1s ease-out; }

/* Porte */
.lsh-door {
  position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d;
  transition: transform 1.15s cubic-bezier(.3, 1.35, .45, 1);
  will-change: transform;
}
.lsh-door__front, .lsh-door__back {
  position: absolute; inset: 0; border-radius: var(--lsh-radius); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.lsh-door__front {
  display: grid; place-items: center; overflow: hidden;
  background: var(--door-bg); color: var(--door-ink);
  box-shadow: 0 12px 26px -14px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.12);
}
.lsh-door__front::before { /* filet doré intérieur */
  content: ""; position: absolute; inset: 7px; border-radius: calc(var(--lsh-radius) - 6px); pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--lsh-accent) 65%, transparent);
}
.lsh-door__front::after { /* motif et reflet */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.22) 0%, transparent 40%),
    radial-gradient(circle at 1px 1px, var(--door-dot) 1px, transparent 1.4px) 0 0 / 12px 12px;
}
.lsh-door__back {
  transform: rotateY(180deg);
  background: repeating-linear-gradient(45deg, #ead6a6 0 7px, #e0c78d 7px 14px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.lsh-num {
  position: relative; z-index: 1; font-family: var(--lsh-serif); font-weight: 500; line-height: 1;
  font-size: clamp(34px, 5vw, 68px); letter-spacing: -.01em;
  text-shadow: 0 1px 0 rgba(255,255,255,.25), 0 2px 10px rgba(0,0,0,.12);
}
.lsh-tile--xl .lsh-num, .lsh-tile--t .lsh-num { font-size: clamp(44px, 7vw, 92px); }
.lsh-knob {
  position: absolute; right: 12px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 35% 35%, #fff6d6, var(--lsh-accent) 60%, #7a5a12);
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.lsh-ribbon { position: absolute; inset: 0; pointer-events: none; }
.lsh-ribbon::before, .lsh-ribbon::after { content: ""; position: absolute; background: linear-gradient(90deg, color-mix(in srgb, var(--lsh-accent) 85%, #fff), var(--lsh-accent)); opacity: .9; }
.lsh-ribbon::before { top: 0; bottom: 0; left: 50%; width: 10px; margin-left: -5px; }
.lsh-ribbon::after { left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; }
.lsh-ribbon ~ .lsh-knob { display: none; }
.lsh-tile .lsh-ribbon + .lsh-knob { display: none; }
.lsh-tile:has(.lsh-ribbon) .lsh-num {
  background: var(--door-bg-solid); padding: 6px 10px; border-radius: 12px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--lsh-accent) 70%, transparent);
}

/* Couleurs des portes */
.lsh-c0 { --door-bg: linear-gradient(150deg, var(--lsh-primary-2), var(--lsh-primary) 70%); --door-bg-solid: var(--lsh-primary); --door-ink: var(--lsh-gold-light); --door-dot: rgba(255,255,255,.12); }
.lsh-c1 { --door-bg: linear-gradient(150deg, #f8e6e0, #ebc4bb); --door-bg-solid: #f3d6ce; --door-ink: var(--lsh-primary); --door-dot: rgba(94,26,51,.10); }
.lsh-c2 { --door-bg: linear-gradient(150deg, #fdf6e7, #efdcb8); --door-bg-solid: #f7ebd2; --door-ink: var(--lsh-primary); --door-dot: rgba(150,110,30,.14); }
.lsh-c4 { --door-bg: linear-gradient(150deg, #e0485f, #b51d36 55%, #8c1028); --door-bg-solid: #b51d36; --door-ink: #fff3d6; --door-dot: rgba(255,255,255,.14); }
.lsh-c5 { --door-bg: linear-gradient(150deg, #2f7a57, #1d5a3f 55%, #123d2a); --door-bg-solid: #1d5a3f; --door-ink: var(--lsh-gold-light); --door-dot: rgba(255,255,255,.12); }
.lsh-c3 { --door-bg: linear-gradient(150deg, #e9eee3, #c9d5c1); --door-bg-solid: #dce4d5; --door-ink: #35452f; --door-dot: rgba(53,69,47,.12); }

/* Case 24 : grand tirage */
.lsh-tile--draw { --door-bg: linear-gradient(145deg, #fff3cf 0%, var(--lsh-gold-light) 35%, var(--lsh-accent) 75%, #9c7826 100%); --door-ink: var(--lsh-primary); --door-dot: rgba(255,255,255,.25); }
.lsh-draw-door { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center; }
.lsh-draw-door .lsh-num { font-size: clamp(60px, 10vw, 140px); font-weight: 600; }
.lsh-draw-door__star { font-size: clamp(28px, 4vw, 52px); color: var(--lsh-primary); animation: lsh-spin-twinkle 3.5s ease-in-out infinite; }
.lsh-draw-door__label { font-size: clamp(11px, 1.3vw, 15px); text-transform: uppercase; letter-spacing: .18em; font-weight: 600; line-height: 1.35; }
.lsh-tile--draw .lsh-door__front { box-shadow: 0 16px 40px -14px color-mix(in srgb, var(--lsh-accent) 90%, transparent), inset 0 0 0 1px rgba(255,255,255,.6); }
.lsh-tile--draw .lsh-door__front::after {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%) -200% 0 / 250% 100% no-repeat,
    radial-gradient(circle at 1px 1px, var(--door-dot) 1px, transparent 1.4px) 0 0 / 12px 12px;
  animation: lsh-door-sheen 4.5s 2s ease-in-out infinite;
}

/* États */
.lsh-tile.is-today { z-index: 2; }
.lsh-tile.is-today .lsh-door__front { animation: lsh-glow 2.2s ease-in-out infinite; }
.lsh-tile.is-today .lsh-door { animation: lsh-wiggle 4.5s 1.8s ease-in-out infinite; }
.lsh-tile.is-today:hover .lsh-door { animation: none; transform: rotateY(-14deg); transition-duration: .5s; }

.lsh-badge {
  position: absolute; top: -10px; left: 50%; z-index: 3; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(90deg, var(--lsh-gold-light), var(--lsh-accent)); color: var(--lsh-primary);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.6);
  animation: lsh-badge-bounce 2.2s ease-in-out infinite;
}
.lsh-badge.is-leaving { animation: lsh-badge-out .4s ease-in forwards; }

.lsh-tile.is-unlocking .lsh-door { animation: lsh-unlock .45s ease-in-out; }
.lsh-tile.is-unlocking .lsh-knob { animation: lsh-knob-turn .45s ease-in-out; }

.lsh-tile.is-opened { z-index: 1; }
.lsh-tile.is-opened .lsh-door { transform: rotateY(-80deg); }
.lsh-tile.is-opened .lsh-door__front { box-shadow: 0 0 0 rgba(0,0,0,0); }
.lsh-tile.is-opened:hover .lsh-door { transform: rotateY(-70deg); transition-duration: .5s; }

.lsh-tile.is-locked .lsh-lock {
  position: absolute; z-index: 2; top: 10px; right: 10px; font-size: 14px; opacity: 0; transform: translateY(-4px);
  transition: opacity .25s, transform .25s; color: currentColor;
}
.lsh-tile.is-locked:hover .lsh-lock, .lsh-tile.is-locked:focus-visible .lsh-lock { opacity: .7; transform: none; }
.lsh-tile.is-locked:hover .lsh-door { transform: rotateY(-5deg); transition-duration: .4s; }

.lsh-tile.is-missed .lsh-door__front { filter: saturate(.6) brightness(.88); }
.lsh-stamp {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  padding: 3px 10px; border: 2px solid currentColor; border-radius: 6px; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85;
}
.lsh-tile.is-missed .lsh-num { opacity: .9; }

.lsh-tile.is-shaking { animation: lsh-shake .5s ease-in-out !important; }

/* ------------------------------------------------------------------ *
 * Pied
 * ------------------------------------------------------------------ */
.lsh-foot {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; align-items: center; text-align: center;
  margin-top: clamp(28px, 4vw, 44px); font-size: clamp(15px, 1.4vw, 17px); color: color-mix(in srgb, var(--lsh-cream) 92%, transparent);
}
.lsh-foot a { color: var(--lsh-gold-light); text-decoration: underline; text-underline-offset: 3px; }
.lsh-foot__who { display: inline-flex; gap: 6px; align-items: center; }
.lsh-foot__who svg { color: var(--lsh-accent); }

/* ------------------------------------------------------------------ *
 * Couche des fenêtres (ajoutée au <body>)
 * ------------------------------------------------------------------ */
html.lsh-noscroll { overflow: hidden; }
.lsh-layer { position: fixed; inset: 0; z-index: 999999; pointer-events: none; font-family: var(--lsh-sans); color: var(--lsh-ink); line-height: 1.55; font-size: 16px; }
.lsh-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

.lsh-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; pointer-events: auto; z-index: 2; }
.lsh-modal__backdrop {
  position: absolute; inset: 0; background: color-mix(in srgb, var(--lsh-night) 72%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: lsh-fade .35s both;
}
.lsh-card {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--lsh-cream); border-radius: 26px; outline: none;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.4);
  animation: lsh-card-in .75s cubic-bezier(.2, 1.15, .35, 1) both;
  overscroll-behavior: contain;
}
.lsh-modal.is-fresh .lsh-card { animation-delay: .1s; }
.lsh-modal.is-closing .lsh-card { animation: lsh-card-out .28s ease-in both; }
.lsh-modal.is-closing .lsh-modal__backdrop { animation: lsh-fade .28s reverse both; }

.lsh-layer .lsh-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; color: var(--lsh-primary);
  background: rgba(255,255,255,.85); box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); transition: transform .2s;
}
.lsh-layer .lsh-close:hover { transform: rotate(90deg); }

.lsh-card__media {
  position: relative; height: 190px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 110%, color-mix(in srgb, var(--lsh-accent) 60%, transparent), transparent 60%),
    linear-gradient(160deg, var(--lsh-primary-2), var(--lsh-primary) 60%, var(--lsh-night));
  color: var(--lsh-gold-light);
}
.lsh-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: lsh-zoom-out 1.4s ease-out both; }
.lsh-card__media.is-draw { background: linear-gradient(145deg, #fff3cf, var(--lsh-gold-light) 35%, var(--lsh-accent) 80%); color: var(--lsh-primary); }
.lsh-card__icon { font-size: 76px; display: grid; animation: lsh-icon-in .9s .3s var(--lsh-ease-back) both, lsh-float 4s 1.2s ease-in-out infinite; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.lsh-card__spark { position: absolute; color: var(--lsh-gold-light); font-size: 14px; opacity: 0; animation: lsh-twinkle 2.2s calc(.6s + var(--k) * .3s) ease-in-out infinite; }
.lsh-card__spark:nth-of-type(1) { top: 22%; left: 18%; }
.lsh-card__spark:nth-of-type(2) { top: 60%; left: 12%; font-size: 10px; }
.lsh-card__spark:nth-of-type(3) { top: 18%; right: 22%; font-size: 18px; }
.lsh-card__spark:nth-of-type(4) { top: 65%; right: 14%; }
.lsh-card__spark:nth-of-type(5) { top: 40%; left: 30%; font-size: 8px; }
.lsh-card__spark:nth-of-type(6) { top: 35%; right: 32%; font-size: 9px; }
.lsh-card__date {
  position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.9); color: var(--lsh-primary); font-size: 13px; letter-spacing: .04em;
  animation: lsh-fade-up .5s .45s both;
}
.lsh-card__date b { font-family: var(--lsh-serif); font-size: 18px; margin-right: 2px; }

.lsh-card__body { padding: 22px clamp(20px, 4vw, 32px) 28px; display: grid; gap: 14px; }
.lsh-card__body > * { animation: lsh-fade-up .55s calc(.4s + var(--d, 0) * 80ms) both; }
.lsh-chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--lsh-primary) 9%, transparent); color: var(--lsh-primary);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.lsh-layer .lsh-card__title { font-family: var(--lsh-serif); font-weight: 600; font-size: clamp(25px, 4vw, 32px); line-height: 1.12; color: var(--lsh-primary); padding-right: 30px; }
.lsh-card__content { color: #4a353c; font-size: 15.5px; }
.lsh-card__content p { margin: 0 0 .7em; }
.lsh-card__content p:last-child { margin-bottom: 0; }
.lsh-card__content ul, .lsh-card__content ol { margin: .4em 0 .7em; padding-left: 1.3em; }
.lsh-card__content li { margin: .3em 0; }
.lsh-card__content li::marker { color: var(--lsh-accent); font-weight: 700; }
.lsh-card__content strong { color: var(--lsh-primary); }
.lsh-card__content a { color: var(--lsh-primary); }
.lsh-card__video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.lsh-card__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lsh-card__draw {
  display: block; padding: 12px 14px; border-radius: 14px; font-size: 14px;
  background: linear-gradient(120deg, #fff8e8, color-mix(in srgb, var(--lsh-accent) 25%, #fff));
  border: 1px solid color-mix(in srgb, var(--lsh-accent) 45%, transparent);
}
.lsh-card__draw svg { color: var(--lsh-primary); margin-right: 4px; }
.lsh-card__draw strong { color: var(--lsh-primary); }

/* Code promo façon ticket */
.lsh-coupon {
  position: relative; padding: 16px 18px; border-radius: 16px; text-align: center;
  background: #fff; border: 2px dashed var(--lsh-accent);
  box-shadow: 0 10px 24px -16px var(--lsh-primary);
}
.lsh-coupon::before, .lsh-coupon::after {
  content: ""; position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--lsh-cream);
}
.lsh-coupon::before { left: -12px; }
.lsh-coupon::after { right: -12px; }
.lsh-coupon__label { font-variant-numeric: lining-nums; display: block; font-family: var(--lsh-serif); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--lsh-primary); }
.lsh-coupon__row { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.lsh-coupon__code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 20px; font-weight: 700; letter-spacing: .12em;
  padding: 8px 14px; border-radius: 10px; background: color-mix(in srgb, var(--lsh-accent) 16%, #fff); color: var(--lsh-ink);
  min-width: 10ch; min-height: 1.4em;
}
.lsh-coupon__code.is-revealed { animation: lsh-code-flash .7s ease-out; }
.lsh-layer .lsh-coupon__copy {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px;
  background: var(--lsh-primary); color: var(--lsh-cream); font-size: 14px; font-weight: 600; transition: transform .2s, background .2s;
}
.lsh-layer .lsh-coupon__copy:hover { transform: translateY(-1px); }
.lsh-layer .lsh-coupon__copy.is-copied { background: #2f7d4a; }
.lsh-coupon__exp { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--lsh-muted); }
.lsh-coupon__note { font-size: 12.5px; color: var(--lsh-muted); margin-top: 4px; }
.lsh-coupon.is-expired { opacity: .6; }
.lsh-coupon.is-expired .lsh-coupon__code { text-decoration: line-through; }

/* Boutons */
.lsh-avent .lsh-btn, .lsh-layer .lsh-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .02em;
  background: linear-gradient(120deg, var(--lsh-primary-2), var(--lsh-primary)); color: var(--lsh-cream);
  box-shadow: 0 12px 24px -12px var(--lsh-primary); transition: transform .2s, box-shadow .2s;
}
.lsh-avent .lsh-btn:hover, .lsh-layer .lsh-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--lsh-primary); color: #fff; }
.lsh-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s; }
.lsh-btn:hover::after { left: 120%; }
.lsh-btn--block { width: 100% !important; }
.lsh-btn.is-loading { opacity: .7; pointer-events: none; }
.lsh-btn.is-loading svg { animation: lsh-spin 1s linear infinite; }

/* Formulaire */
.lsh-card__media--form { height: 150px; }
.lsh-card__icon--gift { font-size: 68px; animation: lsh-icon-in .9s .2s var(--lsh-ease-back) both, lsh-gift-shake 2.6s 1.2s ease-in-out infinite; }
.lsh-form { display: grid; gap: 12px; }
.lsh-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--lsh-primary); }
.lsh-layer .lsh-field input {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--lsh-primary) 22%, transparent);
  background: #fff; font: inherit; font-weight: 400; color: var(--lsh-ink); font-size: 16px; box-shadow: none; margin: 0; height: auto;
}
.lsh-layer .lsh-field input:focus { outline: none; border-color: var(--lsh-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lsh-accent) 25%, transparent); }
.lsh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #4a353c; cursor: pointer; }
.lsh-layer .lsh-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--lsh-primary); }
.lsh-check a, .lsh-small a, .lsh-form__error a { color: var(--lsh-primary); font-weight: 600; }
.lsh-form__error { color: #b3261e; font-size: 13.5px; min-height: 0; }
.lsh-form__error:empty { display: none; }
.lsh-small { font-size: 13px; color: var(--lsh-muted); text-align: center; }
.lsh-layer .is-shaking { animation: lsh-shake .45s ease-in-out; }

/* Notification */
.lsh-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 4; max-width: min(520px, calc(100vw - 32px));
  display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 14px;
  background: var(--lsh-night); color: var(--lsh-cream); font-size: 14.5px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.7), inset 0 0 0 1px color-mix(in srgb, var(--lsh-accent) 40%, transparent);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--lsh-ease-back), opacity .3s;
}
.lsh-toast svg { color: var(--lsh-accent); font-size: 18px; }
.lsh-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.lsh-toast--success { background: linear-gradient(120deg, var(--lsh-primary-2), var(--lsh-primary)); }

/* ------------------------------------------------------------------ *
 * Animations
 * ------------------------------------------------------------------ */
@keyframes lsh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lsh-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lsh-tile-in { from { opacity: 0; transform: translateY(26px) scale(.85) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes lsh-shimmer-text { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes lsh-sweep { 0%, 55% { left: -30%; } 100% { left: 130%; } }
@keyframes lsh-door-sheen { 0%, 50% { background-position: -200% 0, 0 0; } 100% { background-position: 200% 0, 0 0; } }
@keyframes lsh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lsh-twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
@keyframes lsh-spin-twinkle { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(72deg) scale(1.18); } }
@keyframes lsh-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.85); } }
@keyframes lsh-glow {
  0%, 100% { box-shadow: 0 0 0 2px var(--lsh-accent), 0 0 18px 2px color-mix(in srgb, var(--lsh-accent) 55%, transparent), 0 12px 26px -14px rgba(0,0,0,.7); }
  50% { box-shadow: 0 0 0 3px var(--lsh-gold-light), 0 0 36px 8px color-mix(in srgb, var(--lsh-accent) 75%, transparent), 0 12px 26px -14px rgba(0,0,0,.7); }
}
@keyframes lsh-glow-ring { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lsh-accent) 60%, transparent); } 50% { box-shadow: 0 0 0 12px transparent; } }
@keyframes lsh-wiggle { 0%, 84%, 100% { transform: rotateY(0); } 88% { transform: rotateY(-16deg); } 92% { transform: rotateY(-4deg); } 96% { transform: rotateY(-10deg); } }
@keyframes lsh-badge-bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
@keyframes lsh-badge-out { to { opacity: 0; transform: translateX(-50%) translateY(-14px) scale(.8); } }
@keyframes lsh-unlock { 0%, 100% { transform: rotateY(0); } 25% { transform: rotateY(-8deg) translateX(-1px); } 50% { transform: rotateY(-2deg); } 75% { transform: rotateY(-10deg); } }
@keyframes lsh-knob-turn { 50% { transform: rotate(90deg) scale(1.3); } }
@keyframes lsh-burst { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes lsh-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes lsh-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px) rotate(-1deg); } 40% { transform: translateX(6px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes lsh-card-in {
  0% { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.18) rotate(-8deg); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes lsh-card-out { to { opacity: 0; transform: translateY(20px) scale(.94); } }
@keyframes lsh-icon-in { from { opacity: 0; transform: scale(.2) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes lsh-zoom-out { from { transform: scale(1.15); } to { transform: none; } }
@keyframes lsh-code-flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lsh-accent) 80%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes lsh-tick { from { transform: translateY(-30%); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes lsh-celebrate { 0% { transform: scale(1); } 35% { transform: scale(1.04) rotate(-.6deg); } 65% { transform: scale(.99) rotate(.4deg); } 100% { transform: none; } }
@keyframes lsh-gift-shake { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-10deg); } 88% { transform: rotate(9deg); } 92% { transform: rotate(-6deg); } 96% { transform: rotate(3deg); } }
@keyframes lsh-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .lsh-draw { grid-template-columns: auto 1fr; }
  .lsh-progress { grid-column: 1 / -1; grid-template-columns: 110px 1fr; width: 100%; align-items: center; justify-items: start; text-align: left; gap: 0 16px; }
  .lsh-avent .lsh-progress .lsh-ring { width: 110px; }
  .lsh-progress__val { width: 110px; right: auto; }
  .lsh-progress__label { margin-top: 0; max-width: none; font-size: 14px; }
}
@media (max-width: 560px) {
  .lsh-avent:not(.lsh-avent--full) { border-radius: 20px; }
  .lsh-draw { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .lsh-countdown { justify-content: center; }
  .lsh-cd { min-width: 50px; }
  .lsh-progress { grid-template-columns: 96px 1fr; }
  .lsh-avent .lsh-progress .lsh-ring, .lsh-progress__val { width: 96px; }
  .lsh-num { font-size: 34px; }
  .lsh-modal { padding: 0; align-items: end; }
  .lsh-card { border-radius: 24px 24px 0 0; max-height: 92vh; max-height: 92dvh; }
  .lsh-card__media { height: 160px; }
  .lsh-inside__label { font-size: 9.5px; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  .lsh-avent *, .lsh-layer *, .lsh-avent *::before, .lsh-avent *::after {
    animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .001s !important;
  }
}


/* ------------------------------------------------------------------ *
 * Décors festifs
 * ------------------------------------------------------------------ */

/* Guirlande lumineuse */
.lsh-garland { position: absolute; top: 0; left: 0; right: 0; height: 70px; z-index: 2; pointer-events: none; }
.lsh-garland__wire { position: absolute; top: 0; left: 0; overflow: visible; width: auto; height: auto; }
.lsh-garland__wire path { fill: none; stroke: #2a1a12; stroke-width: 2; opacity: .85; }
.lsh-bulb {
  position: absolute; width: 11px; height: 17px; margin: -2px 0 0 -5.5px;
  transform-origin: 50% 0; transform: rotate(var(--r));
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
  background: var(--bulb); box-shadow: 0 0 12px 3px var(--bulb-glow);
  animation: lsh-bulb 2.6s calc(var(--k) * -.37s) ease-in-out infinite;
}
.lsh-bulb::before { content: ""; position: absolute; top: -5px; left: 2.5px; width: 6px; height: 6px; border-radius: 1.5px; background: #3a2c22; }
.lsh-bulb::after { content: ""; position: absolute; top: 3px; left: 2.5px; width: 3px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.7); }
.lsh-bulb--gold { --bulb: #ffd977; --bulb-glow: rgba(255, 205, 90, .75); }
.lsh-bulb--red { --bulb: #ff4a63; --bulb-glow: rgba(255, 60, 90, .75); }
.lsh-bulb--green { --bulb: #4fd28a; --bulb-glow: rgba(70, 220, 140, .65); }
.lsh-bulb--pink { --bulb: #ff9cc4; --bulb-glow: rgba(255, 150, 200, .7); }
.lsh-bulb--warm { --bulb: #fff4d8; --bulb-glow: rgba(255, 240, 200, .8); }
@keyframes lsh-bulb { 0%, 100% { opacity: 1; filter: brightness(1.15); } 45% { opacity: .45; filter: brightness(.7); box-shadow: 0 0 3px 0 var(--bulb-glow); } }

/* Boules de Noël suspendues */
.lsh-baubles { position: absolute; top: 0; left: 0; right: 0; height: 0; z-index: 1; pointer-events: none; }
.lsh-bauble {
  position: absolute; top: 0; width: calc(46px * var(--s)); display: grid; justify-items: center;
  transform-origin: 50% 0; animation: lsh-swing calc(3.4s + var(--k) * .35s) ease-in-out infinite alternate;
  animation-delay: calc(var(--k) * -.6s);
}
.lsh-bauble i { display: block; width: 1.5px; height: var(--len); background: linear-gradient(var(--lsh-accent), color-mix(in srgb, var(--lsh-accent) 60%, transparent)); }
.lsh-avent .lsh-bauble svg { width: 100%; height: auto; margin-top: -2px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.4)); }
@keyframes lsh-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@container (max-width: 899px) { .lsh-bauble:nth-child(3n) { display: none; } }
@container (max-width: 599px) { .lsh-bauble { --len: 18px !important; } .lsh-bauble:nth-child(3n+2) { display: none; } }

/* Neige au sol */
.lsh-ground { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(60px, 8vw, 110px); z-index: 0; pointer-events: none; }
.lsh-avent .lsh-ground svg { width: 100%; height: 100%; display: block; }

/* Neige sur les cases */
.lsh-snowcap {
  position: absolute; z-index: 3; top: -9px; left: -5px; right: -5px; height: 24px; pointer-events: none;
  background:
    radial-gradient(ellipse 13px 10px at 9% 9px, #fff 98%, transparent),
    radial-gradient(ellipse 16px 13px at 30% 9px, #fff 98%, transparent),
    radial-gradient(ellipse 11px 9px at 52% 9px, #fff 98%, transparent),
    radial-gradient(ellipse 17px 14px at 74% 9px, #fff 98%, transparent),
    radial-gradient(ellipse 12px 10px at 93% 9px, #fff 98%, transparent),
    linear-gradient(#fff, #f3f0f6) 0 0 / 100% 11px no-repeat;
  border-radius: 12px 12px 0 0;
  filter: drop-shadow(0 3px 2px rgba(80, 40, 50, .25));
  -webkit-mask: linear-gradient(#000 0 0);
}
.lsh-snowcap::after { /* stalactites */
  content: ""; position: absolute; left: 18%; right: 18%; top: 19px; height: 10px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,0)) 0 0 / 3px 10px no-repeat,
    linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,0)) 40% 0 / 3px 7px no-repeat,
    linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,0)) 75% 0 / 3px 9px no-repeat,
    linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,0)) 100% 0 / 3px 6px no-repeat;
}
.lsh-tile.is-today .lsh-badge { top: -16px; z-index: 4; }

/* Nœuds sur les cases-cadeaux */
.lsh-bow { position: absolute; z-index: 2; top: 50%; left: 50%; width: 46%; max-width: 92px; transform: translate(-50%, -112%); filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); }
.lsh-avent .lsh-bow svg { width: 100%; height: auto; }
.lsh-tile:has(.lsh-ribbon) .lsh-num { margin-top: 18%; }

/* Écharpe « À gagner » */
.lsh-draw__sash {
  position: absolute; z-index: 2; top: 26px; right: -52px; width: 210px; padding: 7px 0; text-align: center;
  transform: rotate(35deg);
  background: linear-gradient(90deg, #b51d36, #e0485f, #b51d36); color: #fff3d6;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.5);
}
.lsh-draw .lsh-prize__gift { background: radial-gradient(circle at 35% 30%, #e0485f, #b51d36 55%, #7d0f24); }
.lsh-draw { border: 0; }

/* Titre : petites étoiles scintillantes */
.lsh-hero { position: relative; }
.lsh-title { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .lsh-bulb, .lsh-bauble { animation: none !important; }
}


/* ------------------------------------------------------------------ *
 * Aperçu administrateur
 * ------------------------------------------------------------------ */
.lsh-preview-bar {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center;
  margin: 18px auto 0; max-width: 900px; padding: 12px 18px; border-radius: 14px; font-size: 15.5px; text-align: left;
  background: rgba(255, 224, 138, .14); border: 1px dashed rgba(255, 224, 138, .7); color: #ffe9b0;
}
.lsh-preview-bar svg { color: #ffe08a; }
.lsh-avent .lsh-preview-bar__reset {
  padding: 7px 14px; border-radius: 999px; background: #ffe08a; color: var(--lsh-primary); font-weight: 600; font-size: 13px; white-space: nowrap;
}
.lsh-avent .lsh-preview-bar__reset:hover { background: #fff1c4; }
.lsh-tile.is-preview { cursor: pointer; }
.lsh-tile.is-preview:hover .lsh-door { transform: rotateY(-12deg); transition-duration: .45s; }
.lsh-tile.is-preview .lsh-door__front { box-shadow: 0 12px 26px -14px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 1.5px rgba(255, 224, 138, .45); }

/* ------------------------------------------------------------------ *
 * Éléments premium : rattrapage, partage, disposition chronologique
 * ------------------------------------------------------------------ */
.lsh-avent { --lsh-flake: 255,250,244; --lsh-spark: 240,214,150; }
.lsh-badge--catchup { background: linear-gradient(90deg, #fff, #f4e7d6); color: var(--lsh-primary); animation: none; }
.lsh-tile.is-catchup:hover .lsh-door { transform: rotateY(-12deg); transition-duration: .45s; }
.lsh-tile.is-catchup .lsh-door__front { box-shadow: 0 12px 26px -14px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.55); }
.lsh-card__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lsh-layer .lsh-btn--ghost { background: transparent; color: var(--lsh-primary); box-shadow: inset 0 0 0 1.5px currentColor; }
.lsh-layer .lsh-btn--ghost:hover { background: color-mix(in srgb, var(--lsh-primary) 8%, transparent); color: var(--lsh-primary); box-shadow: inset 0 0 0 1.5px currentColor; }
.lsh-share { display: flex; flex-wrap: wrap; gap: 10px; }
.lsh-foot__share { display: inline-flex; gap: 6px; align-items: center; }
.lsh-layout-chrono .lsh-draw-door .lsh-num { font-size: clamp(40px, 6vw, 84px); }
.lsh-layout-chrono .lsh-draw-door__label { font-size: clamp(9.5px, 1vw, 12px); }
.lsh-layout-chrono .lsh-draw-door__star { font-size: clamp(20px, 2.6vw, 32px); }

/* ------------------------------------------------------------------ *
 * Modèle 2 : Neige & Or (clair)
 * ------------------------------------------------------------------ */
.lsh-avent.lsh-theme-neige, .lsh-layer.lsh-theme-neige { --lsh-primary: #23345c; --lsh-accent: #c9a24a; --lsh-night: #121c33; }
.lsh-avent.lsh-theme-neige {
  --lsh-flake: 120,150,190; --lsh-spark: 190,150,60;
  color: #1f2a44;
  background:
    radial-gradient(900px 480px at 50% -8%, #ffffff, transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(201,162,74,.14), transparent 70%),
    linear-gradient(180deg, #f8fafd 0%, #e2eaf3 100%);
}
.lsh-theme-neige.lsh-avent::before { background-image: radial-gradient(circle at 1px 1px, #23345c 1px, transparent 1.5px); opacity: .05; }
.lsh-theme-neige .lsh-eyebrow { color: #9a7426; }
.lsh-avent.lsh-theme-neige .lsh-title { background-image: linear-gradient(100deg, #23345c 20%, #9a7426 45%, #d9b45e 50%, #9a7426 55%, #23345c 80%); }
.lsh-theme-neige .lsh-subtitle { color: #4a5773; }
.lsh-theme-neige .lsh-status { background: rgba(255,255,255,.75); border-color: rgba(201,162,74,.55); color: #1f2a44; }
.lsh-theme-neige .lsh-status strong { color: #9a7426; }
.lsh-theme-neige .lsh-foot { color: #4a5773; }
.lsh-theme-neige .lsh-foot a { color: #23345c; }
.lsh-theme-neige .lsh-foot__who svg { color: #9a7426; }
.lsh-theme-neige .lsh-preview-bar, .lsh-theme-rose .lsh-preview-bar { background: rgba(201,162,74,.12); color: #4b3b12; border-color: rgba(160,120,40,.55); }
.lsh-theme-neige .lsh-preview-bar svg, .lsh-theme-rose .lsh-preview-bar svg { color: #9a7426; }
.lsh-theme-neige .lsh-garland__wire path { stroke: #7f8ba3; }
.lsh-theme-neige .lsh-ground svg path { fill: rgba(255,255,255,.75); }
.lsh-theme-neige .lsh-c0 { --door-bg: linear-gradient(150deg, #3a5793, #23345c 60%, #18264a); --door-bg-solid: #23345c; --door-ink: #f3dfa6; --door-dot: rgba(255,255,255,.12); }
.lsh-theme-neige .lsh-c1 { --door-bg: linear-gradient(150deg, #f3f8fd, #d3e1ef); --door-bg-solid: #e3edf7; --door-ink: #23345c; --door-dot: rgba(35,52,92,.10); }
.lsh-theme-neige .lsh-c2 { --door-bg: linear-gradient(150deg, #ffffff, #edf1f6); --door-bg-solid: #f6f8fb; --door-ink: #23345c; --door-dot: rgba(35,52,92,.08); }
.lsh-theme-neige .lsh-c3 { --door-bg: linear-gradient(150deg, #eef1f5, #c9d2de); --door-bg-solid: #dde3eb; --door-ink: #23345c; --door-dot: rgba(35,52,92,.10); }
.lsh-theme-neige .lsh-c5 { --door-bg: linear-gradient(150deg, #fbefcb, #d9b45e); --door-bg-solid: #ecd18e; --door-ink: #23345c; --door-dot: rgba(255,255,255,.25); }
.lsh-theme-neige .lsh-door__front, .lsh-theme-rose .lsh-door__front { box-shadow: 0 14px 28px -16px rgba(35,52,92,.55), inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(35,52,92,.06); }

/* ------------------------------------------------------------------ *
 * Modèle 3 : Forêt enchantée
 * ------------------------------------------------------------------ */
.lsh-avent.lsh-theme-sapin, .lsh-layer.lsh-theme-sapin { --lsh-primary: #8f1d2c; --lsh-accent: #d4af52; --lsh-night: #06170f; }
.lsh-avent.lsh-theme-sapin {
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(70,150,100,.55), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(212,175,82,.16), transparent 70%),
    linear-gradient(180deg, #17503a 0%, #0b2a1c 60%, #06170f 100%);
}
.lsh-layer.lsh-theme-sapin .lsh-card__media { background: radial-gradient(circle at 50% 110%, rgba(212,175,82,.6), transparent 60%), linear-gradient(160deg, #2f7a57, #14452f 60%, #06170f); }
.lsh-theme-sapin .lsh-c0 { --door-bg: linear-gradient(150deg, #3a8a64, #1d5a3f 55%, #123d2a); --door-bg-solid: #1d5a3f; --door-ink: #f6e3a8; --door-dot: rgba(255,255,255,.12); }
.lsh-theme-sapin .lsh-c1 { --door-bg: linear-gradient(150deg, #e0485f, #b51d36 55%, #8c1028); --door-bg-solid: #b51d36; --door-ink: #fff3d6; --door-dot: rgba(255,255,255,.14); }
.lsh-theme-sapin .lsh-c2 { --door-bg: linear-gradient(150deg, #fdf6e7, #efdcb8); --door-bg-solid: #f7ebd2; --door-ink: #14452f; --door-dot: rgba(20,69,47,.12); }
.lsh-theme-sapin .lsh-c3 { --door-bg: linear-gradient(150deg, #e9eee3, #c9d5c1); --door-bg-solid: #dce4d5; --door-ink: #14452f; --door-dot: rgba(20,69,47,.12); }
.lsh-theme-sapin .lsh-c5 { --door-bg: linear-gradient(150deg, #f8e7b0, #d4af52); --door-bg-solid: #e6c977; --door-ink: #14452f; --door-dot: rgba(255,255,255,.25); }

/* ------------------------------------------------------------------ *
 * Modèle 4 : Rose poudré (clair)
 * ------------------------------------------------------------------ */
.lsh-avent.lsh-theme-rose, .lsh-layer.lsh-theme-rose { --lsh-primary: #8c3b52; --lsh-accent: #c79a7e; --lsh-night: #4a1d2b; }
.lsh-avent.lsh-theme-rose {
  --lsh-flake: 255,255,255; --lsh-spark: 199,154,126;
  color: #5a2a3a;
  background:
    radial-gradient(900px 480px at 50% -8%, #fff8f5, transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(199,154,126,.18), transparent 70%),
    linear-gradient(180deg, #fbede9 0%, #efcfc8 100%);
}
.lsh-theme-rose.lsh-avent::before { background-image: radial-gradient(circle at 1px 1px, #8c3b52 1px, transparent 1.5px); opacity: .06; }
.lsh-theme-rose .lsh-eyebrow { color: #a0684d; }
.lsh-avent.lsh-theme-rose .lsh-title { background-image: linear-gradient(100deg, #8c3b52 20%, #b07a5a 45%, #e7c2a8 50%, #b07a5a 55%, #8c3b52 80%); }
.lsh-theme-rose .lsh-subtitle { color: #7a4a58; }
.lsh-theme-rose .lsh-status { background: rgba(255,255,255,.6); border-color: rgba(199,154,126,.6); color: #5a2a3a; }
.lsh-theme-rose .lsh-status strong { color: #8c3b52; }
.lsh-theme-rose .lsh-foot { color: #7a4a58; }
.lsh-theme-rose .lsh-foot a { color: #8c3b52; }
.lsh-theme-rose .lsh-foot__who svg { color: #a0684d; }
.lsh-theme-rose .lsh-garland__wire path { stroke: #a77d84; }
.lsh-theme-rose .lsh-c0 { --door-bg: linear-gradient(150deg, #b25a74, #8c3b52 55%, #6e2a3e); --door-bg-solid: #8c3b52; --door-ink: #fde9dd; --door-dot: rgba(255,255,255,.12); }
.lsh-theme-rose .lsh-c1 { --door-bg: linear-gradient(150deg, #fdf0ed, #f2cfc8); --door-bg-solid: #f8e0da; --door-ink: #8c3b52; --door-dot: rgba(140,59,82,.10); }
.lsh-theme-rose .lsh-c2 { --door-bg: linear-gradient(150deg, #fffaf5, #f3e6da); --door-bg-solid: #f9f0e8; --door-ink: #8c3b52; --door-dot: rgba(140,59,82,.08); }
.lsh-theme-rose .lsh-c3 { --door-bg: linear-gradient(150deg, #f6e7dc, #e2c2ab); --door-bg-solid: #ecd4c3; --door-ink: #6b3442; --door-dot: rgba(107,52,66,.10); }
.lsh-theme-rose .lsh-c4 { --door-bg: linear-gradient(150deg, #f2bcc7, #d98597 60%, #c56c80); --door-bg-solid: #d98597; --door-ink: #fff; --door-dot: rgba(255,255,255,.18); }
.lsh-theme-rose .lsh-c5 { --door-bg: linear-gradient(150deg, #f7e0d1, #d6a385); --door-bg-solid: #e8c1a9; --door-ink: #6b3442; --door-dot: rgba(255,255,255,.22); }
.lsh-layer.lsh-theme-rose .lsh-draw__sash, .lsh-theme-rose .lsh-draw__sash { background: linear-gradient(90deg, #8c3b52, #b25a74, #8c3b52); }
.lsh-theme-rose .lsh-draw .lsh-prize__gift { background: radial-gradient(circle at 35% 30%, #c56c80, #8c3b52 55%, #6e2a3e); }


/* ------------------------------------------------------------------ *
 * Portes festives : motifs, houx et étoiles scintillantes
 * ------------------------------------------------------------------ */
.lsh-motif {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: var(--door-ink); opacity: .2;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
}
.lsh-motif--flakes { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M9 3v12M3.8 6l10.4 6M3.8 12l10.4-6M9 5.5l-1.6-1.6M9 5.5l1.6-1.6M9 12.5l-1.6 1.6M9 12.5l1.6 1.6'/%3E%3Cpath d='M26 20v8M22.5 22l7 4M22.5 26l7-4'/%3E%3C/g%3E%3Ccircle cx='27' cy='7' r='1.2'/%3E%3Ccircle cx='7' cy='27' r='1.2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M9 3v12M3.8 6l10.4 6M3.8 12l10.4-6M9 5.5l-1.6-1.6M9 5.5l1.6-1.6M9 12.5l-1.6 1.6M9 12.5l1.6 1.6'/%3E%3Cpath d='M26 20v8M22.5 22l7 4M22.5 26l7-4'/%3E%3C/g%3E%3Ccircle cx='27' cy='7' r='1.2'/%3E%3Ccircle cx='7' cy='27' r='1.2'/%3E%3C/svg%3E"); -webkit-mask-size: 34px 34px; mask-size: 34px 34px; }
.lsh-motif--stars  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M10 3l1.9 4.2 4.6.5-3.4 3.1 1 4.5L10 13l-4.1 2.3 1-4.5L3.5 7.7l4.6-.5z'/%3E%3Cpath d='M27 20c.4 3 1.5 4.1 4.5 4.5-3 .4-4.1 1.5-4.5 4.5-.4-3-1.5-4.1-4.5-4.5 3-.4 4.1-1.5 4.5-4.5z'/%3E%3Ccircle cx='28' cy='7' r='1.3'/%3E%3Ccircle cx='8' cy='28' r='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M10 3l1.9 4.2 4.6.5-3.4 3.1 1 4.5L10 13l-4.1 2.3 1-4.5L3.5 7.7l4.6-.5z'/%3E%3Cpath d='M27 20c.4 3 1.5 4.1 4.5 4.5-3 .4-4.1 1.5-4.5 4.5-.4-3-1.5-4.1-4.5-4.5 3-.4 4.1-1.5 4.5-4.5z'/%3E%3Ccircle cx='28' cy='7' r='1.3'/%3E%3Ccircle cx='8' cy='28' r='1'/%3E%3C/svg%3E"); -webkit-mask-size: 36px 36px; mask-size: 36px 36px; opacity: .22; }
.lsh-motif--trees  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='38' viewBox='0 0 34 38'%3E%3Cpath d='M9 3l5 7h-3l4 6h-3l4 6H3l4-6H4l4-6H5z'/%3E%3Crect x='8' y='22' width='2' height='3'/%3E%3Ccircle cx='26' cy='27' r='1.4'/%3E%3Cpath d='M26 6l.8 1.8 2 .2-1.5 1.3.4 2L26 10.3 24.3 11.3l.4-2-1.5-1.3 2-.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='38' viewBox='0 0 34 38'%3E%3Cpath d='M9 3l5 7h-3l4 6h-3l4 6H3l4-6H4l4-6H5z'/%3E%3Crect x='8' y='22' width='2' height='3'/%3E%3Ccircle cx='26' cy='27' r='1.4'/%3E%3Cpath d='M26 6l.8 1.8 2 .2-1.5 1.3.4 2L26 10.3 24.3 11.3l.4-2-1.5-1.3 2-.2z'/%3E%3C/svg%3E"); -webkit-mask-size: 34px 38px; mask-size: 34px 38px; }
.lsh-motif--dots   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3Ccircle cx='22' cy='22' r='2'/%3E%3Ccircle cx='22' cy='7' r='1'/%3E%3Ccircle cx='7' cy='22' r='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3Ccircle cx='22' cy='22' r='2'/%3E%3Ccircle cx='22' cy='7' r='1'/%3E%3Ccircle cx='7' cy='22' r='1'/%3E%3C/svg%3E"); -webkit-mask-size: 30px 30px; mask-size: 30px 30px; opacity: .24; }
.lsh-motif--stripes {
  opacity: .12;
  -webkit-mask-image: repeating-linear-gradient(135deg, #000 0 9px, transparent 9px 22px);
  mask-image: repeating-linear-gradient(135deg, #000 0 9px, transparent 9px 22px);
}
.lsh-door__front .lsh-num { z-index: 1; }
/* Numéro façon médaillon festif */
.lsh-medal {
  position: relative; z-index: 1; display: grid; place-items: center;
  min-width: 1.7em; padding: .18em .32em; border-radius: 999px;
}
.lsh-ornaments .lsh-door__front .lsh-num {
  text-shadow: 0 1px 0 rgba(255,255,255,.3), 0 0 18px color-mix(in srgb, var(--lsh-accent) 45%, transparent), 0 2px 10px rgba(0,0,0,.15);
}
/* Coins dorés */
.lsh-corner { position: absolute; z-index: 1; width: 18px; height: 18px; pointer-events: none; border-color: var(--lsh-accent); border-style: solid; opacity: .9; }
.lsh-corner--tl { top: 11px; left: 11px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.lsh-corner--tr { top: 11px; right: 11px; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.lsh-corner--bl { bottom: 11px; left: 11px; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
.lsh-corner--br { bottom: 11px; right: 11px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
/* Branche de houx */
.lsh-holly { position: absolute; z-index: 2; top: 6px; left: 6px; width: clamp(52px, 42%, 92px); pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); transform-origin: 20% 20%; animation: lsh-holly 5s ease-in-out infinite; }
.lsh-holly--r { left: auto; right: 6px; transform: scaleX(-1); animation: none; }
.lsh-avent .lsh-holly svg { width: 100%; height: auto; }
@keyframes lsh-holly { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg); } }
/* Petites étoiles qui scintillent sur les portes */
.lsh-twinkle { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: var(--s, 12px); color: #fff8e1; pointer-events: none; opacity: 0; filter: drop-shadow(0 0 4px rgba(255, 236, 170, .9)); animation: lsh-door-twinkle 3.2s calc(var(--k) * .53s) ease-in-out infinite; }
.lsh-avent .lsh-twinkle svg { width: 100%; height: auto; }
@keyframes lsh-door-twinkle { 0%, 70%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } 90% { opacity: .4; transform: scale(.7) rotate(90deg); } }
.lsh-tile.is-missed .lsh-twinkle, .lsh-tile.is-missed .lsh-holly { display: none; }
/* Reflet doré qui passe sur la porte du jour */
.lsh-tile.is-today .lsh-door__front::after {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 60%) -200% 0 / 250% 100% no-repeat,
    radial-gradient(circle at 1px 1px, var(--door-dot) 1px, transparent 1.4px) 0 0 / 12px 12px;
  animation: lsh-door-sheen 3.5s 1s ease-in-out infinite;
}
.lsh-layout-chrono .lsh-corner { width: 12px; height: 12px; }
@container (max-width: 599px) { .lsh-corner { display: none; } .lsh-twinkle { --s: 9px; } }
@container (max-width: 599px) { .lsh-draw__sash { top: 16px; right: -50px; width: 170px; padding: 5px 0; font-size: 10.5px; } }

/* Bouton « Utiliser mon code » (application directe au panier) */
.lsh-layer .lsh-coupon__apply { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; }
.lsh-layer .lsh-coupon__apply svg { width: 18px; height: 18px; }


/* ------------------------------------------------------------------ *
 * Lisibilité : les textes gardent leurs couleurs même si le thème WordPress
 * impose les siennes (ex. « p { color: gris } » ou « .entry-content p »).
 * Spécificité renforcée, sans !important.
 * ------------------------------------------------------------------ */
/* Modèles sombres (Nuit festive, Forêt enchantée) : texte clair sur fond foncé */
.lsh-avent.lsh-avent .lsh-eyebrow,
.lsh-avent.lsh-avent .lsh-eyebrow span { color: var(--lsh-gold-light); }
.lsh-avent.lsh-avent .lsh-subtitle { color: var(--lsh-cream); }
.lsh-avent.lsh-avent .lsh-status { color: var(--lsh-cream); }
.lsh-avent.lsh-avent .lsh-status strong { color: var(--lsh-gold-light); }
.lsh-avent.lsh-avent .lsh-testdate { color: #ffe08a; }
.lsh-avent.lsh-avent .lsh-loading { color: var(--lsh-gold-light); }
.lsh-avent.lsh-avent .lsh-foot,
.lsh-avent.lsh-avent .lsh-foot span,
.lsh-avent.lsh-avent .lsh-foot__who { color: var(--lsh-cream); }
.lsh-avent.lsh-avent .lsh-foot a { color: var(--lsh-gold-light); }

/* Modèles clairs (Neige & Or, Rose poudré) : texte foncé sur fond clair */
.lsh-avent.lsh-avent.lsh-theme-neige .lsh-eyebrow, .lsh-avent.lsh-avent.lsh-theme-neige .lsh-eyebrow span { color: #8a6720; }
.lsh-avent.lsh-avent.lsh-theme-neige .lsh-subtitle { color: #3d4a68; }
.lsh-avent.lsh-avent.lsh-theme-neige .lsh-status { color: #1f2a44; }
.lsh-avent.lsh-avent.lsh-theme-neige .lsh-status strong { color: #8a6720; }
.lsh-avent.lsh-avent.lsh-theme-neige .lsh-foot,
.lsh-avent.lsh-avent.lsh-theme-neige .lsh-foot span,
.lsh-avent.lsh-avent.lsh-theme-neige .lsh-foot__who { color: #3d4a68; }
.lsh-avent.lsh-avent.lsh-theme-neige .lsh-foot a { color: #23345c; }
.lsh-avent.lsh-avent.lsh-theme-rose .lsh-eyebrow, .lsh-avent.lsh-avent.lsh-theme-rose .lsh-eyebrow span { color: #8f573e; }
.lsh-avent.lsh-avent.lsh-theme-rose .lsh-subtitle { color: #6b3a49; }
.lsh-avent.lsh-avent.lsh-theme-rose .lsh-status { color: #5a2a3a; }
.lsh-avent.lsh-avent.lsh-theme-rose .lsh-status strong { color: #8c3b52; }
.lsh-avent.lsh-avent.lsh-theme-rose .lsh-foot,
.lsh-avent.lsh-avent.lsh-theme-rose .lsh-foot span,
.lsh-avent.lsh-avent.lsh-theme-rose .lsh-foot__who { color: #6b3a49; }
.lsh-avent.lsh-avent.lsh-theme-rose .lsh-foot a { color: #8c3b52; }

/* Bloc du grand tirage (carte claire dans tous les modèles) */
.lsh-avent.lsh-avent .lsh-draw__eyebrow,
.lsh-avent.lsh-avent .lsh-draw__title,
.lsh-avent.lsh-avent .lsh-progress__val,
.lsh-avent.lsh-avent .lsh-progress__label strong,
.lsh-avent.lsh-avent .lsh-cd-live { color: var(--lsh-primary); }
.lsh-avent.lsh-avent .lsh-draw__desc,
.lsh-avent.lsh-avent .lsh-draw__how,
.lsh-avent.lsh-avent .lsh-progress__label { color: var(--lsh-ink); }

/* Fenêtre d'une case (fond crème) */
.lsh-layer.lsh-layer .lsh-card__content,
.lsh-layer.lsh-layer .lsh-card__content :is(p, li, span, div) { color: #3f2d34; }
.lsh-layer.lsh-layer .lsh-card__content strong,
.lsh-layer.lsh-layer .lsh-card__content a { color: var(--lsh-primary); }
.lsh-layer.lsh-layer .lsh-card__draw { color: var(--lsh-ink); }
.lsh-layer.lsh-layer .lsh-coupon__exp,
.lsh-layer.lsh-layer .lsh-coupon__note,
.lsh-layer.lsh-layer .lsh-small { color: var(--lsh-muted); }
.lsh-layer.lsh-layer .lsh-coupon__label { color: var(--lsh-primary); }
.lsh-layer.lsh-layer .lsh-coupon__code { color: var(--lsh-ink); }
.lsh-layer.lsh-layer .lsh-btn,
.lsh-layer.lsh-layer .lsh-btn span { color: var(--lsh-cream); }
.lsh-layer.lsh-layer .lsh-btn--ghost,
.lsh-layer.lsh-layer .lsh-btn--ghost span { color: var(--lsh-primary); }
