/* Player screens, aligned with the 24-day mockup.
   Night column, script title, gilt frames, one large scratch card. */

/* The scrollbar stays hidden. Opening a tile locks scroll, and a visible
   bar would vanish and shift the column. */
html,
body.joueur,
body.joueur * {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body.joueur::-webkit-scrollbar,
body.joueur *::-webkit-scrollbar {
  display: none;
}

body.joueur {
  --colonne: min(1120px, calc(100vw - 48px));
  margin: 0;
  overflow-x: hidden;
  min-height: 100%;
  background: #202242;
  color: #fff;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}

body.joueur > *:not([data-neige]):not(.fixed) {
  position: relative;
}

/* The demo bubble is a direct child of the body. This rule wins over the
   relative positioning above and over the snow canvas. */
body.joueur > .fixed {
  position: fixed;
  z-index: 30;
}

body.joueur :focus,
body.joueur :focus-visible {
  outline: none;
}

.ecran {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 22px 16px 40px;
  text-align: center;
  box-sizing: border-box;
}

.logo {
  height: 34px;
  width: auto;
}

.dates {
  font: 700 12px/1 Montserrat, sans-serif;
  letter-spacing: 2px;
  color: #212851;
  background: #e8c77a;
  padding: 6px 10px;
  border-radius: 3px;
}

.titre {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-weight: 400;
}

.titre .script,
.quand .script {
  font-family: CaliceoHandscript, "Brush Script MT", cursive;
  font-weight: 400;
  color: #e8c77a;
  line-height: 1.5;
}

.titre .script {
  font-size: 64px;
}

.titre .ligne,
.quand .ligne {
  font-family: Jost, Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
}

.titre .ligne {
  font-size: 17px;
  line-height: 1.2;
}

.quand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.quand .script {
  font-size: 40px;
}

.quand .ligne {
  font-size: 22px;
}

.qui {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: #e8c77a;
}

.qui .prenom {
  color: #fff;
  font-weight: 400;
}

.journee {
  margin: 0;
  max-width: 100%;
  font: 700 clamp(15px, 4.8cqi, 22px)/1.15 Jost, Montserrat, sans-serif;
  color: #fff;
  white-space: nowrap;
}

.cadeau {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

.chapo,
.indice {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.55;
  color: #f6eedc;
}

.indice {
  font-size: 13px;
  color: #b9c7e4;
}

.chapo b,
.indice b {
  color: #e8c77a;
  font-weight: 600;
}

.annonce {
  margin: 0;
  font: 600 12px/1.3 Montserrat, sans-serif;
  color: #212851;
  background: #f6eedc;
  padding: 7px 28px;
  border-radius: 999px;
}

.fiche {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 16px;
  border-radius: 6px;
  background: rgba(22, 27, 56, 0.78);
  border: 1px solid rgba(232, 199, 122, 0.5);
  text-align: left;
}

.plein {
  grid-column: 1 / -1;
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font: 600 12px/1.2 Montserrat, sans-serif;
  letter-spacing: 0.5px;
  color: #b9c7e4;
}

.fiche input[type="text"],
.fiche input[type="email"],
.fiche input[type="tel"],
.fiche select,
.ligne-lien input {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 5px;
  border: 1px solid rgba(185, 199, 228, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 500 15px Montserrat, sans-serif;
}

.fiche select {
  background-image:
    linear-gradient(45deg, transparent 50%, #e8c77a 50%),
    linear-gradient(135deg, #e8c77a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.fiche select option {
  color: #212851;
  background: #fff;
}

.case {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 22px;
  font-size: 11px;
  line-height: 1.45;
  color: #f6eedc;
  cursor: pointer;
}

.case input {
  width: 24px;
  height: 24px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #e8c77a;
}

.case small,
.mention,
.legal {
  display: block;
  color: #b9c7e4;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.erreur {
  margin: 0;
  color: #ffb4b4;
  font-size: 12px;
  font-weight: 500;
}

.cta,
.bandeau button,
.ligne-lien button {
  appearance: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: #e8c77a;
  color: #212851;
  font: 700 14px/1 Montserrat, sans-serif;
  letter-spacing: 0.5px;
  min-height: 52px;
  padding: 0 20px;
  width: 100%;
}

a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 320px);
  border-radius: 999px;
  text-decoration: none;
}

.lien {
  appearance: none;
  background: none;
  border: 0;
  color: #b9c7e4;
  font: 500 12.5px Montserrat, sans-serif;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}

.suite {
  width: min(100%, 320px);
  margin: 0;
}

.pilule {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 320px);
  min-height: 48px;
  padding: 0 32px;
  border: 1px solid #e8c77a;
  border-radius: 999px;
  background: transparent;
  color: #e8c77a;
  font: 700 13px/1 Jost, Montserrat, sans-serif;
  letter-spacing: 0.4px;
  text-decoration: none;
  cursor: pointer;
}

.fantome {
  appearance: none;
  border: 1px solid rgba(185, 199, 228, 0.5);
  background: transparent;
  color: #fff;
  font: 600 13px/1 Montserrat, sans-serif;
  min-height: 44px;
  padding: 0 32px;
  border-radius: 999px;
  cursor: pointer;
}

.enveloppe {
  width: 64px;
  height: 64px;
  color: #e8c77a;
}

.neutre {
  margin: 0;
  max-width: 22em;
  text-align: center;
  font: 500 18px/1.35 Montserrat, sans-serif;
  color: #fff;
}

.demande {
  max-width: 640px;
}

.hero {
  width: min(74%, 300px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.grille {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.rubrique {
  margin: 8px 0 0;
  font: 700 12px/1.2 Montserrat, sans-serif;
  letter-spacing: 2.5px;
  color: #e8c77a;
}

.cadre {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  border: 0;
  margin: 0;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, #b8924a 0%, #f2db9a 22%, #a88340 46%, #eed39a 70%, #b68f48 100%);
  border-radius: 3px;
  box-shadow: 0 10px 22px rgba(5, 8, 25, 0.45);
}

.cadre.grand {
  padding: 7px;
}

.photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1c2a5e;
  box-shadow: inset 0 0 0 1px rgba(90, 64, 24, 0.5);
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.puce {
  position: absolute;
  left: 6px;
  top: 6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 11px;
  background: rgba(22, 27, 56, 0.72);
  color: #e8c77a;
  font: 700 12px/22px Jost, Montserrat, sans-serif;
  text-align: center;
}

.dorure {
  position: relative;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #5a4018;
  background: linear-gradient(135deg, #c9a45c 0%, #f3dda0 30%, #b88e45 55%, #eed39a 80%, #bf9850 100%);
}

.dorure::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.35) 0 1.5px, transparent 2px),
    radial-gradient(circle at 74% 30%, rgba(255, 255, 255, 0.35) 0 1.5px, transparent 2px),
    radial-gradient(circle at 40% 78%, rgba(255, 255, 255, 0.35) 0 1.5px, transparent 2px),
    radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.35) 0 1.5px, transparent 2px);
}

.dorure .n,
.dorure .m {
  position: relative;
}

.dorure .n {
  font: 700 clamp(30px, 10vw, 44px) / 1 Jost, Montserrat, sans-serif;
}

.dorure .m {
  font: 700 12px/1 Montserrat, sans-serif;
  letter-spacing: 0.5px;
}

.cadre.aujourdhui,
.cadre.attente,
.hero .cadre {
  box-shadow:
    0 0 0 3px rgba(232, 199, 122, 0.25),
    0 0 26px rgba(232, 199, 122, 0.6),
    0 10px 22px rgba(5, 8, 25, 0.45);
}

/* The glow is painted outside the card and does not take layout space. */
.hero .cadre {
  margin-block: 48px;
}

.cadre.aujourdhui::after,
.cadre.attente::after,
.hero .cadre::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 0 0 3px rgba(232, 199, 122, 0.35),
    0 0 38px rgba(232, 199, 122, 0.85);
  animation: lueur 2.2s ease-in-out infinite;
}

[data-grattage] canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.etiquette {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  margin: 0;
  padding: 8px 6px;
  border-radius: 4px;
  background: rgba(22, 27, 56, 0.86);
  border: 1px solid #e8c77a;
  color: #fff;
  font: 700 12px/1.25 Montserrat, sans-serif;
  text-align: center;
}

.etiquette b {
  display: block;
  color: #e8c77a;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.conseil {
  display: block;
}

.conseil summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

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

.fond-conseil {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  padding: 0;
  background: rgba(8, 10, 24, 0.6);
  cursor: pointer;
}

.feuille-conseil {
  position: fixed;
  z-index: 41;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 480px);
  max-height: 78vh;
  overflow: auto;
  box-sizing: border-box;
  padding: 0 0 28px;
  text-align: left;
  background: linear-gradient(180deg, #252e5e 0%, #161b38 100%);
  border-top: 2px solid #e8c77a;
  border-radius: 14px 14px 0 0;
}

.feuille-conseil .visuel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.feuille-conseil .texte-conseil {
  padding: 18px 16px 0;
}

.feuille-conseil h2 {
  margin: 0 0 8px;
  color: #e8c77a;
  font-size: 16px;
}

.fermer-conseil {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  appearance: none;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 27, 56, 0.8);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.bandeau {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border-radius: 6px;
  background: #e8c77a;
  color: #212851;
  text-align: left;
}

.bandeau .texte {
  flex: 1;
  font-size: 12px;
  line-height: 1.35;
}

.bandeau .texte b {
  display: block;
  font: 700 15px/1.2 Jost, Montserrat, sans-serif;
  letter-spacing: 1.5px;
}

.bandeau button {
  width: auto;
  min-height: 44px;
  border-radius: 999px;
  background: #212851;
  color: #e8c77a;
  font-size: 12px;
}

.pastille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 199, 122, 0.7);
  background: rgba(232, 199, 122, 0.1);
  color: #e8c77a;
  font: 600 13px/1.2 Montserrat, sans-serif;
  min-height: 44px;
  padding: 8px 32px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
}

