/* Poki France — "Menthe": one mosaic of very round game squares on pale mint, a navy pill floating on top */
@font-face{font-family:Nunito;font-weight:400;font-display:swap;src:url(/fonts/nunito-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Nunito;font-weight:400;font-display:swap;src:url(/fonts/nunito-400-ext.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Nunito;font-weight:800;font-display:swap;src:url(/fonts/nunito-800.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Nunito;font-weight:800;font-display:swap;src:url(/fonts/nunito-800-ext.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Nunito;font-weight:900;font-display:swap;src:url(/fonts/nunito-900.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Nunito;font-weight:900;font-display:swap;src:url(/fonts/nunito-900-ext.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --menthe:#e9f7f1;--menthe-2:#d2eee2;--marine:#1b2a6b;--marine-2:#2b3d8c;--tomate:#ff6347;--tomate-d:#c8391f;
  --encre:#18234f;--gris:#4a5679;--blanc:#fff;
  --r:24px;--gap:14px;--ombre:0 2px 8px rgba(27,42,107,.10),0 1px 2px rgba(27,42,107,.08);--ombre-h:0 14px 28px rgba(27,42,107,.24);
  --pad:24px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:90px}
body{margin:0;min-height:100vh;padding-top:84px;font:400 16px/1.6 Nunito,system-ui,sans-serif;color:var(--encre);background:var(--menthe)}
img{display:block;max-width:100%}
a{color:var(--marine-2)}
h1,h2,h3{font-weight:900;line-height:1.15;margin:0 0 .5em;color:var(--marine)}
:focus-visible{outline:3px solid var(--tomate);outline-offset:3px}
.evite{position:absolute;left:-999px;top:8px;z-index:60;background:var(--blanc);color:var(--marine);padding:10px 16px;border-radius:999px;font-weight:800}
.evite:focus{left:12px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.scene-p{display:block;padding:0 var(--pad) 8px}

/* the floating pill */
.pilule{position:fixed;top:12px;left:50%;z-index:40;transform:translateX(-50%);display:flex;align-items:center;gap:6px;
  max-width:calc(100% - 24px);height:56px;padding:6px 6px 6px 18px;border-radius:999px;background:var(--marine);color:var(--blanc);
  box-shadow:0 10px 30px rgba(27,42,107,.28);white-space:nowrap}
.pilule-logo{display:block;flex:none;color:var(--blanc);line-height:0;margin-right:8px;border-radius:12px}
.pilule-logo .marque{width:auto;height:30px}
.tiroir{flex:none}
.tiroir summary{display:flex;align-items:center;gap:8px;height:44px;padding:0 18px 0 14px;border-radius:999px;background:rgba(255,255,255,.12);
  color:var(--blanc);font-weight:800;font-size:15px;cursor:pointer;list-style:none;user-select:none;transition:background-color .15s}
.tiroir summary::-webkit-details-marker{display:none}
.tiroir summary:hover{background:rgba(255,255,255,.2)}
.tiroir[open] summary{background:var(--tomate);color:var(--marine)}
.tiroir-i{width:18px;height:18px}
.tiroir-p{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:min(640px,calc(100vw - 24px));
  display:flex;flex-wrap:wrap;gap:8px;padding:16px;border-radius:var(--r);background:var(--blanc);box-shadow:var(--ombre-h);white-space:normal;
  max-height:calc(100vh - 100px);overflow-y:auto}
.tiroir-p a{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:8px 16px;border-radius:999px;background:var(--menthe);
  color:var(--marine);font-weight:800;font-size:15px;text-decoration:none}
.tiroir-p a:hover,.tiroir-p a[aria-current]{background:var(--marine);color:var(--blanc)}
.tiroir-p .tiroir-tout{background:var(--tomate);color:var(--marine)}
.tiroir-p small{font-size:12px;opacity:.8}
.langues{display:flex;flex:none;gap:2px;padding:3px;border-radius:999px;background:rgba(255,255,255,.12)}
.langues a{display:inline-flex;align-items:center;height:40px;padding:0 12px;border-radius:999px;color:var(--blanc);font-weight:800;font-size:14px;text-decoration:none}
.langues a .flag{margin-right:6px}
.langues a:hover{background:rgba(255,255,255,.16)}
.langues a[aria-current]{background:var(--blanc);color:var(--marine)}

/* the slim line with the H1 and the lead */
.ligne{max-width:1800px;margin:0 auto 18px;display:grid;grid-template-columns:minmax(240px,32%) 1fr;gap:6px 28px;align-items:center;padding:4px 6px 0}
.ligne h1{margin:0;font-size:clamp(22px,2vw,30px)}
.ligne p{margin:0;font-size:15px;line-height:1.5;color:var(--gris)}
.ligne .fil{grid-column:1/-1;margin:0}
.ligne-n{display:inline-block;margin-left:6px;padding:1px 10px;border-radius:999px;background:var(--menthe-2);color:var(--marine);font-weight:800;font-size:13px}
.ligne-btn{margin-top:12px!important}

/* the mosaic */
.toile{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));grid-auto-flow:dense;gap:var(--gap);max-width:1800px;margin:0 auto}
.carre{position:relative;display:block;aspect-ratio:1;border-radius:var(--r);overflow:hidden;background:var(--blanc);box-shadow:var(--ombre);
  transition:transform .18s ease,box-shadow .18s ease}
.carre img{width:100%;height:100%;object-fit:cover}
.carre.x2{grid-column:span 2;grid-row:span 2}
.carre.x3{grid-column:span 3;grid-row:span 3}
.carre-nom{position:absolute;left:8px;right:8px;bottom:8px;padding:6px 10px;border-radius:14px;background:rgba(27,42,107,.9);color:var(--blanc);
  font-weight:800;font-size:13px;line-height:1.25;text-align:center;opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.x2 .carre-nom,.x3 .carre-nom{font-size:16px;padding:8px 14px;left:12px;right:12px;bottom:12px}
.carre:hover,.carre:focus-visible{transform:translateY(-4px) scale(1.05);box-shadow:var(--ombre-h);z-index:2}
.carre.x2:hover,.carre.x3:hover,.carre.x2:focus-visible,.carre.x3:focus-visible{transform:translateY(-4px) scale(1.025)}
.carre:hover .carre-nom,.carre:focus-visible .carre-nom{opacity:1;transform:none}

.vedette{position:relative;display:block;grid-column:span 4;grid-row:span 2;min-height:100%;border-radius:var(--r);overflow:hidden;background:var(--marine);
  box-shadow:var(--ombre);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.vedette img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vedette-bas{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:40px 18px 16px;
  background:linear-gradient(180deg,rgba(27,42,107,0),rgba(27,42,107,.86))}
.vedette-bas b{color:var(--blanc);font-weight:900;font-size:clamp(18px,1.7vw,26px);line-height:1.15}
.vedette-go{flex:none;padding:9px 18px;border-radius:999px;background:var(--tomate);color:var(--marine);font-weight:900;font-size:15px}
.vedette:hover,.vedette:focus-visible{transform:translateY(-4px) scale(1.015);box-shadow:var(--ombre-h);z-index:2}

/* collection chips: a strip inside the mosaic */
.bande{grid-column:1/-1;display:flex;align-items:center;gap:16px;min-width:0;padding:12px 14px 12px 22px;border-radius:var(--r);background:var(--blanc);box-shadow:var(--ombre)}
.bande-t{flex:none;margin:0;font-size:15px;color:var(--marine)}
.bande-r{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.puce{display:inline-flex;flex:none;align-items:center;gap:9px;min-height:46px;padding:5px 8px 5px 5px;border-radius:999px;background:var(--menthe);
  color:var(--marine);font-weight:800;font-size:15px;line-height:1.2;text-decoration:none;transition:transform .15s ease,background-color .15s ease}
.puce img{width:36px;height:36px;border-radius:50%;object-fit:cover}
.puce small{padding:2px 9px;border-radius:999px;background:var(--blanc);color:var(--gris);font-size:12px;font-weight:800}
.puce:hover,.puce:focus-visible{background:var(--marine);color:var(--blanc);transform:translateY(-2px)}
.puce[aria-current]{background:var(--tomate);color:var(--marine)}

.suite{max-width:1800px;margin:26px auto 0;text-align:center}
.suite a{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:12px 26px;border-radius:999px;background:var(--marine);color:var(--blanc);
  font-weight:900;text-decoration:none;box-shadow:var(--ombre);transition:transform .15s ease}
.suite a:hover{transform:translateY(-2px)}
.suite-in{text-align:left;margin-top:24px}
.lecture .suite a{color:var(--blanc);text-decoration:none}
.lecture .suite a:hover{color:var(--blanc)}

/* every collection, below the mosaic */
.rayons{max-width:1800px;margin:44px auto 0}
.rayons h2{font-size:22px;margin:0 0 14px 6px}
.rayons-r{display:flex;flex-wrap:wrap;gap:10px}
.rayons .puce{background:var(--blanc);box-shadow:var(--ombre);padding-right:12px;min-height:56px}
.rayons .puce img{width:46px;height:46px}
.rayons .puce small{background:var(--menthe)}
.rayons .puce:hover{background:var(--marine)}

/* the long text and the FAQ: a readable column */
.lecture{max-width:820px;margin:44px auto 0;padding:clamp(22px,4vw,44px);border-radius:28px;background:var(--blanc);box-shadow:var(--ombre)}
.lecture section+section{margin-top:26px}
.lecture h2{font-size:clamp(20px,2vw,24px)}
.lecture h3{font-size:18px}
.lecture p,.lecture li{color:var(--encre)}
.lecture a{color:var(--marine-2);font-weight:800;text-decoration-color:var(--tomate);text-decoration-thickness:2px;text-underline-offset:3px}
.lecture a:hover{color:var(--tomate-d)}
.lecture ul,.lecture ol{padding-left:1.3em}
.lecture>:last-child,.lecture section>:last-child{margin-bottom:0}
.lecture-doc{margin-top:8px}
.lecture-doc h1{font-size:clamp(26px,3vw,34px)}
.questions{max-width:820px;margin:20px auto 0}
.questions>h2{font-size:22px;margin:0 0 12px 6px}
.questions details{margin-bottom:10px;border-radius:20px;background:var(--blanc);box-shadow:var(--ombre)}
.questions summary{position:relative;padding:16px 56px 16px 22px;font-weight:800;color:var(--marine);cursor:pointer;list-style:none}
.questions summary::-webkit-details-marker{display:none}
.questions summary::after{content:"+";position:absolute;right:16px;top:50%;width:30px;height:30px;margin-top:-15px;border-radius:50%;background:var(--menthe);
  color:var(--marine);font-size:20px;line-height:30px;text-align:center;transition:transform .18s ease}
.questions details[open] summary::after{transform:rotate(45deg);background:var(--tomate)}
.questions details p{margin:0;padding:0 22px 18px;color:var(--encre)}

/* breadcrumbs */
.fil{max-width:1800px;margin:0 auto 12px;padding:0 6px;font-size:14px;color:var(--gris)}
.fil ol{display:flex;flex-wrap:wrap;gap:4px 0;margin:0;padding:0;list-style:none}
.fil li+li::before{content:"›";margin:0 8px;color:var(--tomate-d)}
.fil a{color:var(--marine-2);font-weight:800;text-decoration:none}
.fil a:hover{text-decoration:underline}

/* game page: the player in the middle, related squares on both sides, the mosaic below */
.theatre{--cell:clamp(100px,7.6vw,150px);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:var(--gap);max-width:1800px;margin:0 auto var(--gap)}
.flanc{display:grid;grid-template-columns:repeat(2,var(--cell));grid-auto-rows:var(--cell);gap:var(--gap);align-content:start}
.flanc .carre{aspect-ratio:auto}
.centre{display:flex;flex-direction:column;gap:10px;min-width:0}
.ecran{position:relative;flex:1 1 auto;min-height:0;border-radius:var(--r);overflow:hidden;background:var(--marine);box-shadow:var(--ombre)}
.ecran-affiche{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ecran-go{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;border:0;
  background:rgba(27,42,107,.38);color:var(--blanc);font:900 20px/1.2 Nunito,system-ui,sans-serif;cursor:pointer;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.ecran-rond{display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:var(--tomate);color:var(--marine);
  box-shadow:0 10px 26px rgba(0,0,0,.28);transition:transform .18s ease}
.ecran-rond svg{width:44px;height:44px;margin-left:5px}
.ecran-go:hover .ecran-rond,.ecran-go:focus-visible .ecran-rond{transform:scale(1.08)}
.ecran iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.ecran.is-playing .ecran-affiche,.ecran.is-playing .ecran-go{display:none}
.ecran.is-max{position:fixed;inset:0;z-index:100;width:100vw;height:100vh;max-height:none;border-radius:0}
.ecran:fullscreen{width:100vw;height:100vh;max-height:none;border-radius:0}
.titre{display:flex;flex:none;align-items:center;gap:12px;padding:10px;border-radius:20px;background:var(--blanc);box-shadow:var(--ombre)}
.titre-i{flex:none;width:48px;height:48px;border-radius:14px;object-fit:cover}
.titre-t{min-width:0}
.titre h1{margin:0;font-size:clamp(18px,1.6vw,24px)}
.titre p{margin:0;font-size:13px;color:var(--gris)}
.titre-fs{display:inline-flex;flex:none;align-items:center;gap:8px;margin-left:auto;min-height:44px;padding:0 18px;border:0;border-radius:999px;
  background:var(--marine);color:var(--blanc);font:800 15px/1 Nunito,system-ui,sans-serif;cursor:pointer;transition:background-color .15s}
.titre-fs:hover{background:var(--marine-2)}
.titre-fs svg{width:20px;height:20px}
.lecture-jeu{margin-top:36px}
.etiquettes{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px!important}
.etiquettes a{display:inline-flex;align-items:center;min-height:40px;padding:6px 16px;border-radius:999px;background:var(--menthe);color:var(--marine);text-decoration:none}
.etiquettes a:hover{background:var(--marine);color:var(--blanc)}

/* pager */
.pages{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;max-width:1800px;margin:28px auto 0}
.pages a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:46px;min-height:46px;padding:0 14px;border-radius:999px;
  background:var(--blanc);color:var(--marine);font-weight:900;text-decoration:none;box-shadow:var(--ombre)}
.pages a:hover{background:var(--menthe-2)}
.pages a[aria-current]{background:var(--marine);color:var(--blanc)}
.pages span{color:var(--gris)}

.bouton{display:inline-flex;align-items:center;min-height:46px;padding:10px 22px;border-radius:999px;background:var(--marine);color:var(--blanc);font-weight:900;text-decoration:none}
.bouton-clair{background:var(--blanc);color:var(--marine);box-shadow:var(--ombre)}

/* footer */
.pied{margin-top:60px;padding:42px var(--pad) 28px;border-radius:36px 36px 0 0;background:var(--marine);color:#dde4ff}
.pied-in{display:grid;grid-template-columns:1.1fr 2fr 1fr;gap:32px;max-width:1800px;margin:0 auto}
.pied-marque .marque{height:40px;width:auto;color:var(--blanc)}
.pied-marque p{margin:12px 0 0;max-width:30ch}
.pied h2{margin:0 0 12px;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--blanc)}
.pied-liste{margin:0;padding:0;list-style:none}
.pied-2{columns:2;column-gap:24px}
.pied-liste a{display:inline-block;padding:5px 0;color:#dde4ff;text-decoration:none}
.pied-liste a:hover{color:var(--tomate)}
.pied-legal{max-width:1800px;margin:32px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.14);font-size:13px;line-height:1.55;opacity:.85}

/* tablet: one column of squares on each side of the player */
@media (max-width:1179px){
  .theatre{--cell:clamp(96px,11vw,124px)}
  .flanc{grid-template-columns:var(--cell)}
  .flanc .carre:nth-child(n+6){display:none}
  .pied-in{grid-template-columns:1fr 1fr}
  .pied-marque{grid-column:1/-1}
}
@media (max-width:900px){
  .ligne{grid-template-columns:1fr}
}
/* phones and small tablets: the player on top, the side squares become mosaic rows */
@media (max-width:767px){
  :root{--pad:16px;--gap:12px;--r:20px}
  .theatre{grid-template-columns:repeat(3,minmax(0,1fr))}
  .centre{order:-1;grid-column:1/-1}
  .flanc{display:contents}
  .flanc-d .carre:nth-child(n+9){display:none}
  .ecran{flex:none;width:100%;aspect-ratio:var(--ar);max-height:72vh}
  .flanc .carre{aspect-ratio:1}
  .flanc-g .carre:nth-child(n+6),.flanc-d .carre:nth-child(-n+8){display:block}
  .bande{flex-direction:column;align-items:stretch;gap:10px;padding:14px}
  .bande-r{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px;margin:0 -14px;padding-left:14px;padding-right:14px;scrollbar-width:none}
  .bande-r::-webkit-scrollbar{display:none}
  .puce{scroll-snap-align:start}
}
@media (max-width:559px){
  body{padding-top:76px}
  .toile{grid-template-columns:repeat(3,minmax(0,1fr))}
  .vedette{grid-column:1/-1;aspect-ratio:16/10;min-height:0}
  .carre.x3{grid-column:1/-1}
  .pilule{top:10px;height:52px;padding-left:14px}
  .pilule-logo .marque{height:26px}
  .tiroir summary{padding:0 13px}
  .tiroir-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .langues a{padding:0 10px}
  .titre{flex-wrap:wrap}
  .titre-t{flex:1 1 calc(100% - 64px)}
  .titre-fs{width:100%;justify-content:center}
  .pied-in{grid-template-columns:1fr}
  .pied-2{columns:1}
  .lecture{border-radius:22px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;scroll-behavior:auto!important}
  .carre:hover,.carre:focus-visible,.vedette:hover,.vedette:focus-visible,.puce:hover,.suite a:hover{transform:none}
}

/* language flags (added by core/build.mjs) */
.flag{display:inline-block;flex:none;width:20px;height:15px;margin-right:8px;vertical-align:-2px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.18)}
summary .flag{margin-right:6px}
[dir=rtl] .flag{margin-right:0;margin-left:8px}
[dir=rtl] summary .flag{margin-left:6px}
/* the language list: up to 49 entries, so it scrolls inside the popup instead of running off the screen */
details:has(>summary .flag)>:not(summary){max-height:min(70vh,520px);overflow-y:auto;overscroll-behavior:contain}
.nb{white-space:nowrap}html[dir=rtl]{overflow-x:hidden}html[dir=rtl] .wm{direction:ltr}html[dir=rtl] .skip:not(:focus){left:auto;right:-999px}