/* Les pages légales de Viedex, dans l'apparence du jeu : son fond sombre, ses polices, l'étoile et le nom en haut,
   qui ramènent au jeu. Écrites par outils/viedex-pages-legales.mjs. */
* { box-sizing: border-box; margin: 0; }
:root { --fond: #111114; --surface: #1a1a1f; --trait: #2e2e37; --texte: #f4f2f8; --doux: #9d99a9; --or2: #f2b33a; }
html, body { background: var(--fond); color: var(--texte); font-family: Inter, sans-serif; }
body { min-height: 100svh; background: radial-gradient(120% 50% at 50% 0%, #1d1830 0%, var(--fond) 60%) var(--fond); }
a { color: inherit; }
header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 18px 12px; background: var(--fond); border-bottom: 1px solid var(--trait); }
.marque { display: inline-flex; align-items: center; gap: 9px; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 21px; letter-spacing: -.02em; text-decoration: none; }
.marque img { width: 28px; }
.retour { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--trait); font-weight: 800; font-size: 13px; text-decoration: none; }
.retour:hover { background: #23232a; }
main { max-width: 760px; margin: 0 auto; padding: 22px 18px max(40px, env(safe-area-inset-bottom)); }
h1 { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 36px; letter-spacing: -.03em; line-height: 1.05; }
.chapo { color: #c9c3d6; font-size: 16px; font-weight: 600; line-height: 1.45; margin-top: 10px; }
section { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--trait); }
h2 { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 19px; letter-spacing: -.015em; color: var(--or2); }
section p { font-size: 14.5px; line-height: 1.6; color: #d9d5e3; margin-top: 8px; }
section p b { color: var(--texte); }
.maj { color: var(--doux); font-size: 13px; margin-top: 22px; }
.autres { color: var(--doux); font-size: 13px; margin-top: 8px; }
/* le jeu installé : la bande fixe qui retire le flou de l'iPhone en haut, comme dans le jeu */
#bande-du-haut { display: none; }
@media (display-mode: standalone) { #bande-du-haut { position: fixed; top: 0; left: 0; right: 0; height: 8px; z-index: 2147483000; display: block; background: var(--fond); pointer-events: none; } }
/* le bouton qui ramène au jeu, dans les pages des prénoms, « Comment jouer » et la page introuvable */
.bouton { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; margin-top: 4px; border-radius: 14px; background: linear-gradient(180deg, #ffe08a, #f2b33a 55%, #d99a1f); color: #2a1a00; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 4px 0 #8a5a08; }
.bouton:hover { filter: brightness(1.06); }
.bouton:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a5a08; }
