/* =========================================================
   Roue de la chance L’éQrin  (lqw-*)
   ========================================================= */

.lqw-teaser,
.lqw-modal {
  --lqw-ink: #1f2330;
  --lqw-slate: #323641;
  --lqw-slate-deep: #1c1f27;
  --lqw-gold: #c9a14a;
  --lqw-gold-soft: #f6e2a6;
  --lqw-gold-text: #8a6a2b;
  --lqw-muted: #6b7280;
  --lqw-line: #e8e2d6;
  --lqw-cream: #fbf8f2;
  font-family: var(--font-body, "Trebuchet MS", "Segoe UI", "Helvetica Neue", sans-serif);
  color: var(--lqw-ink);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.005em;
}

.lqw-teaser [hidden],
.lqw-modal [hidden],
.lqw-teaser[hidden],
.lqw-modal[hidden] {
  display: none !important;
}

.lqw-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html.lqw-lock,
html.lqw-lock body {
  overflow: hidden;
}

/* ---------- SVG wheel (shared) ---------- */
.lqw-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lqw-label {
  font-family: var(--font-body, "Trebuchet MS", "Segoe UI", sans-serif);
  font-weight: 800;
  letter-spacing: 0.01em;
  paint-order: stroke;
}

.lqw-label--jackpot {
  stroke: rgba(255, 248, 225, 0.55);
  stroke-width: 0.6px;
}

.lqw-seg {
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.lqw-wheel.has-winner .lqw-seg:not(.is-winner) {
  opacity: 0.42;
}

.lqw-seg.is-winner {
  filter: brightness(1.1) saturate(1.1);
  stroke: #ffffff;
  stroke-width: 5px;
  stroke-linejoin: round;
}

.lqw-bulb {
  fill: #ffe9b3;
  animation: lqw-twinkle 1.8s ease-in-out infinite;
}

.lqw-bulb--alt {
  animation-delay: -0.9s;
}

.lqw-wheel.is-spinning .lqw-bulb {
  animation-duration: 0.36s;
}

.lqw-modal.is-win .lqw-wheel.has-winner .lqw-bulb {
  animation-duration: 0.55s;
  fill: #fff3cf;
}

@keyframes lqw-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

/* =========================================================
   Floating teaser (bottom left)
   ========================================================= */
.lqw-teaser {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 950;
  display: flex;
  align-items: flex-end;
}

.lqw-teaser__wheel {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  position: relative;
}

.lqw-teaser__disc {
  position: relative;
  z-index: 2;
  display: block;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--lqw-slate);
  box-shadow:
    0 14px 30px rgba(20, 22, 30, 0.32),
    0 0 0 3px #ffffff,
    0 0 0 5px rgba(201, 161, 74, 0.55);
  animation: lqw-nudge 7s ease-in-out 3s infinite;
}

.lqw-teaser__disc .lqw-svg {
  border-radius: 50%;
}

.lqw-teaser__pin {
  position: absolute;
  z-index: 3;
  left: 37px;
  top: -6px;
  width: 14px;
  height: 18px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fff3cf, var(--lqw-gold));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

.lqw-teaser__bubble {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-left: -16px;
  padding: 10px 40px 10px 28px;
  border-radius: 0 18px 18px 0;
  background: #ffffff;
  border: 1px solid var(--lqw-line);
  border-left: 0;
  box-shadow: 0 14px 34px rgba(20, 22, 30, 0.16);
  max-width: 260px;
  transform-origin: left center;
  transition: opacity 0.35s ease, transform 0.35s ease, max-width 0.35s ease, padding 0.35s ease;
}

.lqw-teaser__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lqw-gold-text);
}

.lqw-teaser__bubble strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--lqw-ink);
  white-space: nowrap;
}

.lqw-teaser[data-mode="code"] .lqw-teaser__bubble strong {
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.06em;
}

.lqw-teaser__hint {
  font-size: 12px;
  color: var(--lqw-muted);
  white-space: nowrap;
}

