/* Polices hébraïques hébergées sur le site (Heebo et Gveret Levin, licence SIL OFL) */
@font-face{font-family:"Heebo";font-style:normal;font-weight:400 800;font-display:swap;src:url("/assets/fonts/heebo-hebreu.woff2") format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Gveret Levin";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/gveret-levin-hebreu.woff2") format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
/* Inter latin + point souscrit dans un même fichier : c̣h et ḳh gardent la police du texte */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/inter-point-400.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0323,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/inter-point-500.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0323,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/inter-point-600.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0323,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/inter-point-700.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0323,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:800;font-display:swap;src:url("/assets/fonts/inter-point-800.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0323,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:900;font-display:swap;src:url("/assets/fonts/inter-point-900.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0323,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Space Grotesk : le point souscrit est pris dans le même fichier que la lettre (sinon le navigateur change de police) */
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/font-13.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,U+0323}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/font-13.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,U+0323}
/* ---------- Hébreu : carré (lire, apprendre) et cursif (la touche manuscrite) ---------- */
:root{--he-carre:"Heebo","Secular One",Arial,sans-serif;--he-cursif:"Gveret Levin","Heebo",cursive;--bleu-trait:rgba(126,196,255,.2);--bleu-fond:rgba(8,28,72,.66);--bleu-doux:#a9bfe6;--bleu-neon:#a9ccff}
[lang="he"],.he-carre{font-family:var(--he-carre)!important;letter-spacing:0!important}
.he-cursif,.festival-hebrew{font-family:var(--he-cursif)!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
.festival-hebrew{font-size:1.25em}
:root[data-theme] .v4 .hebreu-date.he-cursif{font-size:28px;line-height:1.35}
:root[data-theme] .v4 .grand.he{font-family:var(--he-carre)!important;font-weight:700}
.section-kicker .he-cursif{font-size:1.45em;line-height:1}

/* ---------- Rien d’inutile à sélectionner ---------- */
.p-fil,.p-boutons,.p-chips,.chip,.chip-commande,.p-suite,.p-date,.p-niveau,.p-categorie h3,.u-carte,.a-formes,.a-choix,.a-mode,.v-outils label,.pied-titre,.footer-links,.case h2,.villes,.choix,.faq-question,.section-kicker,.p-liens,.d-chemin,.mot-ulpan .chip-commande{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
img,video,svg{-webkit-user-drag:none}
::selection{background:#1e64e8;color:#fff}

.chip-commande{display:inline-block;font:700 .86em/1.4 ui-monospace,Consolas,monospace;color:#eaf3ff;background:rgba(20,90,230,.28);border:1px solid rgba(126,196,255,.42);border-radius:8px;padding:.08em .5em;cursor:pointer;vertical-align:baseline;box-shadow:0 0 14px rgba(30,110,255,.28)}
.chip-commande:hover{background:rgba(30,110,255,.45)}
.chip-commande:focus-visible,.p-boutons a:focus-visible,.p-liens a:focus-visible,.a-choix button:focus-visible,.a-mode button:focus-visible{outline:2px solid #bcdcff;outline-offset:2px}

/* ---------- Mot du jour ---------- */
:root[data-theme] .v4 .question{margin-top:12px;font:600 14px var(--font-body);color:var(--texte)}
:root[data-theme] .v4 .question+.choix{margin-top:8px}
:root[data-theme] .v4 .retour{min-height:1.4em;margin-top:8px}
:root[data-theme] .v4 .mot-ulpan{margin-top:10px;padding-top:10px;border-top:1px solid var(--trait);font-size:13px;color:var(--doux)}
.mot-ulpan a{color:var(--bleu-neon);text-decoration:underline;text-underline-offset:3px}

/* ---------- Pages ---------- */
.p-tete{position:relative;padding:8.2rem 1rem 1.6rem;text-align:center}
.p-boite{max-width:860px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:1rem}
.p-tete h1{font-size:clamp(2.1rem,5.4vw,3.8rem);line-height:1.08;margin:0;text-wrap:balance}
.p-chapo{max-width:680px;font-size:1.13rem;line-height:1.7;color:var(--bleu-doux);margin:0;text-wrap:pretty}
.p-fil{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;font-size:.82rem;color:var(--bleu-doux)}
.p-fil a{color:inherit}
.p-fil a::after{content:"›";margin-left:.5rem;opacity:.6}
.p-fil span{color:#fff}
:root[data-theme] .p-section{width:min(1180px,calc(100% - 2rem));margin-inline:auto;padding-block:2.6rem;position:relative;z-index:2}
.p-prose{max-width:760px;margin:0 auto;padding:1.6rem clamp(1.1rem,3vw,2rem);background:var(--bleu-fond);border:1px solid var(--bleu-trait);border-radius:18px;line-height:1.75}
.p-prose h2,.p-prose h3{margin:1.2rem 0 .4rem;font-size:1.2rem;text-align:left}
.p-prose h2:first-child,.p-prose h3:first-child{margin-top:0}
.p-prose p{margin:.6rem 0}
.p-prose ul{padding-left:1.2rem}
.p-prose a{color:var(--bleu-neon);text-decoration:underline;text-underline-offset:3px}
.p-prose a.ya7{text-decoration:none;color:inherit}
.p-devise{font-size:1.2rem;text-align:center}
.p-devise .he-cursif{font-size:1.6em;margin-right:.5rem}
.p-note{max-width:760px;margin:1.2rem auto 0;text-align:center;font-size:.9rem;color:var(--bleu-doux)}

.p-cartes{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.p-cartes-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:860px;margin:0 auto}
.p-carte,.p-fiche,.p-fete,.p-categorie,.p-niveau,.a-lettre,.v-mot,.d-cas,.p-regles li,.p-etapes li,.b-commandes>div{background:linear-gradient(180deg,rgba(14,44,106,.62),rgba(5,20,56,.72));border:1px solid var(--bleu-trait);border-radius:18px;box-shadow:0 18px 50px rgba(0,16,56,.28)}
.p-carte{display:flex;flex-direction:column;gap:.5rem;padding:1.3rem 1.4rem;color:inherit;text-decoration:none;transition:border-color .2s,transform .2s}
a.p-carte:hover{border-color:rgba(150,205,255,.6);transform:translateY(-3px)}
.p-carte h3{margin:0;font-size:1.12rem}
.p-carte p{margin:0;line-height:1.65;color:var(--bleu-doux)}
.p-suite{margin-top:auto;font-weight:700;font-size:.85rem;color:var(--bleu-neon)}
.p-suite::after{content:" →"}

.p-etapes{list-style:none;padding:0;margin:0 auto;max-width:820px;display:grid;gap:.9rem;counter-reset:pas}
.p-etapes li{counter-increment:pas;position:relative;padding:1.1rem 1.3rem 1.1rem 4.4rem}
.p-etapes li::before{content:counter(pas);position:absolute;left:1.1rem;top:1.1rem;width:2.3rem;height:2.3rem;display:grid;place-items:center;border-radius:50%;font:700 1rem var(--font-title);color:#fff;border:2px solid #8cc4ff;box-shadow:0 0 14px #2f7dff,inset 0 0 10px #2f7dff;-webkit-user-select:none;user-select:none}
.p-etapes h3{margin:0 0 .25rem;font-size:1.08rem}
.p-etapes p{margin:0;line-height:1.65;color:var(--bleu-doux)}

.p-boutons,.p-liens{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:center;margin:1.3rem auto 0}
.p-boutons a,.p-liens a{padding:.45rem .95rem;border-radius:999px;border:1px solid rgba(126,196,255,.36);background:rgba(6,24,66,.7);color:#eef5ff;font-weight:600;font-size:.88rem;text-decoration:none}
.p-boutons a:hover,.p-liens a:hover{border-color:#bcdcff;box-shadow:0 0 16px rgba(47,125,255,.45)}
.p-liens{justify-content:flex-start;margin:auto 0 0;padding-top:.8rem}

.p-fiches{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}
.p-fiche{display:flex;flex-direction:column;padding:1.25rem 1.35rem;line-height:1.6}
.p-fiche h3{margin:0 0 .4rem;font-size:1.08rem}
.p-fiche p{margin:.25rem 0}
.p-fiche dl{margin:.6rem 0;display:grid;gap:.4rem;font-size:.92rem}
.p-fiche dt{display:inline;font-weight:700;color:var(--bleu-neon)}
.p-fiche dt::after{content:" · "}
.p-fiche dd{display:inline;margin:0;color:var(--bleu-doux)}
.p-court{font-weight:700;color:var(--bleu-neon)}

.p-salons{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}
.p-categorie{padding:1.2rem 1.3rem}
.p-categorie h3{display:flex;flex-direction:column;margin:0 0 .7rem}
.p-categorie h3 .he-cursif{font-size:2rem;line-height:1.2;color:var(--bleu-neon);text-shadow:0 0 14px #2f7dff;align-self:flex-start}
.p-categorie h3>span:last-child{font-size:.95rem}
.p-categorie ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.p-categorie li{display:flex;flex-direction:column;line-height:1.5}
.p-categorie li strong{font-size:.95rem}
.p-categorie li strong span{color:var(--bleu-neon)}
.p-categorie li>span{font-size:.88rem;color:var(--bleu-doux)}

.p-regles{list-style:none;margin:0 auto;padding:0;max-width:820px;display:grid;gap:1rem;counter-reset:regle}
.p-regles li{counter-increment:regle;position:relative;padding:1.3rem 1.4rem 1.2rem 4.6rem;line-height:1.7}
.p-regles li::before{content:counter(regle);position:absolute;left:1.2rem;top:1.15rem;font:700 2.2rem/1 var(--font-title);color:#fff;text-shadow:0 0 8px #8cc4ff,0 0 22px #2f7dff;-webkit-user-select:none;user-select:none}
.p-regles h2{margin:0 0 .4rem;font-size:1.22rem;text-align:left}
.p-regles p{margin:.45rem 0;color:#d6e4ff}

.p-frise{list-style:none;margin:0 auto;padding:0 0 0 1.4rem;max-width:760px;border-left:2px solid rgba(126,196,255,.4);display:grid;gap:1.5rem}
.p-frise li{position:relative}
.p-frise li::before{content:"";position:absolute;left:calc(-1.4rem - 7px);top:.35rem;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 0 6px #bcdcff,0 0 16px #2f7dff}
.p-date{font:700 .86rem var(--font-title);color:var(--bleu-neon)}
.p-frise h2{margin:.15rem 0 .25rem;font-size:1.18rem;text-align:left}
.p-frise p{margin:0;color:var(--bleu-doux);line-height:1.65}

.p-fetes{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.p-fete{padding:1.2rem 1.3rem;text-align:center;line-height:1.6}
.p-fete-he{margin:0;font-size:2.1rem;line-height:1.3;color:#fff;text-shadow:0 0 14px #2f7dff}
.p-fete h3{margin:.2rem 0 .35rem;font-size:1.1rem}
.p-fete p{margin:.3rem 0;color:var(--bleu-doux)}
.p-fete .p-prochaine{margin-top:.7rem;font-weight:700;font-size:.85rem;color:#ffd9a0}

.p-niveaux{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.8rem}
.p-niveau{display:flex;flex-direction:column;align-items:center;padding:1rem .5rem;text-align:center}
.p-niveau>span{font:700 .8rem var(--font-title);color:var(--bleu-neon)}
.p-niveau strong{font-size:1.15rem}
.p-niveau em{font-size:.85rem;color:var(--bleu-doux)}
.p-niveau small{margin-top:.4rem;font-size:.74rem;opacity:.7}

/* ---------- Accueil : Ulpan ---------- */
:root[data-theme] .u-bloc{display:grid;grid-template-columns:1.25fr .75fr;gap:2rem;align-items:center;width:min(1180px,calc(100% - 2rem));margin-inline:auto;position:relative;z-index:2}
.u-texte h2{margin:.5rem 0 .8rem;text-align:left}
.u-points{list-style:none;padding:0;display:grid;gap:.45rem;line-height:1.6}
.u-points li::before{content:"✦";color:var(--bleu-neon);margin-right:.55rem}
.u-texte .yau{justify-content:flex-start}
.u-carte{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:1.6rem 1.2rem;border-radius:24px;background:radial-gradient(circle at 50% 0,rgba(47,125,255,.3),transparent 60%),rgba(5,20,56,.82);border:1px solid rgba(140,196,255,.4);box-shadow:0 0 46px rgba(30,110,255,.28)}
.u-niveau{font:700 .8rem var(--font-title);color:var(--bleu-neon)}
.u-mot{font-size:4.2rem;line-height:1.35;color:#fff;text-shadow:0 0 10px #8cc4ff,0 0 28px #2f7dff}
.u-carre{font-size:1.5rem;color:var(--bleu-doux)}
.u-roman{font-weight:700}
.u-sens{color:var(--bleu-doux)}
.u-notes{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:center;margin-top:.9rem}
.u-notes i{font-style:normal;font-size:.76rem;font-weight:600;padding:.3rem .65rem;border-radius:999px;border:1px solid var(--bleu-trait)}
:root[data-theme] .yal .bot-avatar,.b-avatar img{width:160px;height:160px;object-fit:contain;border-radius:50%;background:none;border:0;box-shadow:0 0 40px rgba(47,125,255,.35)}
.b-avatar{display:flex;justify-content:center;margin:0 0 1.6rem}
.b-avatar img{width:200px;height:200px}

/* ---------- Alphabet et vocabulaire ---------- */
.a-grille{display:grid;gap:.9rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr))}
.a-lettre{padding:1rem 1.1rem;text-align:center;line-height:1.55}
.a-formes{display:flex;justify-content:center;align-items:center;gap:1.4rem;font-size:3rem;line-height:1.9;min-height:6.4rem;padding:.4rem 0}
.a-formes .he-cursif{color:var(--bleu-neon);text-shadow:0 0 12px #2f7dff}
.a-lettre h3{margin:.1rem 0;font-size:1.05rem}
.a-lettre p{margin:.25rem 0;font-size:.9rem;color:var(--bleu-doux)}
.a-lettre .a-son{color:#eef5ff}
.a-ex .he-carre{font-size:1.15rem;color:#fff;margin-right:.35rem}
.a-jeu{max-width:520px;margin:0 auto;padding:1.4rem;text-align:center;border-radius:24px;background:rgba(5,20,56,.82);border:1px solid rgba(140,196,255,.4);box-shadow:0 0 40px rgba(30,110,255,.22)}
.a-grande{display:flex;align-items:center;justify-content:center;min-height:11rem;margin:.2rem 0 .8rem;padding:1.2rem 0;font-size:5.4rem;line-height:1.9;color:#fff;text-shadow:0 0 12px #8cc4ff,0 0 30px #2f7dff;-webkit-user-select:none;user-select:none}
.a-grande.he-cursif{font-family:var(--he-cursif)!important}
.a-choix{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.a-choix button,.a-mode button{cursor:pointer;padding:.65rem;border-radius:999px;border:1px solid var(--bleu-trait);background:transparent;color:#eef5ff;font:700 .95rem var(--font-body)}
.a-choix button:hover{border-color:var(--bleu-neon)}
.a-choix button.juste{background:#12543a;border-color:#46e08a}
.a-choix button.faux{background:#5a1d2c;border-color:#ff7a8c}
.a-score{min-height:1.5em;color:var(--bleu-doux)}
.a-mode{display:flex;justify-content:center;gap:.4rem}
.a-mode button{padding:.35rem .9rem;font-size:.8rem}
.a-mode button[aria-pressed="true"]{background:linear-gradient(135deg,#0136d5,#0064fa);border-color:#8cc4ff}

.v-outils{max-width:520px;margin:0 auto;text-align:center}
.v-outils label{display:block;font-weight:700;margin-bottom:.45rem}
.v-outils input{width:100%;box-sizing:border-box;padding:.8rem 1.2rem;border-radius:999px;border:1px solid rgba(140,196,255,.45);background:rgba(4,16,46,.85);color:#fff;font:500 1rem var(--font-body);outline:none}
.v-outils input:focus{border-color:#bcdcff;box-shadow:0 0 20px rgba(47,125,255,.45)}
.v-outils input::-webkit-search-cancel-button{filter:invert(1);opacity:.6}
.v-outils p{margin:.5rem 0 0;font-size:.85rem;color:var(--bleu-doux)}
.v-groupe{margin-top:2.2rem;scroll-margin-top:96px}
.v-groupe h2{font-size:1.35rem;margin:0 0 .9rem;text-align:center}
.v-grille{display:grid;gap:.7rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))}
.v-mot{display:flex;flex-direction:column;align-items:center;padding:.8rem .7rem;text-align:center;line-height:1.45}
.v-mot[hidden],.v-groupe[hidden]{display:none}
.v-mot .he-carre{font-size:1.7rem;color:#fff}
.v-mot .he-cursif{font-size:1.45rem;color:var(--bleu-neon)}
.v-mot>span:last-child{font-size:.9rem;color:var(--bleu-doux)}

/* ---------- Devenir israélien, horaires, commandes ---------- */
.d-cas{max-width:820px;margin:1.2rem auto 0;padding:1.4rem 1.5rem;line-height:1.7;scroll-margin-top:96px}
.d-cas h2{margin:0 0 .4rem;font-size:1.3rem;text-align:left}
.d-cas .p-liens{margin-top:.6rem}
.d-chemin{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.4rem;font-size:.82rem}
.d-chemin li{padding:.28rem .7rem;border-radius:999px;border:1px solid var(--bleu-trait);background:rgba(20,80,200,.2)}
.d-chemin li:not(:last-child)::after{content:" →";color:var(--bleu-neon)}
.d-premier{padding:.7rem 1rem;border-left:3px solid #8cc4ff;background:rgba(20,80,200,.18);border-radius:0 12px 12px 0}
:root[data-theme] .v4 .s-direct{grid-template-columns:1fr;max-width:640px}
.s-table{max-width:640px;margin:1rem auto 0;overflow-x:auto;border:1px solid var(--bleu-trait);border-radius:16px;background:rgba(4,18,52,.82)}
.s-table table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.s-table th,.s-table td{padding:.7rem 1rem;text-align:left;border-bottom:1px solid var(--bleu-trait)}
.s-table tr:last-child td{border-bottom:0}
.s-table th{font-size:.82rem;color:var(--bleu-doux)}
.b-commandes{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.b-commandes>div{padding:1.2rem 1.3rem}
.b-commandes h3{margin:0 0 .8rem;font-size:1.08rem}
.b-commandes ul{list-style:none;padding:0;margin:0;display:grid;gap:.8rem}
.b-commandes li{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;font-size:.9rem;line-height:1.5;color:var(--bleu-doux)}

/* ---------- Pied de page ---------- */
:root[data-theme] footer.yar .pied{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:2rem;align-items:start;width:min(1180px,calc(100% - 2rem));margin-inline:auto}
:root[data-theme] footer.yar .pied-colonnes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem;align-items:start;justify-content:stretch}
:root[data-theme] footer.yar .pied-colonne{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem}
:root[data-theme] footer.yar .pied-colonne a{font-size:.88rem;padding:0;min-height:0;background:none;border:0;box-shadow:none;text-align:left}
:root[data-theme] footer.yar .pied-colonne a:hover{color:#fff;text-decoration:underline}
:root[data-theme] footer.yar .pied-titre{margin:0 0 .2rem;font:700 .9rem var(--font-title);color:#fff}
:root[data-theme] footer.yar .yap{grid-column:1/-1;text-align:center;font-size:.82rem;opacity:.75}
.pied-signature .he-cursif{font-size:1.9rem;color:#fff;text-shadow:0 0 12px #2f7dff}

/* ---------- Navigation ---------- */
.nav-link.active{color:#fff}

/* ---------- Surprise du logo, en néon ---------- */
.egg-flag{width:calc(var(--w) * 1.9);height:calc(var(--w) * 1.9);margin-left:calc(var(--w) * -.45)}
.egg-flag.hero{width:calc(var(--w) * 2.4);height:calc(var(--w) * 2.4)}
.egg-flag::before{width:calc(var(--w) * 1.6);height:calc(var(--w) * 1.6);margin:calc(var(--w) * -.46) 0 0 calc(var(--w) * -.3);border-radius:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-3%20-3%2030%2030%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cfilter%20id%3D%22f%22%20filterUnits%3D%22userSpaceOnUse%22%20x%3D%22-3%22%20y%3D%22-3%22%20width%3D%2230%22%20height%3D%2230%22%3E%3CfeGaussianBlur%20stdDeviation%3D%221.15%22%2F%3E%3C%2Ffilter%3E%3Cg%20filter%3D%22url(%23f)%22%20opacity%3D%22.85%22%3E%3Cpath%20d%3D%22M2%204h20v16H2Z%22%20stroke%3D%22%237fa8ff%22%20stroke-width%3D%222.8800000000000003%22%2F%3E%3Cpath%20d%3D%22M3.5%207h17M3.5%2017h17%22%20stroke%3D%22%231f6bff%22%20stroke-width%3D%223.6%22%2F%3E%3Cpath%20d%3D%22M12%208.6L12.98%2010.3L14.94%2010.3L13.96%2012L14.94%2013.7L12.98%2013.7L12%2015.4L11.02%2013.7L9.06%2013.7L10.04%2012L9.06%2010.3L11.02%2010.3Z%22%20stroke%3D%22%231f6bff%22%20stroke-width%3D%222.3400000000000003%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Cpath%20d%3D%22M2%204h20v16H2Z%22%20stroke%3D%22%23eef4ff%22%20stroke-width%3D%221.2000000000000002%22%2F%3E%3Cpath%20d%3D%22M3.5%207h17M3.5%2017h17%22%20stroke%3D%22%238fc4ff%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M12%208.6L12.98%2010.3L14.94%2010.3L13.96%2012L14.94%2013.7L12.98%2013.7L12%2015.4L11.02%2013.7L9.06%2013.7L10.04%2012L9.06%2010.3L11.02%2010.3Z%22%20stroke%3D%22%238fc4ff%22%20stroke-width%3D%220.9750000000000001%22%2F%3E%3Cpath%20d%3D%22M2%204h20v16H2Z%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.4%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M3.5%207h17M3.5%2017h17%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.5%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M12%208.6L12.98%2010.3L14.94%2010.3L13.96%2012L14.94%2013.7L12.98%2013.7L12%2015.4L11.02%2013.7L9.06%2013.7L10.04%2012L9.06%2010.3L11.02%2010.3Z%22%20stroke%3D%22%23fff%22%20stroke-width%3D%220.325%22%20opacity%3D%22.92%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat;box-shadow:none;filter:drop-shadow(0 0 7px rgba(60,140,255,.75))}
.egg-flag.big::before{box-shadow:none;filter:drop-shadow(0 0 11px rgba(80,160,255,.9))}
.egg-flag.ton-1::before{filter:drop-shadow(0 0 8px rgba(190,225,255,.85))}
.egg-flag.hero::before{width:calc(var(--w) * 2);height:calc(var(--w) * 2)}
.logo-easter-egg.is-visible{background:rgba(1,6,22,.55)}
.logo-easter-egg.is-message::after{opacity:1}
:root[data-theme] .logo-easter-egg strong{border:3px solid #dcecff;background:rgba(2,10,32,.86);color:#fff;text-shadow:0 0 6px #fff,0 0 18px #4d9bff,0 0 42px #1d6bff;box-shadow:0 0 10px #8cc4ff,0 0 38px #2f7dff,inset 0 0 22px rgba(47,125,255,.75);animation:egg-neon 2.4s ease-in-out infinite alternate;white-space:nowrap;font-size:clamp(1.6rem,6.4vw,4.2rem)}
@keyframes egg-neon{from{filter:brightness(1)}to{filter:brightness(1.22)}}

/* ---------- Écrans étroits ---------- */
@media (max-width:980px){
  .p-cartes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p-niveaux{grid-template-columns:repeat(3,minmax(0,1fr))}
  :root[data-theme] .u-bloc{grid-template-columns:1fr}
  :root[data-theme] footer.yar .pied{grid-template-columns:1fr}
}
@media (max-width:640px){
  .p-tete{padding-top:7rem}
  .p-cartes,.p-cartes-2{grid-template-columns:1fr}
  .p-niveaux{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p-regles li{padding-left:1.3rem;padding-top:3.8rem}
  .v-grille{grid-template-columns:repeat(2,minmax(0,1fr))}
  :root[data-theme] footer.yar .pied-colonnes{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){.logo-easter-egg strong{animation:none!important}}

/* Mot du jour : fondu entre avec et sans nikkoudim */
.v4 #mot-he{transition:opacity .38s ease,filter .38s ease}
.v4 #mot-he.bascule{opacity:0;filter:blur(6px)}
@media (prefers-reduced-motion:reduce){.v4 #mot-he{transition:none}}

/* FAQ : le plus et la croix sont dessinés, donc parfaitement centrés */
.faq-icon{font-size:0!important;line-height:0;position:relative;display:block!important;color:transparent}
.faq-icon::before,.faq-icon::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:var(--blue,#7eb8ff)}
.faq-icon::after{transform:rotate(90deg)}
.faq-question[aria-expanded="true"] .faq-icon{transform:rotate(45deg)}

/* ---------- Verset caché du pied de page ---------- */
.verset-pied{grid-column:1/-1;display:flex;justify-content:center;margin-top:.4rem}
.verset-discret{max-width:min(92vw,640px);background:none;border:0;padding:.5rem 1rem;cursor:pointer;color:inherit;-webkit-user-select:none;user-select:none}
.verset-ligne{display:block;font-size:1.02rem;line-height:1.8;color:rgba(190,215,255,.3);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .7s ease,filter .7s ease,color .3s ease}
.verset-ligne.est-efface{opacity:0;filter:blur(5px)}
.verset-discret:hover .verset-ligne,.verset-discret:focus-visible .verset-ligne{color:rgba(205,225,255,.75);text-shadow:0 0 12px rgba(80,150,255,.7)}
.verset-discret:focus-visible{outline:1px dashed rgba(160,205,255,.5);outline-offset:3px;border-radius:12px}
.verset-ouvert{overflow:hidden}
.verset-fond{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:1rem;background:rgba(1,6,22,.78);backdrop-filter:blur(6px);opacity:0;transition:opacity .3s ease}
.verset-fond.est-ouverte{opacity:1}
.verset-carte{position:relative;box-sizing:border-box;width:min(760px,100%);max-height:calc(100vh - 2rem);overflow:auto;padding:2.2rem clamp(1rem,4vw,2.4rem) 1.6rem;text-align:center;border-radius:26px;background:radial-gradient(circle at 50% 0,rgba(47,125,255,.26),transparent 60%),#06163a;border:1px solid rgba(150,205,255,.4);box-shadow:0 0 60px rgba(30,110,255,.32);transform:translateY(12px) scale(.98);transition:transform .35s ease}
.verset-fond.est-ouverte .verset-carte{transform:none}
.verset-fermer{position:absolute;top:.6rem;right:.8rem;width:2.4rem;height:2.4rem;border-radius:50%;border:1px solid rgba(150,205,255,.3);background:none;color:#fff;font:400 1.5rem/1 var(--font-body);cursor:pointer}
.verset-ref{margin:0;font:700 1.15rem var(--font-title);color:#fff}
.verset-theme{margin:.15rem 0 1.2rem;font-size:.85rem;color:var(--bleu-neon)}
.verset-scene{position:relative;display:grid;min-height:9rem}
.verset-scene>p{grid-area:1/1;margin:0;display:flex;flex-wrap:wrap;gap:.2rem .55rem;justify-content:center;align-content:center}
.verset-he{direction:rtl;font-size:clamp(1.55rem,4.6vw,2.2rem);line-height:1.85;color:#fff;text-shadow:0 0 14px rgba(70,140,255,.55)}
.verset-fr{font-size:clamp(1.1rem,3.2vw,1.45rem);line-height:1.7;color:#eaf3ff}
.verset-mot{cursor:help;border-radius:8px;padding:0 .12em;transition:opacity .55s ease,filter .55s ease,transform .55s ease,background .2s;transition-delay:calc(var(--i) * 45ms),calc(var(--i) * 45ms),calc(var(--i) * 45ms),0s;-webkit-user-select:none;user-select:none}
.verset-mot:hover,.verset-mot:focus-visible{background:rgba(60,130,255,.28);outline:0}
.verset-fr .verset-mot{opacity:0;filter:blur(8px);transform:translateY(10px)}
.verset-scene.en-francais .verset-he .verset-mot{opacity:0;filter:blur(8px);transform:translateY(-10px) scale(1.06);pointer-events:none}
.verset-scene.en-francais .verset-fr .verset-mot{opacity:1;filter:none;transform:none}
.verset-scene:not(.en-francais) .verset-fr{pointer-events:none}
.verset-astuce{min-height:3.6rem;display:flex;flex-direction:column;gap:.2rem;align-items:center;justify-content:center;margin-top:.6rem;padding:.4rem .8rem;border-radius:14px;font-size:.92rem;color:var(--bleu-doux);opacity:.0;transition:opacity .2s}
.verset-astuce.est-visible{opacity:1;background:rgba(20,80,200,.2)}
.verset-fiche .he-carre{font-size:1.25rem;color:#fff}
.verset-fiche strong{color:#fff}
.verset-actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center;margin-top:.8rem}
.verset-aide{margin:.9rem 0 0;font-size:.78rem;color:rgba(169,191,230,.7)}
@media (prefers-reduced-motion:reduce){.verset-mot,.verset-carte,.verset-fond,.verset-ligne{transition:none!important}}

/* Chiffres du serveur : masqués tant que le serveur n'a pas répondu */
[data-server-stats].is-loading{display:none!important}
