/* Top of the World en ligne : police servie par le site, présentation sous l'écran d'accueil, pages légales,
   pied de page et bandeau de consentement. Mêmes couleurs que le jeu (style.css). */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/jeu/polices/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/jeu/polices/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.presentation, .page-texte { max-width: 640px; margin: 0 auto; padding: 8px 16px 24px; font-size: 16.5px; line-height: 1.55; }
.presentation h2, .page-texte h2 { margin: 28px 0 8px; font-size: 22px; line-height: 1.2; font-weight: 900; }
.presentation h3 { margin: 18px 0 4px; font-size: 17px; font-weight: 800; }
.presentation p, .page-texte p { margin: 0 0 10px; }
.presentation ol, .presentation ul, .page-texte ul { margin: 0 0 12px; padding-left: 22px; }
.presentation li, .page-texte li { margin: 0 0 8px; }
.presentation figure { margin: 16px 0 6px; }
.presentation figure img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--filet); }
.presentation figcaption { margin-top: 6px; font-size: 14px; color: var(--gris); font-weight: 600; }
.presentation .genres { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.presentation .genres li { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--blanc); font-size: 14.5px; line-height: 1.3; }
.presentation .btn { margin: 22px 0 6px; background: var(--corail); }
.presentation-tete { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; color: var(--gris); font-size: 13px; font-weight: 800; }

.pied { max-width: 640px; margin: 0 auto; padding: 18px 16px max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--filet);
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 14px; font-weight: 700; }
.pied a, .pied button { color: var(--gris); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.pied a:hover, .pied button:hover { color: var(--encre); text-decoration: underline; }

.page-texte { padding-top: 20px; }
.page-texte h1 { margin: 16px 0 6px; font-size: 30px; line-height: 1.1; font-weight: 900; }
.page-texte a { color: var(--corail); font-weight: 700; }
.retour-jeu { display: inline-block; margin-top: 4px; padding: 10px 14px; border-radius: 10px; background: var(--encre); color: var(--blanc) !important; text-decoration: none; font-weight: 800; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font-weight: 900; font-size: 18px; }
.marque img { width: 36px; height: 36px; border-radius: 9px; }

.partage-ok { margin: 4px 0 0; text-align: center; font-weight: 700; color: var(--gris); font-size: 14px; word-break: break-all; }

.consent-banner { position: fixed; z-index: 50; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(560px, calc(100% - 24px)); padding: 14px; border-radius: 16px; background: var(--blanc); color: var(--encre);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); display: grid; gap: 10px; font-size: 14px; line-height: 1.4; }
.consent-banner p { margin: 4px 0; }
.consent-banner a { color: var(--corail); font-weight: 700; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions button { flex: 1; padding: 11px 10px; border-radius: 10px; border: 2px solid var(--encre); background: var(--blanc); font-weight: 800; }
.consent-actions button[data-choice="yes"] { background: var(--encre); color: var(--blanc); }