.lqw-teaser__wheel:hover .lqw-teaser__disc,
.lqw-teaser__wheel:focus-visible .lqw-teaser__disc {
  animation: lqw-hover-spin 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lqw-teaser__wheel:hover .lqw-teaser__bubble {
  box-shadow: 0 16px 38px rgba(20, 22, 30, 0.22);
}

.lqw-teaser__wheel:focus-visible {
  outline: none;
}

.lqw-teaser__wheel:focus-visible .lqw-teaser__bubble {
  outline: 2px solid var(--lqw-slate);
  outline-offset: 3px;
}

.lqw-teaser__close {
  position: absolute;
  z-index: 4;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f1ec;
  color: #5b5f6b;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.lqw-teaser__close svg {
  width: 12px;
  height: 12px;
}

.lqw-teaser__close:hover,
.lqw-teaser__close:focus-visible {
  background: var(--lqw-slate);
  color: #ffffff;
  outline: none;
}

.lqw-teaser.is-entering .lqw-teaser__disc {
  animation: lqw-roll-in 1.1s cubic-bezier(0.2, 0.9, 0.25, 1.1) both;
}

.lqw-teaser.is-entering .lqw-teaser__bubble {
  animation: lqw-bubble-in 0.7s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes lqw-roll-in {
  0% { transform: translateX(-140px) rotate(-320deg); opacity: 0; }
  70% { transform: translateX(6px) rotate(8deg); opacity: 1; }
  100% { transform: translateX(0) rotate(0); }
}

@keyframes lqw-bubble-in {
  from { opacity: 0; transform: translateX(-14px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes lqw-nudge {
  0%, 86%, 100% { transform: rotate(0) scale(1); }
  89% { transform: rotate(-14deg) scale(1.06); }
  93% { transform: rotate(10deg) scale(1.06); }
  96% { transform: rotate(-4deg) scale(1.02); }
}

@keyframes lqw-hover-spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* Small screens: the bubble folds away after a while, the wheel stays */
@media (max-width: 640px) {
  .lqw-teaser__disc {
    width: 62px;
    height: 62px;
  }

  .lqw-teaser__pin {
    left: 31px;
  }

  .lqw-teaser__bubble {
    padding: 8px 36px 8px 24px;
    max-width: 220px;
  }

  .lqw-teaser__bubble strong {
    font-size: 14px;
  }

  .lqw-teaser.is-compact .lqw-teaser__bubble,
  .lqw-teaser.is-lifted .lqw-teaser__bubble {
    opacity: 0;
    transform: translateX(-12px) scale(0.9);
    pointer-events: none;
  }

  .lqw-teaser.is-compact .lqw-teaser__close,
  .lqw-teaser.is-lifted .lqw-teaser__close {
    right: auto;
    left: 48px;
    top: -6px;
    transform: none;
    width: 22px;
    height: 22px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  }
}

/* Above the cookie banner while it is open (height set by wheel.js) */
.lqw-teaser {
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--lqw-lift, 0px));
  transition: bottom 0.35s ease;
}

/* Bigger on computers: it is the first thing to catch the eye */
@media (min-width: 641px) {
  .lqw-teaser__disc {
    width: 92px;
    height: 92px;
  }

  .lqw-teaser__pin {
    left: 46px;
    width: 16px;
    height: 20px;
  }

  .lqw-teaser__bubble {
    padding: 13px 44px 13px 30px;
    max-width: 300px;
  }

  .lqw-teaser__kicker {
    font-size: 11px;
  }

  .lqw-teaser__bubble strong {
    font-size: 17px;
  }

  .lqw-teaser__hint {
    font-size: 13px;
  }
}

/* =========================================================
   Shared look of the wheel invitations in the page
   (logo colours: navy, cream, gold — sober corners, thin lines)
   ========================================================= */
.lqw-hero,
.lqw-home,
.lqw-invite {
  --lqw-navy: #0b1222;
  --lqw-slate: #323641;
  --lqw-gold: #c9a14a;
  --lqw-gold-light: #e2bc66;
  --lqw-cream: #faf6ec;
  --lqw-gold-text: #7a5c1c;
}

.lqw-hero[hidden],
.lqw-invite[hidden] {
  display: none !important;
}

.lqw-hero__disc,
.lqw-home__disc,
.lqw-invite__disc {
  display: block;
  border-radius: 50%;
  overflow: hidden;
}

.lqw-hero__disc .lqw-svg,
.lqw-home__disc .lqw-svg,
.lqw-invite__disc .lqw-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- 1. In the home hero, right under the buttons ---------- */
.lqw-hero {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 22px auto 0;
  padding: 8px 8px 8px 8px;
  border: 1px solid rgba(226, 188, 102, 0.75);
  border-radius: 4px;
  background: rgba(11, 18, 34, 0.82);
  color: #ffffff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(11, 18, 34, 0.28);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lqw-hero:hover {
  background: rgba(11, 18, 34, 0.94);
  border-color: var(--lqw-gold-light);
  transform: translateY(-1px);
}

.lqw-hero:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.lqw-hero__disc {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
}

.lqw-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.lqw-hero__text strong {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.lqw-hero__text span {
  font-size: 14px;
  color: var(--lqw-gold-light);
}

.lqw-hero__go {
  margin-left: 6px;
  padding: 11px 18px;
  border-radius: 3px;
  background: var(--lqw-gold);
  color: var(--lqw-navy);
  font-size: 14px;
  font-weight: 700;
}

.lqw-hero:hover .lqw-hero__go {
  background: var(--lqw-gold-light);
}

@media (max-width: 520px) {
  .lqw-hero {
    gap: 10px;
    margin-top: 18px;
    max-width: 100%;
  }

  .lqw-hero__disc {
    width: 46px;
    height: 46px;
  }

  .lqw-hero__text strong {
    font-size: 15px;
  }

  .lqw-hero__text span {
    font-size: 13px;
  }

  .lqw-hero__go {
    padding: 10px 14px;
  }
}

/* ---------- 2. Home section right after the hero ---------- */
.lqw-home {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding: 48px 56px;
  border-radius: 4px;
  background: var(--lqw-navy);
  color: #f3ead6;
  position: relative;
}

.lqw-home::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 161, 74, 0.35);
  border-radius: 2px;
  pointer-events: none;
}

.lqw-home__wheel {
  appearance: none;
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.lqw-home__disc {
  width: 100%;
  height: 100%;
  box-shadow: 0 0 0 4px var(--lqw-navy), 0 0 0 5px rgba(201, 161, 74, 0.6), 0 22px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lqw-home__wheel:hover .lqw-home__disc {
  transform: rotate(24deg);
}

.lqw-home__wheel:focus-visible {
  outline: 2px solid var(--lqw-gold-light);
  outline-offset: 8px;
}

.lqw-home__pin {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 22px;
  height: 28px;
  transform: translateX(-50%);
  background: var(--lqw-cream);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

.lqw-home__text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.lqw-home__kicker {
  font-size: 14px;
  color: var(--lqw-gold-light);
  letter-spacing: 0.03em;
}

.lqw-home h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
}

.lqw-home h2 span {
  color: var(--lqw-gold-light);
  white-space: nowrap;
}

.lqw-home p {
  margin: 0;
  max-width: 52ch;
  color: #d9d2c2;
  font-size: 16px;
  line-height: 1.55;
}

.lqw-home__prizes {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lqw-home__prizes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  font-size: 14px;
  color: #f3ead6;
}

.lqw-home__prizes li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--lqw-chip, var(--lqw-gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.lqw-home__prizes li.is-jackpot {
  border-color: var(--lqw-gold);
  color: var(--lqw-gold-light);
  font-weight: 700;
}

.lqw-home__cta {
  appearance: none;
  margin-top: 6px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 3px;
  background: var(--lqw-gold);
  color: var(--lqw-navy);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lqw-home__cta:hover {
  background: var(--lqw-gold-light);
}

.lqw-home__cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .lqw-home {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 24px 32px;
    text-align: center;
  }

  .lqw-home__wheel {
    max-width: 220px;
  }

  .lqw-home__text {
    align-items: center;
  }

  .lqw-home__prizes {
    justify-content: center;
  }

  .lqw-home__cta {
    width: 100%;
    max-width: 360px;
  }
}

/* ---------- 3. One-line invitation (cart, product pages) ---------- */
.lqw-invite {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 14px 0 0;
  padding: 10px 10px 10px 10px;
  border: 1px solid #d8c6a3;
  border-radius: 4px;
  background: var(--lqw-cream);
  color: var(--lqw-navy);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lqw-invite:hover {
  border-color: var(--lqw-gold);
  background: #f6eedb;
}

.lqw-invite:focus-visible {
  outline: 2px solid var(--lqw-navy);
  outline-offset: 2px;
}

.lqw-invite__disc {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.lqw-invite__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #3d4250;
}

.lqw-invite__text strong {
  color: var(--lqw-navy);
}

.lqw-invite__go {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 3px;
  background: var(--lqw-navy);
  color: #ffffff;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .lqw-teaser,
  .lqw-hero,
  .lqw-home__disc {
    transition: none;
  }

  .lqw-home__wheel:hover .lqw-home__disc {
    transform: none;
  }
}

/* =========================================================
   Modal
   ========================================================= */
.lqw-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.26s ease;
}

.lqw-modal.is-open {
  opacity: 1;
}

.lqw-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 26, 0.64);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lqw-dialog {
  position: relative;
  width: min(1000px, 100%);
  max-height: min(720px, calc(100vh - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 40px 90px rgba(10, 12, 20, 0.45);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lqw-dialog:focus {
  outline: none;
}

.lqw-modal.is-open .lqw-dialog {
  transform: none;
}

.lqw-dialog__close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--lqw-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--lqw-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lqw-dialog__close svg {
  width: 14px;
  height: 14px;
}

.lqw-dialog__close:hover,
.lqw-dialog__close:focus-visible {
  background: var(--lqw-slate);
  color: #ffffff;
  outline: none;
  transform: rotate(90deg);
}

/* Left: the stage */
.lqw-dialog__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 46px 34px 40px;
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(201, 161, 74, 0.28), transparent 70%),
    radial-gradient(120% 90% at 0% 0%, #444a58 0%, transparent 55%),
    linear-gradient(160deg, #353a46 0%, #262a33 55%, #1b1e25 100%);
  border-radius: 28px 0 0 28px;
  overflow: hidden;
}

.lqw-dialog__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(246, 226, 166, 0.22) 1px, transparent 1.6px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 70% at 50% 50%, transparent 40%, #000 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, transparent 40%, #000 100%);
  pointer-events: none;
}

.lqw-wheel {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 1;
}

.lqw-wheel .lqw-svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.45));
}

.lqw-wheel__glow {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 226, 166, 0.36) 0%, rgba(201, 161, 74, 0.12) 45%, transparent 70%);
  animation: lqw-glow 3.2s ease-in-out infinite;
  pointer-events: none;
}

.lqw-wheel.is-spinning .lqw-wheel__glow {
  animation-duration: 0.9s;
}

@keyframes lqw-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.03); }
}