.annonce,
.hero,
.bandeau,
.pastille,
.carte,
.cadre:not(.conseil) {
  position: relative;
  z-index: 3;
}

/* The advice sheet is fixed inside the cell. The cell itself must not
   become a stacking context, or the sheet stays under the draw cards. */
.conseil summary {
  position: relative;
  z-index: 3;
}

.carte {
  width: 100%;
  box-sizing: border-box;
  padding: 48px 40px 40px;
  border-radius: 22px;
  background: #121738;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.kicker {
  font: 700 12px/1.2 Montserrat, sans-serif;
  letter-spacing: 2.5px;
  color: #e8c77a;
}

.compte {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.compte b {
  font: 700 46px/1 Jost, Montserrat, sans-serif;
  color: #e8c77a;
}

.compte span,
.sous {
  margin: 0;
  font: 600 14px Montserrat, sans-serif;
}

.points {
  display: flex;
  gap: 6px;
}

.points i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #e8c77a;
  box-sizing: border-box;
}

.points i.on {
  background: #e8c77a;
}

.ligne-lien {
  width: 100%;
  display: flex;
  gap: 8px;
}

.ligne-lien button {
  width: auto;
  min-height: 46px;
  font-size: 12.5px;
}

#panneau-fond {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  background: rgba(8, 10, 24, 0.6);
}

