/* ===== STYLE COMMUN : mêmes polices, tuiles, contours, boutons et bordures sur tout le site =====
   À charger EN DERNIER. Le live (#tk) et les textes arabes ne sont pas touchés. */
:root{--u-bd:rgba(243,217,123,.8);--u-bg:rgba(255,255,255,.12);--u-bg2:rgba(255,255,255,.22);--u-on:rgba(243,217,123,.32);--u-sh:0 4px 18px rgba(0,0,0,.22);--u-gold:#d4af37;--u-title:#f6e7a8;--u-r-card:1.4rem;--u-r-field:1.2rem}

/* ---------- 1. POLICES ---------- */
html:root:not([data-x]) body{font-family:Georgia,'Times New Roman',serif}
html:root:not([data-x]) body :where(button,input,select,textarea,summary,label):not(#tk *){font-family:inherit}
/* titres : même police et même couleur partout */
html:root:not([data-x]) body :where(h2,h3,h4):not(#tk *):not(.ar){font-family:'Cormorant Garamond','Amiri',Georgia,serif;font-weight:600;color:var(--u-title)!important;letter-spacing:.01em;text-shadow:0 2px 10px rgba(0,0,0,.75)}
html:root:not([data-x]) body h2:not(#tk *){font-size:1.9rem;line-height:1.2}
html:root:not([data-x]) body h3:not(#tk *){font-size:1.45rem;line-height:1.25}
html:root:not([data-x]) body h4:not(#tk *){font-size:1.2rem}
/* titres des tuiles */
html:root:not([data-x]) body .arch b,html:root:not([data-x]) body .riyc b,html:root:not([data-x]) body .adk-i b,html:root:not([data-x]) body .cov b{font:700 1.02rem/1.3 Georgia,'Times New Roman',serif!important;color:#fff!important}
/* textes courants */
html:root:not([data-x]) body :where(p,li,summary,label):not(#tk *):not(.ar){text-shadow:0 1px 6px rgba(0,0,0,.7)}

/* ---------- 2. TUILES, PANNEAUX, DÉTAILS : même verre doré ---------- */
html:root:not([data-x]) body .panel,html:root:not([data-x]) body .glass,html:root:not([data-x]) body .arch,html:root:not([data-x]) body .feed>.arch,
html:root:not([data-x]) body .ayah,html:root:not([data-x]) body .adk-d,html:root:not([data-x]) body .adk-i,html:root:not([data-x]) body .nm-det,
html:root:not([data-x]) body .nm-l,html:root:not([data-x]) body .sd-c,html:root:not([data-x]) body .sd-q,html:root:not([data-x]) body .pl2,
html:root:not([data-x]) body .riyc,html:root:not([data-x]) body .cov,html:root:not([data-x]) body .bz-pg,html:root:not([data-x]) body .bz-chips,
html:root:not([data-x]) body .bz-ep,html:root:not([data-x]) body .tz,html:root:not([data-x]) body .ncomp,html:root:not([data-x]) body #qpBar,
html:root:not([data-x]) body #adksh,html:root:not([data-x]) body details:not(#tk *){
 background:var(--u-bg)!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;
 border:1.5px solid var(--u-bd)!important;border-radius:var(--u-r-card)!important;box-shadow:var(--u-sh)!important;color:#fff}
html:root:not([data-x]) body .arch:hover,html:root:not([data-x]) body .adk-i:hover,html:root:not([data-x]) body .riyc:hover,
html:root:not([data-x]) body .cov:hover,html:root:not([data-x]) body .pl2:hover,html:root:not([data-x]) body .nm-l:hover{background:var(--u-bg2)!important}
html:root:not([data-x]) body .nm-l.on,html:root:not([data-x]) body .chip.on,html:root:not([data-x]) body .bz-chip.on,html:root:not([data-x]) body .bz-tab.on{background:var(--u-on)!important}
/* lignes de séparation dans les listes */
html:root:not([data-x]) body .panel :where(li,tr,.row){border-color:rgba(243,217,123,.25)}

/* ---------- 3. BOUTONS, PASTILLES, ONGLETS : même forme, même contour ---------- */
html:root:not([data-x]) body button:not(.link):not(.don-ic):not(#adkx):not(#vxX):not(.nbub):not(.gold):not([style*="background:none"]):not(#tk *):not(#nav4 *):not(.arch):not(.riyc):not(.adk-i):not(.nm-l):not(.cov),
html:root:not([data-x]) body .btn:not(.gold):not(#tk *),html:root:not([data-x]) body .pill:not(#tk *),html:root:not([data-x]) body .chip:not(#tk *),
html:root:not([data-x]) body .bz-chip:not(#tk *),html:root:not([data-x]) body .bz-tab:not(#tk *),html:root:not([data-x]) body a.pl2{
 background:var(--u-bg)!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;
 border:1.5px solid var(--u-bd)!important;border-radius:999px!important;box-shadow:var(--u-sh)!important;
 color:#fff8e7!important;font-weight:600!important;text-shadow:0 1px 2px rgba(0,0,0,.55)!important}
/* bouton principal : toujours doré et en gras, partout */
html:root:not([data-x]) body button.gold:not(#tk *),html:root:not([data-x]) body a.gold:not(#tk *),html:root:not([data-x]) body .btn.gold:not(#tk *),
html:root:not([data-x]) body #go,html:root:not([data-x]) body #vk,html:root:not([data-x]) body #npub,html:root:not([data-x]) body #jsave,html:root:not([data-x]) body #pub{
 background:var(--u-gold)!important;color:#0a2e1f!important;-webkit-text-fill-color:#0a2e1f;font-weight:700!important;
 border:1.5px solid var(--u-bd)!important;border-radius:999px!important;box-shadow:var(--u-sh)!important;text-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;opacity:1!important}
html:root:not([data-x]) body button:disabled:not(#tk *){opacity:.6!important}

/* ---------- 4. CHAMPS DE SAISIE ---------- */
html:root:not([data-x]) body input:not([type=checkbox]):not([type=radio]):not([type=range]):not(#tk *),
html:root:not([data-x]) body select:not(#tk *),html:root:not([data-x]) body textarea:not(#tk *){
 background:var(--u-bg)!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;
 border:1.5px solid var(--u-bd)!important;border-radius:var(--u-r-field)!important;color:#fff!important;box-shadow:none!important}
html:root:not([data-x]) body ::placeholder{color:rgba(255,255,255,.65)}
html:root:not([data-x]) body select option{background:#0a2e1f;color:#fff}

/* ---------- 5. EN-TÊTE ET BARRE DU BAS ---------- */
html:root:not([data-x]) body header,html:root:not([data-x]) body #nav4{
 background:var(--u-bg)!important;-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important;
 border:1.5px solid var(--u-bd)!important;box-shadow:var(--u-sh)!important}

/* barre du bas : boutons sans boîte, seul le + garde son contour (spécificité renforcée pour passer devant les règles précédentes) */
html:root:not([data-x]) body #nav4 button:not(.plus):not(#adkx):not(#vxX):not(#zz){background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:1.1rem!important}
html:root:not([data-x]) body #nav4 button.on:not(.plus):not(#adkx):not(#vxX):not(#zz){background:var(--u-on)!important}
html:root:not([data-x]) body #nav4 button.plus:not(#adkx):not(#vxX){background:var(--u-bg)!important;border:1.5px solid var(--u-bd)!important;border-radius:50%!important}
