/* 0.78 : « Pas maintenant ? Je t'envoie le lien. » (src/rappel-lien.js). Chargée par la page du jeu et par l'appli :
   elle ne lit aucune variable de l'une ou de l'autre (ses couleurs sont celles du thème neon, écrites ici).
   Rien sous 14 points ; le champ à 17 (sous 16, l'iPhone agrandit la page en y entrant). */
.rappel-ouvrir { display: block; margin: 10px auto 0; padding: 10px 14px; min-height: 44px; border: 0; background: none; font: 600 15px/1.3 Inter, Barlow, system-ui, -apple-system, sans-serif; color: #E4DFF5; text-decoration: underline; text-decoration-color: rgba(228,223,245,.45); text-underline-offset: 4px; text-align: center; cursor: pointer; }
.rappel-ouvrir:focus-visible { outline: 2px solid #FFD166; outline-offset: 2px; border-radius: 10px; }
/* L'écran de départ du premier round sur un téléphone court (360 × 640, beaucoup d'Android) : le lien ferait remonter
   les consignes sur la démonstration d'Alloy (52 % de la vidéo laissés libres au lieu de 62 %, sous les 60 % voulus).
   Il n'y est pas ; il reste sur l'affiche, la page de la caméra et après la remise des badges. */
@media (max-height: 699px) { .depart-rappel { display: none; } }

html.rappel-ouvert, html.rappel-ouvert body { overflow: hidden; }
.rappel-lien { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center; font-family: Inter, Barlow, system-ui, -apple-system, sans-serif; }
.rappel-fond { position: absolute; inset: 0; background: rgba(6,6,16,.74); }
@media (prefers-reduced-motion: no-preference) { .rappel-feuille { animation: rappel-monte .24s ease-out; } }
@keyframes rappel-monte { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.rappel-feuille { position: relative; box-sizing: border-box; width: min(100%, 480px); max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; border: 1.5px solid #2E2A55; border-bottom: 0; background: #16142E; color: #FFF4E6; box-shadow: 0 -12px 40px rgba(0,0,0,.5); }
.rappel-fermer { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 22px; background: transparent; color: #BDB8DA; cursor: pointer; }
.rappel-fermer svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.rappel-tete { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.rappel-tete img { flex: none; width: 48px; height: 48px; border-radius: 24px; border: 2px solid #FF3D9A; object-fit: cover; }
.rappel-tete h2 { margin: 0; font: 400 clamp(22px, 6.4vw, 27px)/1.08 Bungee, Anton, Impact, sans-serif; color: #FFF4E6; outline: none; }
.rappel-tete h2 em { font-style: normal; color: #FFD166; }
.rappel-chapo { margin: 0; font-size: 16px; line-height: 1.4; color: #E4DFF5; }
.rappel-champ { display: flex; flex-direction: column; gap: 6px; }
.rappel-champ span { font: 700 14px/1.1 Inter, Barlow, system-ui, sans-serif; letter-spacing: .06em; color: #BDB8DA; }
.rappel-champ input { box-sizing: border-box; width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #3A3566; background: #0B0B1A; font: 500 17px/1.2 Inter, Barlow, system-ui, sans-serif; color: #FFF4E6; }
.rappel-champ input:focus { outline: none; border-color: #FFD166; box-shadow: 0 0 0 3px rgba(255,209,102,.2); }
.rappel-accord { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 15px; line-height: 1.35; color: #E4DFF5; cursor: pointer; }
.rappel-accord input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: #FFD166; }
.rappel-vie { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: -8px; font-size: 15px; color: #2EE6D6; }
.rappel-dit { margin: 0; min-height: 0; font-size: 15px; line-height: 1.35; color: #E4DFF5; }
.rappel-dit:empty { display: none; }
.rappel-dit.alerte { color: #FF8FC4; }
.rappel-envoyer { display: grid; place-items: center; min-height: 58px; border: 0; border-radius: 16px; background: linear-gradient(90deg, #FFD166, #FF3D9A); box-shadow: 0 5px 0 #8A1457; color: #1A0B1F; cursor: pointer; }
.rappel-envoyer b { font: 400 20px/1 Bungee, Anton, Impact, sans-serif; letter-spacing: .02em; }
.rappel-envoyer:active { transform: translateY(3px); box-shadow: 0 2px 0 #8A1457; }
.rappel-envoyer:disabled { opacity: .7; }
.rappel-envoyer:focus-visible, .rappel-fermer:focus-visible, .rappel-vie:focus-visible { outline: 2px solid #FFD166; outline-offset: 2px; }
/* 27 novembre : « Le prochain quartier arrive. Je te préviens ? » sous le mot d'Alloy du bilan d'un boss battu (src/main.js). */
#bilan-rappel { display: flex; justify-content: center; }
#bilan-rappel .boss-lien { margin: 2px auto 0; padding: 6px 12px; min-height: 40px; font-size: 14px; }
/* 27 novembre, « DEVIENS TESTEUR » : Alloy tend la carte en haut de la feuille, puis les trois avantages. L'image se
   resserre sur un écran court, et s'efface sous 640 points de haut : le champ et le bouton restent à l'écran. */
.rappel-image { display: block; width: calc(100% + 36px); margin: -20px -18px 0; height: clamp(110px, 22vh, 190px); object-fit: cover; object-position: 40% 30%; border-radius: 22px 22px 0 0; }
.rappel-avantages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rappel-avantages li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; color: #FFF4E6; }
.rappel-avantages li span { flex: none; width: 22px; text-align: center; }
@media (max-height: 640px) { .rappel-image { display: none; } }
.rappel-feuille .rappel-fermer { z-index: 1; background: rgba(11,11,26,.62); color: #FFF4E6; }