#panneau {
  position: fixed;
  z-index: 41;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 480px);
  margin-inline: auto;
  max-height: 88vh;
  overflow-y: auto;
  box-sizing: border-box;
  background: linear-gradient(180deg, #252e5e 0%, #161b38 100%);
  border-top: 2px solid #e8c77a;
  border-radius: 14px 14px 0 0;
  padding: 0 0 22px;
  text-align: center;
  color: #f6eedc;
}

#panneau-fermer {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  appearance: none;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 27, 56, 0.8);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

#panneau .recompense {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  text-align: center;
}

#panneau .visuel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 8px;
  overflow: hidden;
}

#panneau .recompense .script {
  margin: 0;
  font-size: 48px;
  line-height: 1;
}

#panneau .recompense h2 {
  margin: 0;
  font: 700 22px/1.2 Jost, Montserrat, sans-serif;
  color: #fff;
}

#panneau .recompense p {
  margin: 0;
  max-width: 36ch;
}

@keyframes lueur {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cadre.aujourdhui::after,
  .cadre.attente::after,
  .hero .cadre::after {
    animation: none;
    opacity: 0;
  }
}

.accueil {
  width: min(100%, 980px);
  margin: 0 auto;
  color: #fff;
}

/* 680px keeps the smallest type inside the top 40% of the photo.
   The face sits near the middle of the 2400×1443 frame, so the copy
   never reaches it. The type then grows with the banner height. */
.banniere {
  position: relative;
  container-type: size;
  box-sizing: border-box;
  width: calc(100vw - 2em);
  height: max(680px, calc(100vh - 2em));
  min-height: max(680px, calc(100vh - 2em));
  margin: 1em 0 0 calc(50% - 50vw + 1em);
  padding: 1em;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banniere > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.banniere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 20, 48, 0.55) 0%,
    rgba(16, 20, 48, 0.18) 46%,
    rgba(16, 20, 48, 0) 72%
  );
  pointer-events: none;
}

