/* La veillée (mode sombre) de FermeVallée : documentation dans src/app/globals.css (« la veillée »). */
:root {
  --fv-bord-champ: var(--color-manganese-3);
  --color-email: #1a1531;
  --color-email-2: #131026;
  --color-blanc: #272044;
  --color-white: #272044;
  --color-manganese: #f4ede3;
  --color-manganese-2: #cdc1da;
  --color-manganese-3: #a093b4;
  --color-tomate-fonce: #ff9e88;
  --color-tomate-pale: #41202a;
  --color-feuille-fonce: #8fe2a4;
  --color-feuille-pale: #173829;
  --color-ciel-fonce: #95cbf6;
  --color-ciel-pale: #182f4d;
  --color-beurre-fonce: #ffd862;
  --color-beurre-pale: #3b3117;
  --color-lavande-pale: #2c2650;
  --fj-tuile-pale: #3e2219;
  --fv-sur-fond: #f4ede3;
  --fv-sur-fond-2: #cdc1da;
  --fv-saison-pale: #173829;
  --fv-trait: #0b0817;
  --fv-reflet: rgb(255 255 255 / 0.07);
  --shadow-plaque-douce: 0 0 0 1.5px rgb(255 255 255 / 0.07), 0 2px 0 0 rgb(0 0 0 / 0.35), 0 14px 26px -18px rgb(0 0 0 / 0.8);
}
[data-saison] {
  --fv-saison-pale: color-mix(in oklab, var(--fv-saison) 20%, #1a1531);
}
::selection {
  color: #35203c;
}
.fv-bande {
  background: var(--color-email-2);
}
@media (min-width: 48rem) {
  .fv-bande {
    background: radial-gradient(ellipse 55% 140% at 84% 45%, color-mix(in oklab, var(--fv-bande) 34%, transparent), transparent 72%), var(--color-email-2);
  }
}
.fv-teinte {
  background: color-mix(in oklab, var(--fv-teinte-vive, var(--fv-teinte)) 18%, var(--color-blanc));
}
.fv-titre-jeu {
  --fv-titre-nuit: color-mix(in oklab, var(--fv-titre) 45%, #f4ede3);
}
.fv-clair,
.bg-beurre,
.bg-ciel,
.bg-feuille-vif,
.bg-saison {
  --color-manganese: #35203c;
  --color-manganese-2: #634e68;
  --icone-trait: #35203c;
}
@layer utilities {
  :root .text-white {
    color: #fff;
  }
  :root .fill-white {
    fill: #fff;
  }
  :root [class*="border-manganese"]:not([class*="border-manganese/"], [class*="border-manganese-3/"]) {
    border-color: var(--fv-trait);
  }
  :root [class*="shadow-["][class*="--color-manganese"]:not([class*="--fv-bord-champ"]) {
    --tw-shadow-color: var(--fv-trait);
  }
  :root .bg-manganese {
    background-color: var(--color-lavande-2);
  }
  :root .bg-manganese\/30,
  :root .bg-manganese\/35 {
    background-color: rgb(8 5 20 / 0.62);
  }
  :root .fv-carreau:is([style*="--fv-fond:#ffffff"], [style*="--fv-fond: #ffffff"]) {
    --fv-fond: var(--color-blanc) !important;
    --fv-texte: var(--color-manganese) !important;
    --icone-trait: var(--color-manganese) !important;
  }
}
