👑 Ton Rang Actuel [gamipress_user_rank type= »ranking » thumbnail= »yes » thumbnail_size= »full » title= »no »]
[gamipress_user_rank type= »ranking » thumbnail= »no » title= »yes »]
Mes commandes Ma fidélité Mes Badges Boutique /* ————— Thème Kingston ————— */ #kx-hud{ –gold:#f1d27a; –gold2:#8a6a2d; –ink:#fff; –card:#0f0f0f; –bd:#1b1b1b; font-family: »Open Sans »,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial; color:var(–ink); background: radial-gradient(1100px 800px at 20% -10%, rgba(241,210,122,.10), transparent 60%), linear-gradient(180deg,#0b0b0b,#050505 65%, #0a0a0a); border:1px solid #0e0e0e; border-radius:26px; padding:18px; box-shadow:0 24px 60px rgba(0,0,0,.6); } /* TOP */ #kx-hud .kx-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px} #kx-hud .kx-user{display:flex;align-items:center;gap:10px} #kx-hud .kx-avatar{width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,#1b1b1b,#0c0c0c);border:1px solid var(–bd)} #kx-hud .kx-name .dyn, #kx-hud .kx-name .fb{ display:block; font:700 28px/1 « Anton »,sans-serif; letter-spacing:.4px; text-transform:uppercase; text-shadow:0 0 12px rgba(241,210,122,.35) } #kx-hud .kx-stats{display:flex;align-items:center;gap:10px} #kx-hud .pill{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;background:rgba(241,210,122,.10);border:1px solid rgba(241,210,122,.30);border-radius:12px} #kx-hud .pill .val{font:800 18px « Anton »,sans-serif} #kx-hud .pill.ghost{color:#f7e6b0;text-decoration:none} #kx-hud .ico-coin{width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 30% 30%, var(–gold), var(–gold2) 80%)} /* CARD + BADGE */ #kx-hud .kx-card{margin:10px 0 12px;padding:16px;background:linear-gradient(180deg,#121212,#0a0a0a);border:1px solid #1a1a1a;border-radius:20px;box-shadow: inset 0 0 0 1px rgba(255,255,255,.04)} #kx-hud .kx-title{font:700 30px « Anton »,sans-serif;color:var(–gold);text-align:center;margin:0 0 10px;text-shadow:0 0 12px rgba(241,210,122,.35)} #kx-hud .kx-badge{ /* Cadre qui centre EXACTEMENT le badge */ min-height:500px; padding:22px; border-radius:18px; background:linear-gradient(180deg,#111,#0a0a0a); border:1px solid rgba(241,210,122,.25); box-shadow:0 0 70px rgba(241,210,122,.15) inset, 0 18px 50px rgba(0,0,0,.55); display:grid !important; place-items:center !important; overflow:hidden; } /* Slot GamiPress : neutralise wrappers + centrage fort */ #kx-hud .kx-badge .slot{width:100%;height:100%;display:grid !important;place-items:center !important;margin:0 !important;padding:0 !important} #kx-hud .kx-badge .slot *, #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .slot picture, #kx-hud .kx-badge .slot figure{display:block!important;margin:0 auto!important;float:none!important;text-align:center!important} /* Taille badge (responsive) */ #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .slot picture img, #kx-hud .kx-badge .fallback{ width:clamp(220px, 56vw, 560px) !important; max-width:560px !important; height:auto !important; object-fit:contain !important; filter:drop-shadow(0 0 40px rgba(241,210,122,.40)) drop-shadow(0 0 70px rgba(241,210,122,.20)); } #kx-hud .kx-badge .fallback{display:none} /* Nom du rang */ #kx-hud .kx-rank-name{margin-top:12px;text-align:center;font:700 22px « Anton »,sans-serif;letter-spacing:.2px;color:#f7e6b0} /* ACTIONS */ #kx-hud .kx-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px} #kx-hud .kx-btn{ display:flex;align-items:center;justify-content:center;text-decoration:none;text-align:center; padding:14px;border-radius:14px;font:800 18px « Anton »,sans-serif;color:#f7e6b0; background:rgba(241,210,122,.10);border:1px solid rgba(241,210,122,.55); box-shadow:0 0 18px rgba(241,210,122,.20), inset 0 0 0 1px rgba(255,255,255,.06) } #kx-hud .kx-btn:hover{box-shadow:0 0 28px rgba(241,210,122,.30), inset 0 0 0 1px rgba(255,255,255,.09)} @media (max-width: 980px){ #kx-hud .kx-name .dyn,#kx-hud .kx-name .fb{font-size:22px} #kx-hud .kx-badge{min-height:420px} #kx-hud .kx-badge .slot img,#kx-hud .kx-badge .fallback{width:clamp(200px, 72vw, 460px) !important;max-width:460px !important} #kx-hud .kx-actions{grid-template-columns:1fr} } /* ——— Renforce le rendu : supprime width/height HTML, force l’image la plus large, gère fallback ——— */ (function(){ // Cache le fallback du nom si [k_name] renvoie bien quelque chose const dyn=document.querySelector(‘#kx-hud .kx-name .dyn’); const fbName=document.querySelector(‘#kx-hud .kx-name .fb’); if(dyn && fbName){ const t=(dyn.textContent|| »).trim(); if(t && !t.startsWith(‘[‘)) fbName.style.display=’none’; } const box = document.querySelector(‘#kx-hud .kx-badge’); const slot= box && box.querySelector(‘.slot’); const fb = box && box.querySelector(‘.fallback’); if(!slot) return; function biggestFromSrcset(img){ if(!img || !img.srcset) return; try{ const items = img.srcset.split(‘,’).map(s=>s.trim()); const last = items[items.length-1].split(‘ ‘)[0]; if(last) img.src = last; }catch(e){} } function uncap(img){ if(!img) return; img.removeAttribute(‘width’); img.removeAttribute(‘height’); biggestFromSrcset(img); img.style.width = ‘clamp(220px, 56vw, 560px)’; img.style.maxWidth = ‘560px’; img.style.height = ‘auto’; img.style.objectFit= ‘contain’; } function apply(){ const img = slot.querySelector(‘picture img’) || slot.querySelector(‘figure img’) || slot.querySelector(‘img’); if(img){ uncap(img); if(fb) fb.style.display=’none’; } else if(fb){ fb.style.display=’block’; } } setTimeout(apply,150); window.addEventListener(‘load’,()=> setTimeout(apply,150)); const mo=new MutationObserver(()=> setTimeout(apply,50)); mo.observe(slot,{subtree:true,childList:true,attributes:true}); })(); /* Valeur par défaut (desktop) */ #kx-hud{ –nudge-x: -50px; } /* Applique le décalage à l’image du rang + au fallback le cas échéant */ #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .fallback{ transform: translateX(var(–nudge-x)) !important; } /* Divi : breakpoint tablette ≈ 980px */ @media (max-width: 980px){ #kx-hud{ –nudge-x: -30px; } } /* Divi : breakpoint téléphone ≈ 767px */ @media (max-width: 767px){ #kx-hud{ –nudge-x: -115px; } } /* Décalage horizontal du badge (négatif = vers la gauche, positif = vers la droite) */ #kx-hud{ –nudge-x: -50px; } /* ← ajuste ici : -50px, -40px, +30px, etc. */ #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .slot picture img, #kx-hud .kx-badge .slot figure img{ transform: translateX(var(–nudge-x)) !important; } /* Option : remettre à 0 sur mobile si besoin */ @media (max-width: 480px){ #kx-hud{ –nudge-x: -30px; } /* ou 0px si tu préfères centré “mathématiquement” */ } /* Valeur par défaut (desktop) */ #kx-hud{ –nudge-x: -130px; } /* Applique le décalage à l’image du rang + au fallback le cas échéant */ #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .fallback{ transform: translateX(var(–nudge-x)) !important; } /* Divi : breakpoint tablette ≈ 980px */ @media (max-width: 980px){ #kx-hud{ –nudge-x: -30px; } } /* Divi : breakpoint téléphone ≈ 767px */ @media (max-width: 767px){ #kx-hud{ –nudge-x: -115px; } } /* ====== TOP — version pro ====== */ #kx-hud .kx-top–pro{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; } /* Avatar + nom */ #kx-hud .kx-user{display:flex; align-items:center; gap:10px; min-width:0} #kx-hud .kx-avatar{ width:46px; height:46px; border-radius:50%; background:linear-gradient(145deg,#1b1b1b,#0c0c0c); border:1px solid var(–bd); flex:0 0 46px; } #kx-hud .kx-id{min-width:0} #kx-hud .kx-name{display:block; line-height:1} #kx-hud .kx-name.dyn{ font:700 22px « Anton »,sans-serif; letter-spacing:.3px; text-transform:uppercase; text-shadow:0 0 10px rgba(241,210,122,.35); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } #kx-hud .kx-name.fb{ font:600 12px/1.2 « Open Sans »,sans-serif; opacity:.7; margin-top:2px; letter-spacing:.2px; } /* Coins + Leaderboard group */ #kx-hud .kx-top-right{ display:flex; align-items:center; gap:10px; flex:0 0 auto; } /* Carte Coins compacte */ #kx-hud .kx-coincard{ display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:12px; background:rgba(241,210,122,.10); border:1px solid rgba(241,210,122,.30); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); } #kx-hud .ico-coin{ width:18px; height:18px; border-radius:50%; background:radial-gradient(circle at 30% 30%, var(–gold), var(–gold2) 80%); box-shadow:0 0 10px rgba(241,210,122,.35); } #kx-hud .kc-stack{display:flex; flex-direction:column; line-height:1} #kx-hud .kc-val{font:800 16px « Anton »,sans-serif} #kx-hud .kc-label{font:600 10px/1 « Open Sans »,sans-serif; opacity:.75; letter-spacing:.2px} /* Bouton ghost Leaderboard */ #kx-hud .kx-ghost{ display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:12px; text-decoration:none; color:#f7e6b0; background:rgba(241,210,122,.06); border:1px solid rgba(241,210,122,.28); font:800 12px « Anton »,sans-serif; letter-spacing:.3px; transition:box-shadow .18s ease, background .18s ease, border-color .18s ease; } #kx-hud .kx-ghost:hover{ background:rgba(241,210,122,.10); border-color:rgba(241,210,122,.45); box-shadow:0 0 18px rgba(241,210,122,.25); } #kx-hud .kx-ghost-dot{ width:8px; height:8px; border-radius:50%; background:linear-gradient(180deg,var(–gold),var(–gold2)); box-shadow:0 0 10px rgba(241,210,122,.45); } /* — Mobile first ajustements — */ @media (max-width: 380px){ #kx-hud .kx-name.dyn{font-size:20px} #kx-hud .kx-coincard{padding:7px 9px} #kx-hud .kc-val{font-size:15px} #kx-hud .kx-ghost{padding:7px 10px; font-size:11px} } /* — Desktop un peu plus “respirant” — */ @media (min-width: 981px){ #kx-hud .kx-avatar{width:52px;height:52px;flex-basis:52px} #kx-hud .kx-name.dyn{font-size:24px} #kx-hud .kx-coincard{padding:9px 12px} #kx-hud .kc-val{font-size:17px} #kx-hud .kx-ghost{font-size:12px; padding:8px 12px} }
👑 Ton Rang Actuel [gamipress_user_rank type= »ranking » thumbnail= »yes » thumbnail_size= »full » title= »no »]
[gamipress_user_rank type= »ranking » thumbnail= »no » title= »yes »]
Mes commandes Ma fidélité Mes Badges Boutique /* ————— Thème Kingston ————— */ #kx-hud{ –gold:#f1d27a; –gold2:#8a6a2d; –ink:#fff; –card:#0f0f0f; –bd:#1b1b1b; font-family: »Open Sans »,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial; color:var(–ink); background: radial-gradient(1100px 800px at 20% -10%, rgba(241,210,122,.10), transparent 60%), linear-gradient(180deg,#0b0b0b,#050505 65%, #0a0a0a); border:1px solid #0e0e0e; border-radius:26px; padding:18px; box-shadow:0 24px 60px rgba(0,0,0,.6); } /* TOP */ #kx-hud .kx-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px} #kx-hud .kx-user{display:flex;align-items:center;gap:10px} #kx-hud .kx-avatar{width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,#1b1b1b,#0c0c0c);border:1px solid var(–bd)} #kx-hud .kx-name .dyn, #kx-hud .kx-name .fb{ display:block; font:700 28px/1 « Anton »,sans-serif; letter-spacing:.4px; text-transform:uppercase; text-shadow:0 0 12px rgba(241,210,122,.35) } #kx-hud .kx-stats{display:flex;align-items:center;gap:10px} #kx-hud .pill{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;background:rgba(241,210,122,.10);border:1px solid rgba(241,210,122,.30);border-radius:12px} #kx-hud .pill .val{font:800 18px « Anton »,sans-serif} #kx-hud .pill.ghost{color:#f7e6b0;text-decoration:none} #kx-hud .ico-coin{width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 30% 30%, var(–gold), var(–gold2) 80%)} /* CARD + BADGE */ #kx-hud .kx-card{margin:10px 0 12px;padding:16px;background:linear-gradient(180deg,#121212,#0a0a0a);border:1px solid #1a1a1a;border-radius:20px;box-shadow: inset 0 0 0 1px rgba(255,255,255,.04)} #kx-hud .kx-title{font:700 30px « Anton »,sans-serif;color:var(–gold);text-align:center;margin:0 0 10px;text-shadow:0 0 12px rgba(241,210,122,.35)} #kx-hud .kx-badge{ /* Cadre qui centre EXACTEMENT le badge */ min-height:500px; padding:22px; border-radius:18px; background:linear-gradient(180deg,#111,#0a0a0a); border:1px solid rgba(241,210,122,.25); box-shadow:0 0 70px rgba(241,210,122,.15) inset, 0 18px 50px rgba(0,0,0,.55); display:grid !important; place-items:center !important; overflow:hidden; } /* Slot GamiPress : neutralise wrappers + centrage fort */ #kx-hud .kx-badge .slot{width:100%;height:100%;display:grid !important;place-items:center !important;margin:0 !important;padding:0 !important} #kx-hud .kx-badge .slot *, #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .slot picture, #kx-hud .kx-badge .slot figure{display:block!important;margin:0 auto!important;float:none!important;text-align:center!important} /* Taille badge (responsive) */ #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .slot picture img, #kx-hud .kx-badge .fallback{ width:clamp(220px, 56vw, 560px) !important; max-width:560px !important; height:auto !important; object-fit:contain !important; filter:drop-shadow(0 0 40px rgba(241,210,122,.40)) drop-shadow(0 0 70px rgba(241,210,122,.20)); } #kx-hud .kx-badge .fallback{display:none} /* Nom du rang */ #kx-hud .kx-rank-name{margin-top:12px;text-align:center;font:700 22px « Anton »,sans-serif;letter-spacing:.2px;color:#f7e6b0} /* ACTIONS */ #kx-hud .kx-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px} #kx-hud .kx-btn{ display:flex;align-items:center;justify-content:center;text-decoration:none;text-align:center; padding:14px;border-radius:14px;font:800 18px « Anton »,sans-serif;color:#f7e6b0; background:rgba(241,210,122,.10);border:1px solid rgba(241,210,122,.55); box-shadow:0 0 18px rgba(241,210,122,.20), inset 0 0 0 1px rgba(255,255,255,.06) } #kx-hud .kx-btn:hover{box-shadow:0 0 28px rgba(241,210,122,.30), inset 0 0 0 1px rgba(255,255,255,.09)} @media (max-width: 980px){ #kx-hud .kx-name .dyn,#kx-hud .kx-name .fb{font-size:22px} #kx-hud .kx-badge{min-height:420px} #kx-hud .kx-badge .slot img,#kx-hud .kx-badge .fallback{width:clamp(200px, 72vw, 460px) !important;max-width:460px !important} #kx-hud .kx-actions{grid-template-columns:1fr} } /* ——— Renforce le rendu : supprime width/height HTML, force l’image la plus large, gère fallback ——— */ (function(){ // Cache le fallback du nom si [k_name] renvoie bien quelque chose const dyn=document.querySelector(‘#kx-hud .kx-name .dyn’); const fbName=document.querySelector(‘#kx-hud .kx-name .fb’); if(dyn && fbName){ const t=(dyn.textContent|| »).trim(); if(t && !t.startsWith(‘[‘)) fbName.style.display=’none’; } const box = document.querySelector(‘#kx-hud .kx-badge’); const slot= box && box.querySelector(‘.slot’); const fb = box && box.querySelector(‘.fallback’); if(!slot) return; function biggestFromSrcset(img){ if(!img || !img.srcset) return; try{ const items = img.srcset.split(‘,’).map(s=>s.trim()); const last = items[items.length-1].split(‘ ‘)[0]; if(last) img.src = last; }catch(e){} } function uncap(img){ if(!img) return; img.removeAttribute(‘width’); img.removeAttribute(‘height’); biggestFromSrcset(img); img.style.width = ‘clamp(220px, 56vw, 560px)’; img.style.maxWidth = ‘560px’; img.style.height = ‘auto’; img.style.objectFit= ‘contain’; } function apply(){ const img = slot.querySelector(‘picture img’) || slot.querySelector(‘figure img’) || slot.querySelector(‘img’); if(img){ uncap(img); if(fb) fb.style.display=’none’; } else if(fb){ fb.style.display=’block’; } } setTimeout(apply,150); window.addEventListener(‘load’,()=> setTimeout(apply,150)); const mo=new MutationObserver(()=> setTimeout(apply,50)); mo.observe(slot,{subtree:true,childList:true,attributes:true}); })(); /* Valeur par défaut (desktop) */ #kx-hud{ –nudge-x: -50px; } /* Applique le décalage à l’image du rang + au fallback le cas échéant */ #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .fallback{ transform: translateX(var(–nudge-x)) !important; } /* Divi : breakpoint tablette ≈ 980px */ @media (max-width: 980px){ #kx-hud{ –nudge-x: -30px; } } /* Divi : breakpoint téléphone ≈ 767px */ @media (max-width: 767px){ #kx-hud{ –nudge-x: -115px; } } /* Décalage horizontal du badge (négatif = vers la gauche, positif = vers la droite) */ #kx-hud{ –nudge-x: -50px; } /* ← ajuste ici : -50px, -40px, +30px, etc. */ #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .slot picture img, #kx-hud .kx-badge .slot figure img{ transform: translateX(var(–nudge-x)) !important; } /* Option : remettre à 0 sur mobile si besoin */ @media (max-width: 480px){ #kx-hud{ –nudge-x: -30px; } /* ou 0px si tu préfères centré “mathématiquement” */ } /* Valeur par défaut (desktop) */ #kx-hud{ –nudge-x: -130px; } /* Applique le décalage à l’image du rang + au fallback le cas échéant */ #kx-hud .kx-badge .slot img, #kx-hud .kx-badge .fallback{ transform: translateX(var(–nudge-x)) !important; } /* Divi : breakpoint tablette ≈ 980px */ @media (max-width: 980px){ #kx-hud{ –nudge-x: -30px; } } /* Divi : breakpoint téléphone ≈ 767px */ @media (max-width: 767px){ #kx-hud{ –nudge-x: -115px; } } /* ====== TOP — version pro ====== */ #kx-hud .kx-top–pro{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; } /* Avatar + nom */ #kx-hud .kx-user{display:flex; align-items:center; gap:10px; min-width:0} #kx-hud .kx-avatar{ width:46px; height:46px; border-radius:50%; background:linear-gradient(145deg,#1b1b1b,#0c0c0c); border:1px solid var(–bd); flex:0 0 46px; } #kx-hud .kx-id{min-width:0} #kx-hud .kx-name{display:block; line-height:1} #kx-hud .kx-name.dyn{ font:700 22px « Anton »,sans-serif; letter-spacing:.3px; text-transform:uppercase; text-shadow:0 0 10px rgba(241,210,122,.35); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } #kx-hud .kx-name.fb{ font:600 12px/1.2 « Open Sans »,sans-serif; opacity:.7; margin-top:2px; letter-spacing:.2px; } /* Coins + Leaderboard group */ #kx-hud .kx-top-right{ display:flex; align-items:center; gap:10px; flex:0 0 auto; } /* Carte Coins compacte */ #kx-hud .kx-coincard{ display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:12px; background:rgba(241,210,122,.10); border:1px solid rgba(241,210,122,.30); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); } #kx-hud .ico-coin{ width:18px; height:18px; border-radius:50%; background:radial-gradient(circle at 30% 30%, var(–gold), var(–gold2) 80%); box-shadow:0 0 10px rgba(241,210,122,.35); } #kx-hud .kc-stack{display:flex; flex-direction:column; line-height:1} #kx-hud .kc-val{font:800 16px « Anton »,sans-serif} #kx-hud .kc-label{font:600 10px/1 « Open Sans »,sans-serif; opacity:.75; letter-spacing:.2px} /* Bouton ghost Leaderboard */ #kx-hud .kx-ghost{ display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:12px; text-decoration:none; color:#f7e6b0; background:rgba(241,210,122,.06); border:1px solid rgba(241,210,122,.28); font:800 12px « Anton »,sans-serif; letter-spacing:.3px; transition:box-shadow .18s ease, background .18s ease, border-color .18s ease; } #kx-hud .kx-ghost:hover{ background:rgba(241,210,122,.10); border-color:rgba(241,210,122,.45); box-shadow:0 0 18px rgba(241,210,122,.25); } #kx-hud .kx-ghost-dot{ width:8px; height:8px; border-radius:50%; background:linear-gradient(180deg,var(–gold),var(–gold2)); box-shadow:0 0 10px rgba(241,210,122,.45); } /* — Mobile first ajustements — */ @media (max-width: 380px){ #kx-hud .kx-name.dyn{font-size:20px} #kx-hud .kx-coincard{padding:7px 9px} #kx-hud .kc-val{font-size:15px} #kx-hud .kx-ghost{padding:7px 10px; font-size:11px} } /* — Desktop un peu plus “respirant” — */ @media (min-width: 981px){ #kx-hud .kx-avatar{width:52px;height:52px;flex-basis:52px} #kx-hud .kx-name.dyn{font-size:24px} #kx-hud .kx-coincard{padding:9px 12px} #kx-hud .kc-val{font-size:17px} #kx-hud .kx-ghost{font-size:12px; padding:8px 12px} }