/* Same bar as the home page, on the page background. No photo. */
.entete {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: calc(100vw - 2em);
  margin: 1em 0 0 calc(50% - 50vw + 1em);
  padding: 1em;
}

.barre,
.accroche {
  position: relative;
  z-index: 1;
}

.barre {
  display: flex;
  box-sizing: border-box;
  align-self: flex-start;
  width: var(--colonne);
  max-width: none;
  margin-left: calc((100vw - var(--colonne)) / 2 - 2em);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
}

.barre .retour {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.barre .logo {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(40px, calc(0.08 * (max(680px, 100vh - 2em) - 2em)), 72px);
  object-fit: contain;
}

.barre nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font: 500 13px/1 Montserrat, sans-serif;
}

.barre nav a:not(.icone) {
  margin-inline-end: calc(2em - 10px);
}

.barre nav a {
  color: #fff;
  text-decoration: none;
}

.barre .icone {
  display: inline-flex;
  width: 25px;
  height: 25px;
}

.barre .icone svg {
  width: 25px;
  height: 25px;
  fill: #fff;
}

.accroche {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1cqb, 12px);
  padding: clamp(8px, 2cqb, 24px) 0 0;
  text-align: center;
  text-shadow: 0 2px 18px rgba(8, 12, 32, 0.45);
}

.periode {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 1.5cqb, 15px);
  line-height: 1.2;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #fff;
}

.badge {
  display: inline-block;
  margin: 0.55em 0 0.9em;
  padding: 0.45em 1.15em;
  border-radius: 8px;
  background: #e8c77a;
  color: #212851;
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 2cqb, 18px);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.accroche h1 {
  margin: 0.4em 0 0.2em;
  font-family: CaliceoHandscript, "Brush Script MT", cursive;
  font-size: clamp(18px, min(7cqb, 7.2cqw), 104px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  color: #e8c77a;
  transform: rotate(-3deg);
  transform-origin: center;
}

.soustitre {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 2.1cqb, 22px);
  line-height: 1.25;
  color: #fff;
}