.lqw-pointer {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: -3.5%;
  width: 12%;
  aspect-ratio: 0.76;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45));
}

.lqw-pointer__flap {
  position: absolute;
  inset: 0;
  display: block;
  transform-origin: 50% 34%;
}

.lqw-pointer__flap svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lqw-pointer.is-tick .lqw-pointer__flap {
  animation: lqw-tick 0.16s ease-out;
}

@keyframes lqw-tick {
  0% { transform: rotate(0); }
  35% { transform: rotate(-16deg); }
  100% { transform: rotate(0); }
}

/* Confetti */
.lqw-confetti {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.lqw-confetti__piece {
  position: absolute;
  left: -4px;
  top: -6px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: 0;
  animation: lqw-confetti var(--dur, 1.6s) cubic-bezier(0.15, 0.7, 0.3, 1) var(--delay, 0ms) forwards;
}

.lqw-confetti__piece.is-round {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@keyframes lqw-confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(0.6); }
  60% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 140px)) rotate(var(--rot)) scale(1); }
}

/* Right: the panel */
.lqw-dialog__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 46px 42px 30px;
  min-width: 0;
}

.lqw-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: lqw-view-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes lqw-view-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.lqw-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lqw-gold-text);
}

.lqw-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lqw-ink);
}

.lqw-title em {
  font-family: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.28em;
  letter-spacing: 0;
  color: var(--lqw-gold);
  padding-right: 0.08em;
}

