/* qlipe.com : ce que l'accueil et les pages du site partagent. */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600 800; font-display: swap; src: url('/polices/bricolage-grotesque-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500 800; font-display: swap; src: url('/polices/inter-latin.woff2') format('woff2'); }

:root {
  --fond: #f6f2ea;
  --papier: #ffffff;
  --encre: #1c1533;
  --doux: #6b6480;
  --trait: #e6dfd2;
  --violet: #8b5cf6;
  --violet-fonce: #6d3fd8;
  --violet-pale: #efe8ff;
  --titre: 'Bricolage Grotesque', system-ui, sans-serif;
  --texte: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--fond); color: var(--encre); font-family: var(--texte); font-weight: 500; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

/* la barre du haut, la même sur l'accueil et dans chaque jeu */
.barre { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.marque { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.marque img { width: 34px; height: 34px; border-radius: 10px; display: block; }
.marque b { font-family: var(--titre); font-weight: 800; font-size: 21px; letter-spacing: 0.055em; }
.barre .vide { flex: 1; }

/* le gros bouton, épais comme une touche */
.gros { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 16px;
  background: var(--violet); color: #fff; font-family: var(--titre); font-weight: 800; font-size: 19px;
  box-shadow: 0 5px 0 var(--violet-fonce); transform: translateY(0); transition: transform .06s, box-shadow .06s; text-decoration: none; }
.gros:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--violet-fonce); }
@media (hover: hover) { .gros:hover { background: #9a70f8; } }
.leger { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 14px;
  background: var(--papier); font-weight: 700; font-size: 15px; box-shadow: 0 3px 0 var(--trait), inset 0 0 0 2px var(--trait); }
.leger:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--trait), inset 0 0 0 2px var(--trait); }

/* l'icône d'un jeu, carrée et arrondie comme une appli */
.icone { aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.14), 0 3px 0 rgba(28,21,51,.10); }
.icone .em { font-size: 52cqw; line-height: 1; filter: drop-shadow(0 3px 0 rgba(0,0,0,.18)); }
.icone-boite { container-type: inline-size; }

.nombre { font-variant-numeric: tabular-nums; }