.lot {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 2.4cqb, 26px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.inscription {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 36px 16px 48px;
}

.marque-bord {
  position: absolute;
  top: 50%;
  z-index: 0;
  width: min(62vh, 520px);
  height: auto;
  pointer-events: none;
}

.marque-bord.gauche {
  left: calc(50% - 50vw);
  transform: translate(-58%, -50%);
}

.marque-bord.droite {
  right: calc(50% - 50vw);
  transform: translate(58%, -50%) scaleX(-1);
}

.invite {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 38em;
  text-align: center;
  font: 500 18px/1.45 Montserrat, sans-serif;
}

.invite b {
  font-weight: 700;
}

.invite b.or {
  color: #e8c77a;
}

.accueil .fiche,
.demande .fiche {
  position: relative;
  z-index: 3;
  width: min(100%, 640px);
  max-width: 640px;
  border: 0;
  border-radius: 22px;
  background: #121738;
  box-shadow: none;
  padding: 56px 72px 40px;
  gap: 16px 28px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.accueil .fiche input[type="text"],
.accueil .fiche input[type="email"],
.accueil .fiche input[type="tel"],
.demande .fiche input[type="email"] {
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #212851;
  font-size: 13px;
  letter-spacing: 0.4px;
}

.accueil .fiche input::placeholder,
.demande .fiche input::placeholder {
  color: #8e98ae;
  letter-spacing: 0.6px;
}

.accueil .fiche select {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2310162f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.2L6 6.2 11 1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  color: #8e98ae;
  font-size: 13px;
  letter-spacing: 0.4px;
  padding-right: 40px;
}

.accueil .fiche select:valid {
  color: #212851;
}

.accueil .case small {
  color: #e8c77a;
  font-size: 11px;
}

.accueil .mention {
  text-align: center;
  font-size: 10px;
  line-height: 1.45;
}

.accueil .mention + .mention {
  margin-top: 8px;
}

.accueil .mention a {
  color: #b9c7e4;
}

@media (max-width: 767px) {
  body.joueur {
    --colonne: min(1120px, calc(100vw - 32px));
  }

  .banniere {
    width: calc(100vw - 2em);
    height: auto;
    min-height: 680px;
    padding: 1em;
  }

  .barre {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .barre nav {
    order: -1;
    justify-content: center;
    font-size: 0.9em;
    gap: 20px;
  }

  .barre nav a:not(.icone) {
    margin-inline-end: 0;
  }

  .barre .logo {
    width: auto;
    height: auto;
    max-width: 83%;
    max-height: calc((680px - 2em) * 0.08);
    margin-top: 0.5em;
  }

  .marque-bord {
    display: none;
  }

  .inscription {
    padding: 32px 24px 48px;
  }

  .accueil .fiche,
  .demande .fiche {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 52px 76px 40px;
    gap: 16px;
  }

  .accueil .case {
    font-size: 11px;
    gap: 10px;
  }

  .accueil .case small {
    font-size: 11px;
  }

  .accueil .fiche input[type="text"],
  .accueil .fiche input[type="email"],
  .accueil .fiche input[type="tel"],
  .accueil .fiche select,
  .demande .fiche input[type="email"] {
    font-size: 12px;
    letter-spacing: 0.2px;
  }
}

@media (max-width: 720px) {
  .invite {
    font-size: 15px;
  }
}

.accueil .case a,
.legal a,
.reglement a {
  color: #e8c77a;
}

.reglement {
  align-items: stretch;
  max-width: 720px;
  text-align: left;
  gap: 12px;
}

.reglement .marque {
  align-self: center;
}

.reglement .chapeau,
.reglement h1,
.reglement .sous {
  margin: 0;
  text-align: center;
}

.reglement .chapeau {
  color: #e8c77a;
  font: 700 12px/1.4 Jost, Montserrat, sans-serif;
  letter-spacing: 1.5px;
}

.reglement h1 {
  font: 400 46px/1.7 CaliceoHandscript, "Brush Script MT", cursive;
  color: #e8c77a;
}

.reglement .sous {
  color: #f6eedc;
  font-size: 14px;
  line-height: 1.45;
}

.reglement h2 {
  margin: 22px 0 0;
  color: #e8c77a;
  font: 700 15px/1.35 Jost, Montserrat, sans-serif;
}

.reglement p,
.reglement li {
  margin: 0;
  color: #f6eedc;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.reglement ul {
  margin: 0;
  padding-left: 1.2em;
}

.reglement ul:empty {
  display: none;
}

.pied {
  box-sizing: border-box;
  container-type: inline-size;
  width: var(--colonne);
  margin: 43px auto 48px;
  text-align: center;
}

.pied-script {
  margin: 0.3em 0 1.4em;
  font-family: CaliceoHandscript, "Brush Script MT", cursive;
  font-size: clamp(16px, 4.7cqw, 56px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  color: #e8c77a;
  transform: rotate(-3deg);
  transform-origin: center;
}

.pied h2 {
  margin: 18px 0 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.pied-liste {
  margin: 10px auto 0;
  max-width: 46em;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

.pied-liste b {
  font-weight: 700;
}

.pied-grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 36px;
  text-align: left;
}

.tuile {
  position: relative;
  z-index: 3;
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #1a1e36;
  text-decoration: none;
  color: #fff;
}

.tuile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tuile:hover img,
.tuile:focus-visible img {
  transform: scale(1.1);
}

.tuile-voile {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4) 50%, transparent);
  pointer-events: none;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tuile:hover .tuile-voile,
.tuile:focus-visible .tuile-voile {
  height: 66.666%;
}

.tuile-texte {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 2rem 4.5rem 3rem 2rem;
}

.tuile-titre,
.tuile-lieu {
  display: block;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  text-align: left;
  color: #fff;
}

.tuile-titre {
  padding-bottom: 0.25rem;
  font-size: 1.5rem;
  line-height: 1.15;
}

.tuile-lieu {
  font-size: 1rem;
  line-height: 1.3;
}

.tuile-plus {
  position: absolute;
  z-index: 2;
  right: 2.5rem;
  bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #fff;
  color: #6b7280;
  font-size: 1.25rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .pied-grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tuile img {
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 992px) {
  .pied-grille {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .pied-grille {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .tuile-titre {
    font-size: 1.875rem;
  }

  .tuile-lieu {
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .pied {
    margin-top: 32px;
  }

  .tuile-texte {
    padding: 1.25rem 3.4rem 1.6rem 1.25rem;
  }

  .tuile-titre {
    font-size: 1.25rem;
  }

  .tuile-plus {
    right: 1.25rem;
    bottom: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tuile img,
  .tuile-voile {
    transition: none;
  }
}