.lqw-lead {
  margin: 0;
  font-size: 15px;
  color: #4b5160;
}

.lqw-prizes {
  margin-top: 4px;
}

.lqw-prizes__title {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lqw-ink);
}

.lqw-prizes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lqw-prize {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--lqw-line);
  border-radius: 14px;
  background: var(--lqw-cream);
  min-width: 0;
}

.lqw-prize__chip {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lqw-chip);
  color: var(--lqw-chip-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.lqw-prize[data-lqw-prize="livraison"] .lqw-prize__chip {
  font-size: 11.5px;
}

.lqw-prize__note {
  font-size: 12px;
  color: var(--lqw-muted);
  line-height: 1.25;
  min-width: 0;
}

.lqw-prize--jackpot {
  grid-column: 1 / -1;
  border-color: rgba(201, 161, 74, 0.55);
  background: linear-gradient(120deg, #fffaf0, #fbf0d6);
}

.lqw-prize--jackpot .lqw-prize__chip {
  background: linear-gradient(135deg, #f6e2a6, #d4a94c 55%, #a9772c);
  box-shadow: 0 4px 12px rgba(169, 119, 44, 0.32);
  font-size: 15px;
}

.lqw-prize--jackpot .lqw-prize__note {
  font-weight: 700;
  color: var(--lqw-gold-text);
}

.lqw-spin {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--lqw-slate);
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(50, 54, 65, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Email asked before the spin */
.lqw-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.lqw-form[hidden],
.lqw-soon[hidden] {
  display: none !important;
}

.lqw-form__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--lqw-ink);
}

.lqw-form__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lqw-form__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cfc6b4;
  border-radius: 6px;
  background: #ffffff;
  color: var(--lqw-ink);
  font: inherit;
  font-size: 16px; /* no zoom on iPhone */
}

.lqw-form__input:focus {
  outline: none;
  border-color: var(--lqw-slate);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.35);
}

