/* Polices du site, servies par le site lui-même (sous-ensemble latin, polices
   variables) : affichage plus rapide et disponibles hors connexion. */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/polices/cinzel.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/polices/jost.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/polices/lora.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/polices/lora-italique.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url(/polices/playfair-500.woff2) format('woff2'); }
@font-face { font-family: 'Poiret One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/polices/poiret-one.woff2) format('woff2'); }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap; src: url(/polices/spectral-400.woff2) format('woff2'); }

/* Enseignes des lands (titres seulement, alphabet réduit : lettres, accents, chiffres).
   Chaque police ne se télécharge que sur une page qui l'utilise. */
@font-face { font-family: 'Enseigne Main Street'; src: url(/polices/enseigne-main-street.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Enseigne Frontier'; src: url(/polices/enseigne-frontier.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Enseigne Adventure'; src: url(/polices/enseigne-adventure.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Enseigne Fantasy'; src: url(/polices/enseigne-fantasy.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Enseigne Discovery'; src: url(/polices/enseigne-discovery.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Enseigne Studio'; src: url(/polices/enseigne-studio.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Enseigne Avengers'; src: url(/polices/enseigne-avengers.woff2) format('woff2'); font-display: swap; }

/* Pages qui se tournent : en passant d'une page à l'autre, un fondu doré
   (l'ancienne page jaunit et s'efface, la nouvelle sort du sépia). Aucun
   script ; sans effet si le navigateur ne sait pas faire, ou en mode batterie. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms ease-in both pageSort; }
::view-transition-new(root) { animation: 380ms ease-out both pageEntre; }
@keyframes pageSort { to { opacity: 0; filter: sepia(.85) brightness(1.18) saturate(1.2); } }
@keyframes pageEntre { from { opacity: 0; filter: sepia(.85) brightness(1.18) saturate(1.2); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
html[data-batterie]::view-transition-old(root), html[data-batterie]::view-transition-new(root) { animation: none; }