.lqw-form__input[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15);
}

.lqw-form__help {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--lqw-muted);
}

.lqw-modal.is-checking .lqw-spin {
  opacity: 0.75;
  cursor: progress;
}

.lqw-soon {
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 1px solid #e2d3ad;
  border-radius: 6px;
  background: #fbf6ea;
  color: var(--lqw-ink);
  font-size: 15px;
  line-height: 1.5;
}

.lqw-spin::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  animation: lqw-shine 3.6s ease-in-out 1.2s infinite;
}

@keyframes lqw-shine {
  0%, 70% { left: -60%; }
  100% { left: 130%; }
}

.lqw-spin:hover,
.lqw-spin:focus-visible {
  background: #23262f;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(50, 54, 65, 0.36);
  outline: none;
  color: #ffffff;
}

.lqw-spin:focus-visible {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--lqw-gold);
}

.lqw-spin:disabled {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

.lqw-spin--link {
  width: auto;
  flex: 1 1 auto;
}

.lqw-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fdf0ee;
  color: #9b2c1f;
  font-size: 13px;
}

.lqw-fine {
  margin: 0;
  font-size: 12px;
  color: var(--lqw-muted);
  text-align: center;
}

.lqw-title--spinning {
  font-size: clamp(26px, 3vw, 34px);
}

.lqw-dots span {
  display: inline-block;
  animation: lqw-dot 1.2s ease-in-out infinite;
}

.lqw-dots span:nth-child(2) { animation-delay: 0.15s; }
.lqw-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes lqw-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 1; }
  30% { transform: translateY(-6px); opacity: 0.5; }
}

/* Result */
.lqw-result-title {
  font-size: clamp(32px, 3.6vw, 44px);
}

.lqw-modal.is-win .lqw-result-title {
  background: linear-gradient(100deg, #8a6a2b, #c9a14a 45%, #8a6a2b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lqw-modal.is-win .lqw-result-title {
  animation: lqw-pop 0.6s cubic-bezier(0.2, 0.9, 0.25, 1.25);
}

@keyframes lqw-pop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.lqw-ticket {
  position: relative;
  padding: 16px 20px 14px;
  border: 1.5px dashed rgba(169, 119, 44, 0.55);
  border-radius: 16px;
  background: linear-gradient(120deg, #fffaf0, #fbf0d6);
}

.lqw-ticket::before,
.lqw-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px dashed rgba(169, 119, 44, 0.55);
}

.lqw-ticket::before {
  left: -10px;
  clip-path: inset(0 0 0 50%);
}

.lqw-ticket::after {
  right: -10px;
  clip-path: inset(0 50% 0 0);
}

.lqw-ticket__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lqw-ticket__prize {
  font-size: 20px;
  font-weight: 800;
  color: var(--lqw-ink);
}

.lqw-ticket__exp {
  font-size: 12px;
  color: var(--lqw-gold-text);
  font-weight: 700;
}

.lqw-ticket__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 10px 10px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--lqw-line);
}

.lqw-ticket__code code {
  font-family: "Courier New", Courier, monospace;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lqw-ink);
  word-break: break-all;
}

.lqw-copy {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--lqw-slate);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lqw-copy:hover,
.lqw-copy:focus-visible {
  background: #1c1f27;
  outline: none;
}

.lqw-copy.is-done {
  background: #3f7a4f;
}

.lqw-ticket__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #4b5160;
}

.lqw-ticket.is-spent {
  filter: grayscale(0.85);
  opacity: 0.75;
}

.lqw-ticket.is-spent code {
  text-decoration: line-through;
}

.lqw-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lqw-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--lqw-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lqw-link:hover {
  color: var(--lqw-gold-text);
}

/* Rules */
.lqw-rules {
  margin-top: auto;
  border-top: 1px solid var(--lqw-line);
  padding-top: 12px;
  font-size: 12.5px;
  color: var(--lqw-muted);
}

.lqw-rules summary {
  cursor: pointer;
  font-weight: 700;
  color: #4b5160;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lqw-rules summary::-webkit-details-marker {
  display: none;
}

.lqw-rules summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.lqw-rules[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.lqw-rules__body {
  padding-top: 10px;
}

.lqw-odds {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

.lqw-odds th,
.lqw-odds td {
  padding: 5px 0;
  border-bottom: 1px solid #f0ece4;
  font-size: 12.5px;
}

.lqw-odds th {
  text-align: left;
  font-weight: 600;
  color: var(--lqw-ink);
}

.lqw-odds td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--lqw-ink);
  font-weight: 700;
}

.lqw-odds__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: -1px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.lqw-rules ul {
  margin: 0;
  padding-left: 18px;
}

.lqw-rules li {
  margin-bottom: 4px;
}

/* Small screens: wheel on top, panel below */
@media (max-width: 780px) {
  .lqw-modal {
    padding: 10px;
    align-items: end;
  }

  .lqw-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 24px;
  }

  .lqw-dialog__stage {
    padding: 34px 20px 24px;
    border-radius: 24px 24px 0 0;
  }

  .lqw-wheel {
    width: min(300px, 74vw);
  }

  .lqw-dialog__panel {
    padding: 22px 20px 20px;
    gap: 14px;
  }

  .lqw-dialog__close {
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
  }

  .lqw-title {
    font-size: 26px;
  }

  .lqw-result-title {
    font-size: 32px;
  }
}

@media (max-width: 380px) {
  .lqw-prizes ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lqw-teaser__disc,
  .lqw-teaser.is-entering .lqw-teaser__disc,
  .lqw-teaser.is-entering .lqw-teaser__bubble,
  .lqw-teaser__wheel:hover .lqw-teaser__disc,
  .lqw-bulb,
  .lqw-wheel__glow,
  .lqw-spin::after,
  .lqw-view,
  .lqw-dots span,
  .lqw-modal.is-win .lqw-result-title {
    animation: none !important;
  }

  .lqw-modal,
  .lqw-dialog {
    transition: none;
  }
}

@media print {
  .lqw-teaser,
  .lqw-modal {
    display: none !important;
  }
}
