/* =============================================================
   Hub — composants communs v423 : pop-up centre, etats vides, encadres, selecteur date/heure,
   onglets Parametres, case a cocher, badges republication, boutons commandes, legende graphique
   ============================================================= */
/* ---------- pop-up centre ---------- */
.hu-toast { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; pointer-events: auto; background: rgba(4,6,16,0); backdrop-filter: blur(0); transition: background .35s, backdrop-filter .35s; padding: 16px; cursor: pointer; }
.hu-toast.in { background: rgba(4,6,16,.38); backdrop-filter: blur(5px); }
.hu-t-card { display: flex; align-items: center; gap: 16px; min-width: 280px; max-width: min(520px, 100%); padding: 22px 26px; border-radius: 22px; color: var(--text-primary); background: linear-gradient(160deg, rgba(34,38,70,.94), rgba(12,14,30,.96)); box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.09), 0 0 60px rgba(var(--accent-rgb), .18); transform: translateY(18px) scale(.94); opacity: 0; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .3s; }
.hu-toast.in .hu-t-card { transform: none; opacity: 1; }
.hu-t-ic { width: 46px; height: 46px; flex: none; color: #34d399; }
.hu-toast.bad .hu-t-ic { color: #f87171; } .hu-toast.info .hu-t-ic { color: rgb(var(--accent-rgb)); }
.hu-t-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px currentColor); }
.hu-t-ic .hu-ring { stroke-dasharray: 63; stroke-dashoffset: 63; opacity: .55; }
.hu-t-ic .hu-tick { stroke-width: 2.4; stroke-dasharray: 20; stroke-dashoffset: 20; }
.hu-toast.in .hu-ring { animation: huDraw .6s cubic-bezier(.65,0,.35,1) forwards .1s; }
.hu-toast.in .hu-tick { animation: huDraw .4s cubic-bezier(.65,0,.35,1) forwards .55s; }
@keyframes huDraw { to { stroke-dashoffset: 0; } }
.hu-t-txt b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.hu-t-txt span { display: block; margin-top: 4px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
[data-theme="clair"] .hu-t-card { background: linear-gradient(160deg, #fff, #f3f4fa); }

/* ---------- etat vide ---------- */
.hu-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 20px 80px; min-height: 42vh; animation: huRise .6s cubic-bezier(.16,1,.3,1) both; }
.hu-e-ic { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; margin-bottom: 22px; background: radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .04) 70%); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .22), 0 18px 50px rgba(var(--accent-rgb), .12); animation: huFloat 5s ease-in-out infinite; }
.hu-e-ic svg { width: 52px; height: 52px; fill: none; stroke: var(--text-primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hu-e-ic .e1 { fill: rgba(var(--accent-rgb), .14); }
.hu-e-ic .e3 { stroke: rgb(var(--accent-rgb)); animation: huBlink 2.4s ease-in-out infinite; }
.hu-e-t { font-size: 26px; font-weight: 500; letter-spacing: -.035em; background: linear-gradient(180deg, var(--text-primary), rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="clair"] .hu-e-t { background: none; color: var(--text-primary); }
.hu-e-s { margin-top: 8px; max-width: 460px; font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); }
@keyframes huRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes huFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes huBlink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- encadre d'explication ---------- */
.hu-info { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; margin: 4px 0 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), .02)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .18); max-width: 900px; }
.hu-i-ic { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .16); color: rgb(var(--accent-rgb)); }
.hu-i-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hu-info b { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.hu-i-t { font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.hu-i-t em { font-style: normal; color: var(--text-primary); font-weight: 500; }

/* ---------- selecteur date / heure ---------- */
.hd-btn { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--border); background: rgba(255,255,255,.035); color: var(--text-secondary); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; transition: border-color .25s, box-shadow .25s, color .2s, background .25s; }
.hd-btn svg { width: 16px; height: 16px; flex: none; opacity: .8; }
.hd-btn:hover { border-color: rgba(var(--accent-rgb), .45); color: var(--text-primary); box-shadow: 0 0 16px rgba(var(--accent-rgb), .15); }
.hd-btn.set { color: var(--text-primary); background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .35); }
.hd-btn b { font-weight: 600; margin-left: 2px; font-variant-numeric: tabular-nums; }
.hd-ph { color: var(--text-muted); }
.hd-pop { position: fixed; z-index: 9400; display: grid; grid-template-columns: auto auto; gap: 0 14px; padding: 16px; border-radius: 20px; background: linear-gradient(160deg, rgba(30,34,62,.97), rgba(10,12,26,.98)); box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); color: var(--text-primary); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; transition: opacity .2s, transform .35s cubic-bezier(.16,1,.3,1); backdrop-filter: blur(20px); }
.hd-pop.in { opacity: 1; transform: none; }
[data-theme="clair"] .hd-pop { background: #fff; }
.hd-cal { width: 266px; }
.hd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hd-head b { font-size: 14px; font-weight: 600; text-transform: capitalize; letter-spacing: -.01em; }
.hd-nav { width: 30px; height: 30px; border-radius: 9px; border: 0; background: rgba(255,255,255,.05); color: var(--text-primary); font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s; }
.hd-nav:hover { background: rgba(var(--accent-rgb), .2); }
.hd-wk, .hd-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.hd-wk span { text-align: center; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding: 4px 0; }
.hd-d { height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--text-primary); font: inherit; font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums; transition: background .15s, transform .2s; }
.hd-d:hover { background: rgba(255,255,255,.07); }
.hd-d.past { color: var(--text-muted); }
.hd-d.today { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .55); }
.hd-d.on { background: rgb(var(--accent-rgb)); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(var(--accent-rgb), .45); transform: scale(1.04); }
[data-theme="neutre"] .hd-d.on, [data-theme="neutre"] .hd-tc.on, [data-theme="neutre"] .hd-ok { color: #0b0b0f; }
.hd-time { display: grid; grid-template-columns: 54px 54px; grid-template-rows: auto 1fr; gap: 6px 6px; padding-left: 14px; border-left: 1px solid var(--border); }
.hd-tl { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); text-align: center; padding: 6px 0 2px; grid-row: 1; }
.hd-col { grid-row: 2; height: 262px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; scrollbar-width: none; mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.hd-col::-webkit-scrollbar { display: none; }
.hd-tc { flex: none; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums; transition: background .15s; }
.hd-tc:hover { background: rgba(255,255,255,.07); color: var(--text-primary); }
.hd-tc.on { background: rgb(var(--accent-rgb)); color: #fff; font-weight: 600; }
.hd-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.hd-link { border: 0; background: none; color: var(--text-secondary); font: inherit; font-size: 12.5px; padding: 7px 10px; border-radius: 9px; cursor: pointer; }
.hd-link:hover { background: rgba(255,255,255,.06); color: var(--text-primary); }
.hd-ok { margin-left: auto; border: 0; height: 34px; padding: 0 18px; border-radius: 10px; background: rgb(var(--accent-rgb)); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 18px rgba(var(--accent-rgb), .35); }
.hd-ok:hover { filter: brightness(1.08); }

/* ---------- case a cocher « Aussi sur Vinted » ---------- */
.hu-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; font-size: 13px; font-weight: 500; color: var(--text-secondary); padding: 7px 12px 7px 9px; border-radius: 11px; transition: background .2s, color .2s; }
.hu-check:hover { background: rgba(255,255,255,.04); color: var(--text-primary); }
.hu-check input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.hu-check i { width: 20px; height: 20px; flex: none; border-radius: 7px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--border-light, rgba(255,255,255,.2)); transition: background .25s, box-shadow .25s, transform .25s; }
.hu-check i svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .3s ease .05s; }
.hu-check input:checked + i { background: rgb(var(--accent-rgb)); box-shadow: 0 0 0 0 transparent, 0 4px 14px rgba(var(--accent-rgb), .45); transform: scale(1.06); }
.hu-check input:checked + i svg { stroke-dashoffset: 0; }
[data-theme="neutre"] .hu-check i svg { stroke: #0b0b0f; }
.hu-check input:checked ~ span { color: var(--text-primary); }
.hu-check .hu-vt { width: 16px; height: 16px; border-radius: 5px; display: inline-grid; place-items: center; background: #09b1ba; color: #fff; font-size: 10px; font-weight: 700; margin-right: 2px; }

/* ---------- Parametres : onglets ---------- */
:root:not([data-theme="classique"]) .settings-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--border); border: 0 !important; margin-bottom: 22px; flex-wrap: wrap; }
:root:not([data-theme="classique"]) .settings-tab { position: relative; height: 38px; padding: 0 18px; border-radius: 12px; border: 0 !important; background: transparent; color: var(--text-secondary); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; box-shadow: none !important; outline: none; transition: color .25s, background .3s, box-shadow .3s; }
:root:not([data-theme="classique"]) .settings-tab::after { display: none !important; }
:root:not([data-theme="classique"]) .settings-tab:hover { color: var(--text-primary); background: rgba(255,255,255,.04); }
:root:not([data-theme="classique"]) .settings-tab.active { color: var(--text-primary); background: linear-gradient(160deg, rgba(var(--accent-rgb), .28), rgba(var(--accent-rgb), .10)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45), 0 6px 20px rgba(var(--accent-rgb), .18) !important; }

/* ---------- Republication : badges sur les photos ---------- */
.rp-c-b.vd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; border: 0; background: rgba(8,10,18,.58) !important; color: #fff !important; font-size: 11px; font-weight: 600; letter-spacing: .01em; backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 4px 12px rgba(0,0,0,.25); text-shadow: none; }
.rp-c-b.vd-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; flex: none; }
.rp-c-b.vd-badge.todo::before { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.rp-c-b.vd-badge.wait::before { background: #a5b4fc; animation: huBlink 1.2s infinite; }
.rp-c-b.vd-badge.ok::before { background: #34d399; box-shadow: 0 0 8px #34d399; }
.rp-c-b.vd-badge.ko::before { background: #f87171; box-shadow: 0 0 8px #f87171; }
.rp-prompt { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--text-secondary); }
.rp-prompt svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.rp-prompt b { color: var(--text-primary); font-weight: 600; }

/* ---------- Commandes : boutons bordereau / telecharger / prolonger ---------- */
:root .cp-btn.oa-label { gap: 7px; background: rgba(255,255,255,.92); border-color: transparent; color: #0d0f1a; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
:root .cp-btn.oa-label:hover { filter: none; background: #fff; border-color: transparent; box-shadow: 0 6px 20px rgba(255,255,255,.18); }
:root .cp-btn.oa-dl { color: #e8ebf7; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
:root .cp-btn.oa-dl:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); }
:root .cp-btn.oa-pro { color: var(--text-primary); border-color: var(--border-light, rgba(255,255,255,.18)); background: rgba(255,255,255,.04); }
:root .cp-btn.oa-pro:hover { border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .1); }
[data-theme="clair"] .cp-btn.oa-label { background: #0d0f1a; color: #fff; }
[data-theme="clair"] .cp-btn.oa-dl { color: #0d0f1a; border-color: rgba(0,0,0,.25); }
.cp-btn .oa-ic { transition: transform .4s cubic-bezier(.16,1,.3,1); }
.cp-btn.oa-label:hover .oa-ic { transform: translateY(-1px) rotate(-6deg); }
.cp-btn.oa-dl:hover .oa-ic .a { animation: vdDown 1s ease-in-out infinite; }
.cp-btn.oa-pro:hover .oa-ic .h { transform-box: fill-box; transform-origin: 0% 100%; animation: oaSpin 1.6s linear infinite; }
@keyframes oaSpin { to { transform: rotate(360deg); } }

/* ---------- Dashboard : legende du statut des ventes ---------- */
.vd-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.vd-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-secondary); line-height: 1; }
.vd-legend i { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 8px currentColor; }
.vd-legend b { color: var(--text-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.vd-chart.st { height: 220px !important; }

/* ---------- Dashboard : messages favoris / spontane ---------- */
.vd-rel td .rl-n { display: flex; align-items: center; gap: 9px; }
.vd-rel td .rl-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: rgba(var(--accent-rgb), .12); color: rgb(var(--accent-rgb)); }
.vd-rel td .rl-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vd-rel tr.sp .rl-ic { background: rgba(52,211,153,.12); color: #34d399; }
.vd-rel .rl-share { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.vd-rel .rl-bar { width: 90px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.vd-rel .rl-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--accent-rgb), .6), rgb(var(--accent-rgb))); }
.vd-rel tr.best td { background: rgba(var(--accent-rgb), .06); }
.vd-rel tr.best .rl-best { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; color: #34d399; background: rgba(52,211,153,.12); margin-left: 6px; }
.vd-rel tfoot td { font-weight: 600; color: var(--text-primary); border-top: 1px solid var(--border); }
.rl-sum { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }
.rl-sum b { color: var(--text-primary); }

/* ---------- Comptes : compte actif mis en avant ---------- */
.account-item.acc-live { background: linear-gradient(90deg, rgba(52,211,153,.12), rgba(52,211,153,.02)); box-shadow: inset 0 0 0 1px rgba(52,211,153,.22); border-radius: 10px; }
.account-item.acc-live .account-name { color: var(--text-primary); font-weight: 600; }
.account-item.acc-live .account-dot { background: #34d399 !important; animation: accBeat 1.6s ease-in-out infinite; }
@keyframes accBeat { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,211,153,.6), 0 0 8px #34d399; } 50% { opacity: .45; box-shadow: 0 0 0 5px rgba(52,211,153,0), 0 0 2px #34d399; } }
.account-item.acc-live .account-status { color: #34d399; font-weight: 600; }

/* ---------- Creation d'annonce : bandeau de progression ---------- */
.ls-msg.prog { display: flex !important; align-items: center; gap: 10px; border: 0; background: rgba(var(--accent-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .22); border-radius: 12px; color: var(--text-primary); }
.ls-msg.prog[style*="none"] { display: none !important; }
.ls-msg.prog::before { content: ''; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid rgba(var(--accent-rgb), .25); border-top-color: rgb(var(--accent-rgb)); animation: drSpin .8s linear infinite; }

/* ---------- Photo Ghost (v424) ---------- */
.pg-profile-avatar { background: none !important; }
.pg-ico { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; flex: none; font-size: 15px; }
.pg-ico.brand { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 4px 12px rgba(0,0,0,.3); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.pg-ico.pict { color: #fff; background: linear-gradient(145deg, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), .45)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
[data-theme="neutre"] .pg-ico.pict { color: #0b0b0f; }
.pg-ico.pict svg { width: 18px; height: 18px; }
.pg-ico.emo { background: rgba(255,255,255,.06); }
.pg-icons { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.pg-icb { padding: 3px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; display: grid; place-items: center; }
.pg-icb .pg-ico { width: 32px; height: 32px; }
.pg-icb:hover { transform: translateY(-2px) scale(1.06); }
.pg-icb.on { box-shadow: 0 0 0 2px rgb(var(--accent-rgb)), 0 6px 16px rgba(var(--accent-rgb), .35); }
.pg-osh { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.pg-profile-edit { background: none; border: 0; color: var(--text-muted); cursor: pointer; opacity: 0; padding: 4px; border-radius: 7px; transition: opacity .15s, color .15s, background .15s; display: grid; place-items: center; }
.pg-profile-item:hover .pg-profile-edit { opacity: 1; }
.pg-profile-edit:hover { color: var(--text-primary); background: rgba(255,255,255,.08); }
/* voile du formulaire : tout l'ecran */
.pg-modal-ov { position: fixed !important; inset: 0 !important; z-index: 9000 !important; background: rgba(4,6,16,.55) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pg-modal-ov.open .pg-modal { animation: huRise .45s cubic-bezier(.16,1,.3,1); }
.pg-modal { width: 440px !important; border-radius: 22px !important; background: linear-gradient(160deg, rgba(30,34,62,.97), rgba(10,12,26,.98)) !important; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08) !important; border: 0 !important; }
[data-theme="clair"] .pg-modal { background: #fff !important; }
.pg-modal .hd-btn { width: 100%; }
/* zone de depot */
:root .pg-drop-zone { border: 0 !important; background: linear-gradient(160deg, rgba(var(--accent-rgb), .07), rgba(255,255,255,.015)) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); border-radius: 20px; padding: 40px 24px; transition: box-shadow .35s, background .35s, transform .35s cubic-bezier(.16,1,.3,1); position: relative; overflow: hidden; }
@property --hu-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
:root .pg-drop-zone::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--hu-a), transparent 0 60%, rgba(var(--accent-rgb), .9) 80%, transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; animation: huSpinA 3s linear infinite; pointer-events: none; }
@keyframes huSpinA { to { --hu-a: 360deg; } }
:root .pg-drop-zone > * { position: relative; z-index: 1; }
:root .pg-drop-zone:hover, :root .pg-drop-zone.drag-over { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45), 0 0 40px rgba(var(--accent-rgb), .15); transform: translateY(-2px); }
:root .pg-drop-zone:hover::before, :root .pg-drop-zone.drag-over::before { opacity: 1; }
.pg-di { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; color: var(--text-primary); background: rgba(var(--accent-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25); font-size: 0 !important; }
.pg-di svg { width: 36px; height: 36px; }
.pg-di .d2 { color: rgb(var(--accent-rgb)); transform-origin: 36px 34px; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.pg-drop-zone:hover .pg-di .d2 { transform: scale(1.15) rotate(90deg); }
.pg-drop-zone:hover .pg-di { animation: huFloat 2.6s ease-in-out infinite; }

/* ---------- encadres repliables (v424) ---------- */
.hu-info { cursor: pointer; transition: padding .35s cubic-bezier(.16,1,.3,1), max-width .45s cubic-bezier(.16,1,.3,1), background .3s; user-select: none; }
.hu-info:hover { background: linear-gradient(135deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .04)); }
.hu-info b { display: flex !important; align-items: center; gap: 8px; }
.hu-i-chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .3s; }
.hu-i-t { display: block; }
.hu-info.fold { display: inline-flex; max-width: 520px; padding: 8px 14px 8px 8px; align-items: center; }
.hu-info.fold .hu-i-t { display: none; }
.hu-info.fold .hu-i-ic { width: 26px; height: 26px; }
.hu-info.fold b { margin: 0 !important; font-size: 12.5px; }
.hu-info.fold .hu-i-chev { transform: rotate(-45deg); }
.hu-info:not(:has(b)).fold .hu-i-b::after { content: 'Aide'; font-size: 12.5px; font-weight: 600; }

/* ---------- Automatisations : separation du journal complet ---------- */
.au-tabs .au-sep { flex-basis: 100%; height: 1px; margin: 4px 8px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.au-tabs .au-tab-all { display: inline-flex; align-items: center; gap: 7px; margin: 0 auto; }
#au-root .hu-info { margin-top: 10px; }

/* ---------- Commandes : resume en bulles ---------- */
.vd-sum:has(.vd-sum-c) { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; padding: 0; background: none; border: 0; }
.vd-sum-c { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--border); animation: huRise .5s cubic-bezier(.16,1,.3,1) both; }
.vd-sum-c b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.vd-sum-c i { font-style: normal; font-size: 12.5px; color: var(--text-secondary); }
.vd-sum-c.hi { background: rgba(var(--accent-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25); }
.vd-sum-c.ok b { color: #34d399; } .vd-sum-c.ok { background: rgba(52,211,153,.07); box-shadow: inset 0 0 0 1px rgba(52,211,153,.22); }
.vd-sum-c.ko b { color: #f87171; }
.vd-sum-c:nth-child(2) { animation-delay: .05s; } .vd-sum-c:nth-child(3) { animation-delay: .1s; } .vd-sum-c:nth-child(4) { animation-delay: .15s; }

/* ---------- theme Neutre : texte lisible sur les onglets actifs (fond blanc) ---------- */
:root[data-theme="neutre"] :is(.au-tab.active, .au-tab.on, .filter-btn.active, .conv-filter.active, .pp-chip.active, .pp-tab.active, .st-tab button.active, .xt-tab.active, .rp-bar .pp-chip.active) { color: #0b0b0f !important; }
:root[data-theme="neutre"] :is(.au-tab.on, .pp-chip.active, .pp-tab.active, .filter-btn.active) .vd-count { color: rgba(11,11,15,.6) !important; }
/* onglets Ventes / Achats en pilule */
:root:not([data-theme="classique"]) .pp-tabs { display: inline-flex; gap: 3px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--border); border: 0; }
:root:not([data-theme="classique"]) .pp-tab { border: 0; border-radius: 10px; padding: 7px 16px; font-weight: 500; transition: background .25s, color .25s, box-shadow .3s; }
:root:not([data-theme="classique"]) .pp-tab.active { box-shadow: 0 4px 14px rgba(var(--accent-rgb), .3); }

/* ---------- Chatbox : couleurs suivant le theme + compte en pilule ---------- */
:root[data-theme="neutre"] :is(.conv-list-panel, .chat-header, .sidebar, .item-detail-panel, .chat-input-area) { background-color: rgba(8,8,8,.6) !important; }
:root[data-theme="neutre"] .conv-item.active { background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.03)) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16) !important; }
.chat-acc-pill { display: inline-flex !important; align-items: center; gap: 7px; margin-top: 4px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: 12px !important; font-weight: 600; color: var(--text-primary) !important; background: rgba(var(--accent-rgb), .12) !important; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .28); }
.chat-acc-pill i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.chat-user-info .chat-username { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
#chat-item-banner { display: none !important; }
/* zone de saisie : outils IA / Auto en pilules alignees avec le champ */
:root:not([data-theme="classique"]) .chat-input-area { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px 14px; }
:root:not([data-theme="classique"]) .chat-input-tools { display: flex; flex-direction: row; gap: 6px; }
:root:not([data-theme="classique"]) .tool-btn { display: inline-flex; flex-direction: row; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 14px; border: 0; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, box-shadow .3s, transform .3s cubic-bezier(.16,1,.3,1); }
:root:not([data-theme="classique"]) .tool-btn svg { width: 17px; height: 17px; }
:root:not([data-theme="classique"]) .tool-btn .tool-label { font-size: 13px; margin: 0; }
:root:not([data-theme="classique"]) .tool-btn:hover { color: var(--text-primary); background: rgba(var(--accent-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35), 0 0 16px rgba(var(--accent-rgb), .15); transform: translateY(-1px); }
:root:not([data-theme="classique"]) .tool-btn.lightning:hover svg { animation: icoTwinkle 1s ease-in-out infinite; }
:root:not([data-theme="classique"]) .chat-input-wrapper { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 44px; padding: 5px 5px 5px 16px; border-radius: 16px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--border); border: 0; transition: box-shadow .3s; }
:root:not([data-theme="classique"]) .chat-input-wrapper:focus-within { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .5), 0 0 22px rgba(var(--accent-rgb), .12); }
:root:not([data-theme="classique"]) .chat-input-wrapper textarea { flex: 1; background: transparent !important; border: 0 !important; padding: 8px 0 !important; min-height: 24px; box-shadow: none !important; }
:root:not([data-theme="classique"]) .send-btn { width: 36px; height: 36px; border-radius: 12px; flex: none; }

/* ---------- petites notes mises en avant (au lieu de texte gris minuscule) ---------- */
.hu-note { display: block; margin-top: 10px !important; padding: 10px 13px !important; border-radius: 12px; font-size: 12.5px !important; line-height: 1.55 !important; color: var(--text-primary) !important; background: rgba(var(--accent-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .2); text-shadow: 0 0 12px rgba(var(--accent-rgb), .35); }

/* ---------- Studio IA : credits ---------- */
.st-cr-row.warn .st-cr-bar i { background: linear-gradient(90deg, #f59e0b, #fb923c) !important; box-shadow: 0 0 10px rgba(251,146,60,.5); }
.st-cr-row.warn .st-cr-top span { color: #fb923c; }
.st-cr-row.dead .st-cr-bar i { background: linear-gradient(90deg, #ef4444, #f87171) !important; }
.st-cr-cost.hu-note b { color: var(--text-primary); font-weight: 600; }
.st-cr-cost.hu-note .st-cr-note { font-size: 11px; opacity: .65; text-shadow: none; }
.hu-check.st-check { padding-left: 0; }

/* ---------- ecran de chargement ---------- */
#hub-loader { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 35%, #12162c 0%, #05060d 70%); transition: opacity .55s ease, visibility .55s; }
:root[data-theme="neutre"] #hub-loader { background: radial-gradient(120% 90% at 50% 35%, #1a1a1a 0%, #000 70%); }
:root[data-theme="clair"] #hub-loader { background: radial-gradient(120% 90% at 50% 35%, #fff 0%, #eef0f6 70%); }
#hub-loader.out { opacity: 0; visibility: hidden; }
#hub-loader.out .hl-in { transform: scale(1.06); }
.hl-in { display: flex; flex-direction: column; align-items: center; transition: transform .55s cubic-bezier(.16,1,.3,1); animation: huRise .7s cubic-bezier(.16,1,.3,1) both; }
.hl-logo { position: relative; width: 96px; height: 96px; }
.hl-logo svg { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 60px rgba(201,214,255,.15); }
.hl-logo::after { content: ''; position: absolute; inset: -12px; border-radius: 34px; border: 1.5px solid rgba(201,214,255,.4); animation: hlRing 2.2s ease-out infinite; }
@keyframes hlRing { 0% { opacity: .8; transform: scale(.88); } 100% { opacity: 0; transform: scale(1.3); } }
.hl-b { stroke: url(#hlg); stroke-width: 3.6; stroke-linecap: round; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; animation: hlDraw 1.6s cubic-bezier(.65,0,.35,1) infinite; }
.hl-b.b2 { animation-delay: .15s; } .hl-b.b3 { animation-delay: .3s; }
@keyframes hlDraw { 0% { stroke-dashoffset: 20; } 45%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -20; } }
.hl-n { transform-box: fill-box; transform-origin: center; animation: hlPop 1.6s ease-in-out infinite; }
.hl-n.n2 { animation-delay: .15s; } .hl-n.n3 { animation-delay: .3s; }
@keyframes hlPop { 0%, 100% { transform: scale(.75); } 50% { transform: scale(1.1); } }
.hl-c { transform-box: fill-box; transform-origin: center; animation: hlPop 1.6s ease-in-out infinite reverse; }
.hl-name { margin-top: 22px; font-size: 34px; font-weight: 600; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #C9D6FF 60%, #FF8A5B 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="clair"] .hl-name { background: none; color: #0d0f1a; }
.hl-t { margin-top: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,241,255,.55); }
:root[data-theme="clair"] .hl-t { color: #6b7280; }
.hl-t span { animation: huBlink 1.2s infinite; } .hl-t span:nth-child(2) { animation-delay: .2s; } .hl-t span:nth-child(3) { animation-delay: .4s; }
.hl-bar { margin-top: 18px; width: 140px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.hl-bar i { display: block; width: 40%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, #C9D6FF, #FF8A5B); animation: hlSlide 1.3s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes hlSlide { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
#page-dashboard:not(:has(#vd-dash))::after { content: '' !important; }

/* ---------- infobulles maison (tout le Hub : title et data-tip, via hub-ui.js) ---------- */
[data-tip] { cursor: help; }
:is(button, a, label, .tool-btn, .cp-btn, select, input)[data-tip] { cursor: pointer; }
input[data-tip] { cursor: text; }
.hu-tip { position: fixed; z-index: 99990; max-width: 280px; padding: 9px 13px; border-radius: 12px; font-size: 12.5px; font-weight: 500; line-height: 1.45; color: var(--text-primary, #eef1ff); background: linear-gradient(160deg, rgba(34,38,70,.97), rgba(12,14,30,.98)); box-shadow: 0 14px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.1), 0 0 24px rgba(var(--accent-rgb), .12); pointer-events: none; opacity: 0; transform: translateY(4px) scale(.97); transition: opacity .18s, transform .3s cubic-bezier(.16,1,.3,1); backdrop-filter: blur(12px); }
.hu-tip.below { transform: translateY(-4px) scale(.97); }
.hu-tip.in { opacity: 1; transform: none; }
.hu-tip::after { content: ''; position: absolute; left: var(--ax, 50%); bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: rgba(18,20,40,.98); transform: rotate(45deg); box-shadow: 1px 1px 0 rgba(255,255,255,.1); }
.hu-tip.below::after { bottom: auto; top: -5px; box-shadow: -1px -1px 0 rgba(255,255,255,.1); }
:root[data-theme="neutre"] .hu-tip { background: linear-gradient(160deg, #1f1f1f, #0b0b0b); box-shadow: 0 14px 40px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.12); }
:root[data-theme="neutre"] .hu-tip::after { background: #111; }
:root[data-theme="clair"] .hu-tip { background: #fff; color: #0d0f1a; box-shadow: 0 14px 40px rgba(0,0,0,.15), inset 0 0 0 1px rgba(0,0,0,.08); }
:root[data-theme="clair"] .hu-tip::after { background: #fff; }

/* ---------- bloc de chargement dans les pages ---------- */
.hu-load { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 55vh; animation: huRise .5s cubic-bezier(.16,1,.3,1) both; }
.hl-logo.sm, .hl-logo.sm svg { width: 72px; height: 72px; }
.hl-logo.sm svg { border-radius: 18px; }
.hl-logo.sm::after { border-radius: 28px; inset: -10px; }
.hu-load .hl-t { margin-top: 18px; color: var(--text-secondary); }

/* ---------- Dressing : tuiles alignees ---------- */
#dr-root .vd-kpis { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { #dr-root .vd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { #dr-root .vd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dr-kpi { display: flex; flex-direction: column; min-width: 0; overflow: visible !important; }
.dr-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 22px; }
.dr-kpi-top .vd-kpi-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dr-kpi .vd-kpi-v { margin: 10px 0 6px !important; line-height: 1.1; white-space: nowrap; }
.dr-kpi .vd-kpi-h { min-height: 32px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dr-kpi .vd-trend { flex: none; }
.vd-kpi-l:has(.vd-trend) { display: block; }

/* ---------- Dashboard : legende centree verticalement ---------- */
.vd-legend span { line-height: 16px; }
.vd-legend span > :not(i) { position: relative; top: 1.5px; }
.vd-legend span { text-indent: 0; }
.vd-legend em { font-style: normal; }

/* ---------- Centre d'aide ---------- */
:root:not([data-theme="classique"]) .aide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; align-items: start; }
:root:not([data-theme="classique"]) .aide-card.expanded { grid-column: 1 / -1; transform: none !important; }
.aide-card .aide-details { display: none; }
.aide-card.expanded .aide-details { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); animation: huRise .45s cubic-bezier(.16,1,.3,1); columns: 2 340px; column-gap: 34px; }
.aide-card .aide-details h4 { break-after: avoid; margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: rgb(var(--accent-rgb)); text-transform: uppercase; }
.aide-card .aide-details h4:not(:first-child) { margin-top: 18px; }
.aide-card .aide-details ul { margin: 0; padding-left: 18px; break-inside: avoid-column; }
.aide-card .aide-details li { font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 6px; }
.aide-card .aide-details li b { color: var(--text-primary); font-weight: 600; }
.aide-card .aide-details li::marker { color: rgb(var(--accent-rgb)); }
.aide-card > p { font-size: 13.5px; line-height: 1.55; }
.aide-expand-btn { margin-top: 14px; }

/* ---------- textes qui brillent au survol ---------- */
.hu-glow { font-size: 15px !important; color: var(--text-primary) !important; opacity: .85; text-shadow: 0 0 18px rgba(var(--accent-rgb), .35); transition: opacity .3s, text-shadow .4s, letter-spacing .5s cubic-bezier(.16,1,.3,1); }
.hu-glow span { background: linear-gradient(90deg, var(--text-primary), rgb(var(--accent-rgb)), var(--text-primary)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .8s; }
.hu-glow:hover { opacity: 1; text-shadow: 0 0 26px rgba(var(--accent-rgb), .6); letter-spacing: .01em; }
.hu-glow:hover span { background-position: 100% 0; }
:root:not([data-theme="classique"]) .page-header h1 { transition: text-shadow .4s, letter-spacing .5s cubic-bezier(.16,1,.3,1); }
:root:not([data-theme="classique"]) .page-header h1:hover { text-shadow: 0 0 28px rgba(var(--accent-rgb), .55); letter-spacing: -.015em; }
:root:not([data-theme="classique"]) :is(.aide-card h3, .vd-card-h, .au-t, .settings-card h3) { transition: text-shadow .35s, transform .4s cubic-bezier(.16,1,.3,1); }
:root:not([data-theme="classique"]) :is(.aide-card, .vd-card, .au-card, .settings-card):hover :is(h3, .vd-card-h, .au-t) { text-shadow: 0 0 18px rgba(var(--accent-rgb), .45); }

/* =============================================================
   MODES D'AFFICHAGE (Parametres > Apparence)
   data-lv="1" visible partout · "2" Equilibre + Expert · "3" Expert seulement
   data-only="essentiel" : bloc propre au mode Essentiel
   L'onglet Statistiques n'est jamais filtre.
   ============================================================= */
:root[data-mode="essentiel"] [data-lv="2"]:not(#page-statistiques *), :root[data-mode="essentiel"] [data-lv="3"]:not(#page-statistiques *), :root[data-mode="equilibre"] [data-lv="3"]:not(#page-statistiques *) { display: none !important; }
:root:not([data-mode="essentiel"]) [data-only="essentiel"] { display: none !important; }
:root[data-mode="essentiel"] #page-dashboard #date-filters { display: none !important; }
:root[data-mode="essentiel"] #dr-root .vd-trend { display: none; }
:root[data-mode="essentiel"] #dr-root .vd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
:root[data-mode="equilibre"] #dr-root .vd-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vd-ess { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (max-width: 1000px) { .vd-ess { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vd-ess .vd-kpi-v { font-size: 30px !important; }
.vd-ess .vd-kpi.hot { box-shadow: inset 0 0 0 1px rgba(251,146,60,.45), 0 0 26px rgba(251,146,60,.15) !important; }
.vd-ess .vd-kpi.hot .vd-kpi-v { color: #fb923c !important; }
/* choix du mode */
.hub-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 800px) { .hub-modes { grid-template-columns: 1fr; } }
.hub-md { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: 16px; border: 0; text-align: left; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-primary); font: inherit; cursor: pointer; transition: box-shadow .3s, background .3s, transform .35s cubic-bezier(.16,1,.3,1); }
.hub-md:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); }
.hub-md.on { background: linear-gradient(160deg, rgba(var(--accent-rgb), .18), rgba(var(--accent-rgb), .05)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .55), 0 8px 26px rgba(var(--accent-rgb), .15); }
.hub-md-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: rgb(var(--accent-rgb)); }
.hub-md-ic svg { width: 18px; height: 18px; }
.hub-md-lv { display: flex; gap: 4px; margin-top: 4px; }
.hub-md-lv i { width: 18px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.hub-md-lv i.on { background: rgb(var(--accent-rgb)); box-shadow: 0 0 8px rgba(var(--accent-rgb), .6); }
.hub-md b { font-size: 15px; font-weight: 600; margin-top: 4px; }
.hub-md > span:last-child { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }

/* ---------- Automatisations : etats sur une ligne, aide en dessous, journal centre ---------- */
#au-root .au-state { max-width: none !important; }
#au-root .au-state > .hu-info { max-width: 920px; margin: 4px 0 0 !important; }
#au-root .au-state > .hu-info { order: 2; flex-basis: auto; }
#au-root .au-state::before { content: ''; order: 1; flex-basis: 100%; height: 0; }
.au-tabs .au-tab-all { margin-left: auto !important; margin-right: auto !important; justify-content: center; }
.au-tabs .au-sep { order: 98; } .au-tabs .au-tab-all { order: 99; }
:root:not([data-theme="classique"]) .tool-btn { width: auto !important; min-width: 0; justify-content: center; white-space: nowrap; }
:root:not([data-theme="classique"]) .tool-btn svg { flex: none; display: block; }
:root:not([data-theme="classique"]) .tool-btn.lightning:hover { color: #fbbf24; background: rgba(251,191,36,.1); box-shadow: inset 0 0 0 1px rgba(251,191,36,.4), 0 0 16px rgba(251,191,36,.15); }

/* ---------- Mon profil ---------- */
.user-card { cursor: pointer; border-radius: 14px; transition: background .25s, box-shadow .25s; }
.user-card:hover { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--border); }
.user-avatar.has-img { padding: 0; overflow: hidden; background: none !important; }
.user-avatar img, .pf-av img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.pf-ov { position: fixed; inset: 0; z-index: 9200; display: grid; place-items: center; padding: 16px; background: rgba(4,6,16,0); backdrop-filter: blur(0); transition: background .3s, backdrop-filter .3s; }
.pf-ov.in { background: rgba(4,6,16,.55); backdrop-filter: blur(8px); }
.pf-m { position: relative; display: grid; grid-template-columns: 250px 1fr; width: min(980px, 100%); height: min(680px, calc(100vh - 32px)); border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, rgba(28,32,60,.97), rgba(10,12,26,.98)); box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .3s, transform .45s cubic-bezier(.16,1,.3,1); color: var(--text-primary); }
:root[data-theme="neutre"] .pf-m { background: linear-gradient(160deg, #191919, #080808); }
:root[data-theme="clair"] .pf-m { background: #fff; }
.pf-ov.in .pf-m { opacity: 1; transform: none; }
.pf-x { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 11px; border: 0; background: rgba(255,255,255,.06); color: var(--text-primary); font-size: 20px; cursor: pointer; z-index: 2; }
.pf-x:hover { background: rgba(255,255,255,.12); }
.pf-side { padding: 22px 14px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; background: rgba(0,0,0,.15); }
.pf-me { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 6px 6px 18px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.pf-me b { font-size: 16px; font-weight: 600; margin-top: 8px; }
.pf-me span { font-size: 12px; color: var(--text-muted); word-break: break-all; }
.pf-plan { font-style: normal; font-size: 11px; font-weight: 600; margin-top: 6px; padding: 3px 10px; border-radius: 99px; color: rgb(var(--accent-rgb)); background: rgba(var(--accent-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3); }
.pf-av { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; font-weight: 600; color: #fff; background: linear-gradient(145deg, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), .45)); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pf-av.big { width: 88px; height: 88px; border-radius: 26px; font-size: 34px; }
:root[data-theme="neutre"] .pf-av { color: #0b0b0f; }
.pf-tab { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; border: 0; background: none; color: var(--text-secondary); font: inherit; font-size: 13.5px; font-weight: 500; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.pf-tab svg { width: 18px; height: 18px; flex: none; }
.pf-tab:hover { background: rgba(255,255,255,.05); color: var(--text-primary); }
.pf-tab.on { background: rgba(var(--accent-rgb), .14); color: var(--text-primary); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3); }
.pf-out { margin-top: auto; color: #f87171; } .pf-out:hover { background: rgba(248,113,113,.1); color: #f87171; }
.pf-body { padding: 30px 34px; overflow-y: auto; }
.pf-body h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.pf-sub { margin: 4px 0 22px; font-size: 13px; color: var(--text-secondary); }
.pf-avrow { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.pf-hint { display: block; font-style: normal; font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.pf-f { display: block; margin-bottom: 16px; }
.pf-f > span { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.pf-f > em { display: block; font-style: normal; font-size: 11.5px; color: var(--text-muted); margin-top: 5px; }
.pf-f input { width: 100%; }
.pf-act { margin: 6px 0 22px; }
.pf-card { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: 14px; }
.pf-card > b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.pf-card p { font-size: 13px; color: var(--text-secondary); margin: 0 0 12px; line-height: 1.55; }
.pf-muted { color: var(--text-muted) !important; }
.pf-danger { box-shadow: inset 0 0 0 1px rgba(248,113,113,.3); }
.pf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-pm { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.2); margin-bottom: 12px; font-size: 13px; color: var(--text-secondary); }
.pf-pm svg { width: 22px; height: 22px; }
.pf-cur { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .03)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25); }
.pf-cur span { display: block; font-size: 12px; color: var(--text-secondary); }
.pf-cur b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0; }
.pf-cur em { font-style: normal; font-size: 12.5px; color: var(--text-secondary); }
.pf-period { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(0,0,0,.25); gap: 3px; }
.pf-period button { border: 0; background: none; color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.pf-period button.on { background: rgba(255,255,255,.1); color: var(--text-primary); }
.pf-period i { font-style: normal; font-size: 10.5px; color: #34d399; margin-left: 4px; }
.pf-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.pf-pl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.pf-pl.on { box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .6), 0 8px 26px rgba(var(--accent-rgb), .15); }
.pf-pl b { font-size: 15px; font-weight: 600; }
.pf-price { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.pf-price small { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 2px; }
.pf-pl p { font-size: 12px; line-height: 1.5; color: var(--text-secondary); margin: 0 0 8px; flex: 1; }
.pf-badge { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 99px; color: #34d399; background: rgba(52,211,153,.12); }
@media (max-width: 760px) { .pf-m { grid-template-columns: 1fr; height: auto; max-height: calc(100vh - 32px); } .pf-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--border); } .pf-me { display: none; } .pf-plans, .pf-grid, .pf-two { grid-template-columns: 1fr; } }

/* ---------- Panel admin : utilisateurs, fiche, suppression ---------- */
#hub-adm-side { display: flex; flex-direction: column; gap: 3px; padding: 4px 8px 10px; overflow-y: auto; max-height: calc(100vh - 260px); }
#hub-adm-side .nav-section-title { padding: 10px 8px 6px; }
.adm-su { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border-radius: 11px; border: 0; background: none; color: var(--text-secondary); font: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.adm-su b { flex: 1; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-su i { font-style: normal; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--text-muted); }
.adm-su:hover { background: rgba(255,255,255,.05); color: var(--text-primary); }
.adm-su.on { background: rgba(var(--accent-rgb), .15); color: var(--text-primary); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3); }
.adm-av { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; overflow: hidden; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(145deg, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), .45)); }
.adm-av img { width: 100%; height: 100%; object-fit: cover; }
.adm-av.all { background: rgba(255,255,255,.08); color: var(--text-primary); }
.adm-av.big { width: 72px; height: 72px; border-radius: 22px; font-size: 28px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
:is(.adm-su i, .adm-tags i):is(.pl-free, .pl-pro, .pl-business, .pl-proche, .pl-copine, .pl-dev) { color: rgb(var(--pc)); background: rgba(var(--pc), .13); box-shadow: inset 0 0 0 1px rgba(var(--pc), .28); }
.adm-acts { white-space: nowrap; }
.adm-acts > * { vertical-align: middle; margin-left: 6px; }
.adm-view { padding: 7px 14px !important; }
.adm-del { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 11px; border: 0; background: rgba(248,113,113,.1); color: #f87171; box-shadow: inset 0 0 0 1px rgba(248,113,113,.3); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, box-shadow .2s; }
.adm-del:hover { background: rgba(248,113,113,.2); box-shadow: inset 0 0 0 1px rgba(248,113,113,.6), 0 0 18px rgba(248,113,113,.2); }
.adm-del.big { margin-left: auto; height: 40px; padding: 0 16px; }
.adm-head { margin: 4px 0 14px; }
.adm-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.adm-hero h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.adm-hero > div > span { font-size: 13px; color: var(--text-secondary); }
.adm-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.adm-tags i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--text-secondary); }
.adm-kpis { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (max-width: 1000px) { .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.adm-tabs { margin-bottom: 16px; }
.adm-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.adm-ph { display: block; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); text-decoration: none; color: inherit; cursor: zoom-in; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.adm-ph:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4), 0 12px 28px rgba(0,0,0,.35); }
.adm-ph img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.adm-ph > span { display: grid; place-items: center; aspect-ratio: 3/4; font-size: 12px; color: var(--text-muted); }
.adm-ph em { display: block; padding: 8px 10px; font-style: normal; font-size: 11.5px; line-height: 1.45; color: var(--text-secondary); }
.adm-card { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: 12px; }
.adm-card b { display: block; font-size: 14px; margin-bottom: 8px; }
.adm-card p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-secondary); white-space: pre-wrap; }
.adm-card p span { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgb(var(--accent-rgb)); margin-right: 8px; }
.adm-pill { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.07); color: var(--text-secondary); margin-left: 6px; }
.adm-pill.ai { color: #c4b5fd; background: rgba(167,139,250,.15); }
.adm-list { display: flex; flex-direction: column; gap: 8px; }
.adm-msg { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.adm-msg > div { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.adm-msg > div span { margin-left: auto; font-size: 11.5px; color: var(--text-muted); }
.adm-msg p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-primary); white-space: pre-wrap; }
.adm-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-t th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding: 8px 10px; border-bottom: 1px solid var(--border); }
.adm-t td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-secondary); }
.adm-t td:nth-child(2), .adm-t td:nth-child(4) { color: var(--text-primary); }
.adm-err { color: #f87171; font-size: 12px; }
.adm-delpop .xt-pop-card { width: min(480px, 100%); }
.btn-danger:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- champs nombres : plus de fleches Windows ---------- */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
:root:not([data-theme="classique"]) input[type="number"] { transition: box-shadow .25s, border-color .25s, background .25s; }
:root:not([data-theme="classique"]) input[type="number"]:hover { border-color: rgba(var(--accent-rgb), .35); }
:root:not([data-theme="classique"]) input[type="number"]:focus { outline: none; border-color: rgba(var(--accent-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); background: rgba(var(--accent-rgb), .05); }
/* Journal complet : texte centre, icone a gauche */
.au-tabs .au-tab-all .au-ja { position: relative; }
.au-tabs .au-tab-all .au-ja svg { position: absolute; right: calc(100% + 9px); top: 50%; transform: translateY(-50%); }

/* ---------- recadrage de la photo de profil ---------- */
.pf-crop-ov { position: fixed; inset: 0; z-index: 9400; display: grid; place-items: center; padding: 16px; background: rgba(4,6,16,.6); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
.pf-crop-ov.in { opacity: 1; }
.pf-crop { width: min(560px, 100%); padding: 24px; border-radius: 24px; background: linear-gradient(160deg, rgba(30,34,62,.98), rgba(10,12,26,.99)); box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); color: var(--text-primary); transform: translateY(12px) scale(.97); transition: transform .4s cubic-bezier(.16,1,.3,1); }
:root[data-theme="neutre"] .pf-crop { background: linear-gradient(160deg, #1b1b1b, #090909); }
.pf-crop-ov.in .pf-crop { transform: none; }
.pf-crop h3 { margin: 0; font-size: 18px; font-weight: 600; }
.pf-crop > p { margin: 4px 0 16px; font-size: 13px; color: var(--text-secondary); }
.pf-crop-row { display: flex; gap: 22px; align-items: center; }
.pf-crop-v { position: relative; width: 280px; height: 280px; flex: none; border-radius: 28px; overflow: hidden; background: #000; cursor: grab; touch-action: none; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 10px 30px rgba(0,0,0,.4); }
.pf-crop-v.grab { cursor: grabbing; }
.pf-crop-v img, .pf-crop-p img { position: absolute; max-width: none; user-select: none; pointer-events: none; }
.pf-crop-grid { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 33.33% 0 / 1px 100% no-repeat, linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 66.66% 0 / 1px 100% no-repeat, linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 0 33.33% / 100% 1px no-repeat, linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 0 66.66% / 100% 1px no-repeat; opacity: 0; transition: opacity .2s; }
.pf-crop-v:hover .pf-crop-grid, .pf-crop-v.grab .pf-crop-grid { opacity: 1; }
.pf-crop-side { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pf-crop-side span { font-size: 12px; color: var(--text-muted); }
.pf-crop-p { position: relative; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.pf-crop-p.big { width: 96px; height: 96px; border-radius: 28px; }
.pf-crop-p.sm { width: 36px; height: 36px; border-radius: 50%; }
.pf-crop-z { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; color: var(--text-secondary); }
.pf-crop-z input { flex: 1; accent-color: rgb(var(--accent-rgb)); }
.pf-crop-b { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
@media (max-width: 560px) { .pf-crop-row { flex-direction: column; } }

/* ---------- panel admin v427 : dashboard, couleurs par abonnement, filtres ---------- */
.pl-free { --pc: 148,163,184; } .pl-pro { --pc: 251,191,36; } .pl-business { --pc: 56,189,248; } .pl-proche { --pc: 52,211,153; } .pl-copine { --pc: 244,63,94; } .pl-dev { --pc: 167,139,250; }
.adm-ph-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.adm-k6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
@media (max-width: 1300px) { .adm-k6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .adm-k6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.adm-k6 .vd-kpi-v { white-space: nowrap; }
.vd-kpi.ko { box-shadow: inset 0 0 0 1px rgba(248,113,113,.4), 0 0 24px rgba(248,113,113,.1) !important; }
.vd-kpi.ko .vd-kpi-v { color: #f87171 !important; }
.vd-kpi.ok .vd-kpi-v { color: #34d399 !important; }
.vd-kpi.acc .vd-kpi-v { color: rgb(var(--accent-rgb)) !important; }
.adm-g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; margin-bottom: 16px; }
@media (max-width: 1000px) { .adm-g2 { grid-template-columns: 1fr; } }
.adm-g2 > .vd-card { margin: 0 !important; }
.adm-bar { display: grid; grid-template-columns: 112px 1fr 34px; align-items: center; gap: 12px; padding: 7px 0; }
.adm-bar > b { text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.adm-bar-t { height: 8px; border-radius: 99px; background: rgba(255,255,255,.05); overflow: hidden; }
.adm-bar-t i { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: rgb(var(--pc)); box-shadow: 0 0 14px rgba(var(--pc), .5); transition: width .6s cubic-bezier(.16,1,.3,1); }
.adm-plan { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 99px; color: rgb(var(--pc)); background: rgba(var(--pc), .13); box-shadow: inset 0 0 0 1px rgba(var(--pc), .28); white-space: nowrap; justify-self: start; }
.adm-plan::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.adm-spark { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 6px; }
.adm-spark i { flex: 1; min-width: 2px; border-radius: 4px 4px 2px 2px; background: rgba(255,255,255,.06); transition: background .2s, transform .2s; transform-origin: bottom; }
.adm-spark i.on { background: linear-gradient(180deg, rgb(var(--accent-rgb)), rgba(var(--accent-rgb), .35)); box-shadow: 0 0 12px rgba(var(--accent-rgb), .25); }
.adm-spark i:hover { background: rgb(var(--accent-rgb)); transform: scaleY(1.04); }
.adm-filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-filters .pp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-filters .vd-search { max-width: 280px; flex: 1; min-width: 180px; }
select.adm-plsel { appearance: none; -webkit-appearance: none; font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 30px 6px 12px; border-radius: 99px; border: 0; cursor: pointer; color: rgb(var(--pc)); background: rgba(var(--pc), .13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center; box-shadow: inset 0 0 0 1px rgba(var(--pc), .3); transition: box-shadow .2s; }
select.adm-plsel:hover, select.adm-plsel:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(var(--pc), .6), 0 0 16px rgba(var(--pc), .2); }
select.adm-plsel option { color: #e5e7eb; background: #0f1424; }
.adm-st { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.adm-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.adm-st.st-paid { color: #34d399; background: rgba(52,211,153,.12); }
.adm-st.st-late { color: #f87171; background: rgba(248,113,113,.12); box-shadow: inset 0 0 0 1px rgba(248,113,113,.3); }
.adm-st.st-gift { color: #34d399; background: rgba(52,211,153,.08); }
.adm-st.st-free { color: #94a3b8; background: rgba(148,163,184,.1); }
.adm-st.st-dev { color: #c4b5fd; background: rgba(167,139,250,.14); }
.adm-mail { display: inline-flex; align-items: center; padding: 7px 14px !important; text-decoration: none; color: #fbbf24 !important; box-shadow: inset 0 0 0 1px rgba(251,191,36,.35) !important; }
.adm-mail:hover { box-shadow: inset 0 0 0 1px rgba(251,191,36,.7), 0 0 16px rgba(251,191,36,.2) !important; }
.adm-since { font-size: 11px; }
:root[data-theme="clair"] select.adm-plsel option { color: #0d1220; background: #fff; }

/* ---------- parametres > Notifications ---------- */
.hub-nch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .hub-nch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hub-nc { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 16px 20px; border-radius: 16px; border: 0; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-secondary); font: inherit; cursor: pointer; transition: box-shadow .25s, background .25s, transform .25s cubic-bezier(.16,1,.3,1), opacity .25s; }
.hub-nc:hover { transform: translateY(-2px); background: rgba(255,255,255,.05); }
.hub-nc.on { background: rgba(var(--accent-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4), 0 0 26px rgba(var(--accent-rgb), .1); }
.hub-nc-ic { display: block; width: 46px; height: 46px; margin-bottom: 10px; color: var(--text-primary); transition: transform .3s cubic-bezier(.16,1,.3,1), filter .3s, opacity .3s; }
.hub-nc-ic svg { display: block; width: 100%; height: 100%; }
.hub-nc-ic { transition: transform .5s cubic-bezier(.34,1.56,.64,1), filter .4s, opacity .3s; }
.hub-nc:hover .hub-nc-ic { transform: translateY(-6px) scale(1.14); filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)) drop-shadow(0 0 16px rgba(var(--accent-rgb), .55)); animation: hub-float 2.4s ease-in-out .5s infinite; }
.hub-nc[data-nch="discord"]:hover .hub-nc-ic { filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(88,101,242,.75)); }
@keyframes hub-float { 0%, 100% { transform: translateY(-6px) scale(1.14); } 50% { transform: translateY(-10px) scale(1.14); } }
.hub-nc:not(.on) .hub-nc-ic { opacity: .4; filter: grayscale(1); }
.hub-nc b { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.hub-nc b em { font-style: normal; font-size: 10px; font-weight: 600; padding: 2px 7px; margin-left: 4px; border-radius: 99px; vertical-align: 2px; color: #fbbf24; background: rgba(251,191,36,.12); }
.hub-nc > span { font-size: 12px; line-height: 1.45; }
.hub-nc .hub-sw { position: absolute; top: 12px; right: 12px; transform: scale(.85); transform-origin: top right; }
.hub-ng { margin: 16px 0 2px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--accent-rgb)); }
.hub-ng:first-of-type { margin-top: 4px; }

/* ================= v429 : cloche de notifications ================= */
.sidebar-header { position: relative; }
.nt-wrap { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.mobile-topbar .nt-wrap { position: static; transform: none; margin-left: auto; }
.nt-bell { position: relative; width: 36px; height: 36px; border-radius: 12px; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.04); color: var(--text-secondary); cursor: pointer; box-shadow: inset 0 0 0 1px var(--border); transition: background .2s, color .2s, box-shadow .2s; }
.nt-bell svg { width: 18px; height: 18px; transform-origin: 50% 10%; }
.nt-bell:hover { color: var(--text-primary); background: rgba(255,255,255,.08); }
.nt-bell.has { color: var(--text-primary); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45), 0 0 18px rgba(var(--accent-rgb), .2); }
.nt-bell.has svg { animation: nt-ring 2.6s ease-in-out infinite; }
.nt-bell:hover svg { animation: nt-ring .9s ease-in-out; }
@keyframes nt-ring { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(16deg); } 70% { transform: rotate(-14deg); } 76% { transform: rotate(10deg); } 82% { transform: rotate(-6deg); } 88% { transform: rotate(3deg); } }
.nt-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; font-style: normal; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; color: #fff; background: #f43f5e; box-shadow: 0 0 0 2px var(--bg-primary, #0b0f1e), 0 0 12px rgba(244,63,94,.6); transform: scale(0); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.nt-badge.on { transform: scale(1); }
.nt-pop { position: fixed; z-index: 9600; max-height: min(560px, calc(100vh - 100px)); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: linear-gradient(170deg, rgba(28,34,56,.97), rgba(12,15,28,.98)); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.55); backdrop-filter: blur(20px); opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top left; transition: opacity .25s, transform .3s cubic-bezier(.16,1,.3,1); }
.nt-pop.in { opacity: 1; transform: none; }
.nt-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.nt-h b { font-size: 15px; }
.nt-h button, .nt-f button { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: rgb(var(--accent-rgb)); cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.nt-h button:hover, .nt-f button:hover { background: rgba(var(--accent-rgb), .12); }
.nt-list { overflow-y: auto; padding: 6px; }
.nt-it { display: flex; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 14px; background: none; text-align: left; font: inherit; color: var(--text-secondary); cursor: pointer; position: relative; transition: background .2s; }
.nt-it:hover { background: rgba(255,255,255,.05); }
.nt-it.unread { background: rgba(var(--accent-rgb), .07); }
.nt-it.unread::after { content: ''; position: absolute; right: 12px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--accent-rgb)); box-shadow: 0 0 8px rgb(var(--accent-rgb)); }
.nt-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--text-primary); }
.nt-ic svg { width: 17px; height: 17px; }
.nt-it.k-sale .nt-ic { color: #34d399; background: rgba(52,211,153,.13); }
.nt-it.k-battle .nt-ic, .nt-it.k-taunt .nt-ic { color: #fb923c; background: rgba(251,146,60,.13); }
.nt-it.win .nt-ic { color: #fbbf24; background: rgba(251,191,36,.16); }
.nt-it.k-friend .nt-ic { color: #38bdf8; background: rgba(56,189,248,.13); }
.nt-it.k-news .nt-ic { color: #c4b5fd; background: rgba(167,139,250,.15); }
.nt-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 14px; }
.nt-tx b { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.35; }
.nt-tx span { font-size: 12.5px; line-height: 1.4; }
.nt-tx em { font-style: normal; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.nt-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 24px; text-align: center; color: var(--text-secondary); font-size: 12.5px; }
.nt-empty svg { width: 34px; height: 34px; color: var(--text-muted); margin-bottom: 4px; }
.nt-empty b { color: var(--text-primary); font-size: 14px; }
.nt-f { padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.06); text-align: center; }
.nw-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 8px #f43f5e; display: none; }
.nw-dot.on { display: block; }

/* ================= Amis & battles ================= */
.sc-av { flex: none; width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; overflow: hidden; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(145deg, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), .4)); }
.sc-av img { width: 100%; height: 100%; object-fit: cover; }
.sc-av.lg { width: 44px; height: 44px; border-radius: 14px; font-size: 16px; }
.sc-av.xl { width: 64px; height: 64px; border-radius: 20px; font-size: 24px; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.fr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 900px) { .fr-top { grid-template-columns: 1fr; } }
.fr-top .vd-card { margin: 0 !important; }
.fr-lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 8px; }
.fr-code-v { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.fr-code-v b { font-size: 26px; font-weight: 700; letter-spacing: .08em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: linear-gradient(90deg, #fff, rgb(var(--accent-rgb))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fr-ib { width: 34px; height: 34px; flex: none; display: inline-grid; place-items: center; border: 0; border-radius: 11px; background: rgba(255,255,255,.06); color: var(--text-secondary); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.fr-ib:hover { color: var(--text-primary); background: rgba(var(--accent-rgb), .15); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); }
.fr-ib.del:hover { color: #f87171; background: rgba(248,113,113,.12); box-shadow: inset 0 0 0 1px rgba(248,113,113,.4); }
.fr-add-r { display: flex; gap: 10px; margin-bottom: 8px; }
.fr-add-r input { flex: 1; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.fr-add-r .btn-primary, .fr-go, .fr-fr .btn-primary { display: inline-flex; align-items: center; gap: 8px; }
.fr-req { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.fr-req-it, .fr-pend { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(56,189,248,.07); box-shadow: inset 0 0 0 1px rgba(56,189,248,.3); font-size: 13.5px; }
.fr-req-it > span:not(.sc-av), .fr-pend > span:not(.sc-av) { flex: 1; color: var(--text-secondary); } .fr-req-it b, .fr-pend b { color: var(--text-primary); }
.fr-pend { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: 8px; }
.fr-pend.inc { background: rgba(251,146,60,.08); box-shadow: inset 0 0 0 1px rgba(251,146,60,.35), 0 0 24px rgba(251,146,60,.1); }
.fr-tabs { display: flex; gap: 6px; margin: 4px 0 16px; }
.fr-rank-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.fr-seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--border); }
.fr-seg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-secondary); padding: 8px 16px; border-radius: 10px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.fr-seg button.on { color: var(--text-primary); background: rgba(var(--accent-rgb), .18); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45); }
.fr-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; max-width: 760px; margin: 10px auto 22px; }
.fr-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; animation: fr-rise .7s cubic-bezier(.16,1,.3,1) both; }
.fr-pod.p1 { animation-delay: .1s; } .fr-pod.p3 { animation-delay: .2s; }
@keyframes fr-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.fr-pod > b { font-size: 14px; margin-top: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-pod b em, .fr-row b em { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; vertical-align: 2px; color: rgb(var(--accent-rgb)); background: rgba(var(--accent-rgb), .15); }
.fr-amt { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.fr-step { width: 100%; margin-top: 8px; border-radius: 16px 16px 6px 6px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px var(--border); }
.fr-step i { font-style: normal; font-size: 28px; font-weight: 800; color: var(--text-muted); }
.fr-pod.p1 .fr-step { height: 120px; background: linear-gradient(180deg, rgba(251,191,36,.28), rgba(251,191,36,.04)); box-shadow: inset 0 0 0 1px rgba(251,191,36,.45), 0 0 40px rgba(251,191,36,.15); }
.fr-pod.p1 .fr-step i { color: #fbbf24; font-size: 40px; }
.fr-pod.p2 .fr-step { height: 86px; background: linear-gradient(180deg, rgba(203,213,225,.2), rgba(203,213,225,.03)); } .fr-pod.p2 .fr-step i { color: #cbd5e1; }
.fr-pod.p3 .fr-step { height: 62px; background: linear-gradient(180deg, rgba(217,119,6,.22), rgba(217,119,6,.03)); } .fr-pod.p3 .fr-step i { color: #d97706; }
.fr-pod.p1 .sc-av { box-shadow: 0 0 0 3px #fbbf24, 0 0 30px rgba(251,191,36,.45); }
.fr-pod.me .sc-av { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 3px; }
.fr-pod.none { visibility: hidden; }
.fr-crown { color: #fbbf24; filter: drop-shadow(0 0 10px rgba(251,191,36,.7)); animation: fr-float 2.4s ease-in-out infinite; }
@keyframes fr-float { 50% { transform: translateY(-4px) rotate(-4deg); } }
.fr-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fr-row { display: grid; grid-template-columns: 34px 34px minmax(90px, 200px) 1fr auto 110px; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.fr-row.me { background: rgba(var(--accent-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); }
.fr-row b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-row .fr-amt { font-size: 14.5px; text-align: right; }
.fr-pos { font-size: 14px; font-weight: 700; color: var(--text-muted); text-align: center; }
.fr-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.05); overflow: hidden; }
.fr-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--accent-rgb), .4), rgb(var(--accent-rgb))); }
@media (max-width: 700px) { .fr-row { grid-template-columns: 26px 34px 1fr auto; } .fr-row .fr-bar, .fr-row > .vd-muted { display: none; } }
.fr-new .fr-new-r { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.fr-new .fr-go { align-self: end; }
@media (max-width: 1000px) { .fr-new .fr-new-r { grid-template-columns: 1fr; } }
.fr-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.fr-pk { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 5px; border: 0; border-radius: 13px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.fr-pk .sc-av { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
.fr-pk.d { padding: 0 16px; }
.fr-pk:hover { color: var(--text-primary); background: rgba(255,255,255,.07); }
.fr-pk.on { color: var(--text-primary); background: rgba(var(--accent-rgb), .15); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .55), 0 0 18px rgba(var(--accent-rgb), .15); }
.fr-cust { padding: 0 12px !important; cursor: text; }
.fr-cust input { width: 38px; border: 0; background: none; color: var(--text-primary); font: inherit; font-weight: 700; text-align: right; outline: none; }
.fr-go { height: 42px; }
.fr-sec { margin: 22px 0 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.fr-vs { position: relative; overflow: hidden; }
.fr-vs::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%, rgba(var(--accent-rgb), .14), transparent 45%), radial-gradient(circle at 85% 0%, rgba(251,146,60,.14), transparent 45%); pointer-events: none; }
.fr-vs-r { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 6px 0 14px; }
.fr-pl { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.fr-pl .fr-crown { position: absolute; top: -18px; }
.fr-pl.lead .sc-av { box-shadow: 0 0 0 3px #fbbf24, 0 0 30px rgba(251,191,36,.4); }
.fr-pl.op .sc-av { background: linear-gradient(145deg, #fb923c, #c2410c); }
.fr-pl .fr-amt { font-size: 24px; }
.fr-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fr-vs-t { font-size: 30px; font-weight: 900; font-style: italic; letter-spacing: -.02em; background: linear-gradient(135deg, rgb(var(--accent-rgb)), #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; animation: fr-pulse 2s ease-in-out infinite; }
@keyframes fr-pulse { 50% { transform: scale(1.1); filter: drop-shadow(0 0 12px rgba(251,146,60,.6)); } }
.fr-left { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.fr-tug { position: relative; display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.05); gap: 2px; }
.fr-tug i { height: 100%; transition: width .8s cubic-bezier(.16,1,.3,1); }
.fr-tug i.me { background: linear-gradient(90deg, rgba(var(--accent-rgb), .5), rgb(var(--accent-rgb))); box-shadow: 0 0 14px rgba(var(--accent-rgb), .5); border-radius: 99px 0 0 99px; }
.fr-tug i.op { background: linear-gradient(90deg, #fb923c, rgba(251,146,60,.5)); box-shadow: 0 0 14px rgba(251,146,60,.5); border-radius: 0 99px 99px 0; }
.fr-time { height: 3px; margin-top: 8px; border-radius: 99px; background: rgba(255,255,255,.05); overflow: hidden; }
.fr-time i { display: block; height: 100%; background: rgba(255,255,255,.35); }
.fr-taunt { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fr-tc { border: 0; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-secondary); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.fr-tc:hover { color: var(--text-primary); background: rgba(251,146,60,.14); box-shadow: inset 0 0 0 1px rgba(251,146,60,.4); transform: translateY(-2px) rotate(-1deg); }
.fr-tin { display: flex; gap: 8px; width: 100%; margin-top: 4px; }
.fr-tin input { flex: 1; }
.fr-done { display: flex; flex-direction: column; gap: 6px; }
.fr-dn { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); font-size: 13px; }
.fr-dn > span.fr-vs-who { flex: 1; color: var(--text-secondary); } .fr-dn b { color: var(--text-primary); }
.fr-res { flex: none; min-width: 72px; text-align: center; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.fr-dn.won .fr-res { color: #fbbf24; background: rgba(251,191,36,.14); box-shadow: 0 0 16px rgba(251,191,36,.2); }
.fr-dn.lost .fr-res { color: #f87171; background: rgba(248,113,113,.12); }
.fr-dn.draw .fr-res { color: var(--text-secondary); background: rgba(255,255,255,.07); }
.fr-sc { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; } .fr-sc i { font-style: normal; color: var(--text-muted); font-weight: 500; margin: 0 4px; }
.fr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.fr-fr { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.fr-fr > span:not(.sc-av) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fr-fr b { font-size: 14px; } .fr-fr em { font-style: normal; font-size: 11.5px; color: var(--text-muted); }
.fr-fr .btn-primary { padding: 8px 14px; }

/* ================= Nouveautes ================= */
.nw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.nw-head .pp-chips { display: flex; gap: 6px; }
.nw-feed { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 860px; padding-left: 26px; }
.nw-feed::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .6), rgba(255,255,255,.04)); }
.nw-post { position: relative; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); animation: fr-rise .6s cubic-bezier(.16,1,.3,1) both; }
.nw-post::before { content: ''; position: absolute; left: -24px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-primary, #0b0f1e); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .7); }
.nw-post:first-child::before { background: rgb(var(--accent-rgb)); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2), 0 0 14px rgb(var(--accent-rgb)); }
.nw-post.maint { background: rgba(251,146,60,.06); box-shadow: inset 0 0 0 1px rgba(251,146,60,.35); }
.nw-post.maint::before { box-shadow: 0 0 0 2px #fb923c; }
.nw-post h3 { margin: 8px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.nw-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.nw-ver { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; color: rgb(var(--accent-rgb)); background: rgba(var(--accent-rgb), .14); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.nw-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; color: var(--text-secondary); background: rgba(255,255,255,.06); }
.nw-tag.new { color: #34d399; background: rgba(52,211,153,.12); } .nw-tag.mt { color: #fb923c; background: rgba(251,146,60,.14); }
.nw-ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.nw-ul li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); }
.nw-ul li::before { content: ''; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: rgba(var(--accent-rgb), .8); }
.nw-p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); }
.nw-adm { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.nw-adm .fr-ib { width: 28px; height: 28px; border-radius: 9px; }
.nw-st { font: inherit; font-size: 12px; padding: 4px 8px; border-radius: 9px; border: 0; background: rgba(255,255,255,.06); color: var(--text-primary); }
.nw-kan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .nw-kan { grid-template-columns: 1fr; } }
.nw-col { padding: 12px; border-radius: 18px; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; gap: 10px; }
.nw-col-h { display: flex; align-items: center; gap: 8px; padding: 4px 6px; font-size: 13px; font-weight: 600; }
.nw-col-h i { width: 8px; height: 8px; border-radius: 50%; }
.nw-col-h .vd-count { margin-left: auto; }
.c-prevu .nw-col-h i { background: #94a3b8; } .c-en_cours .nw-col-h i { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; } .c-fait .nw-col-h i { background: #34d399; box-shadow: 0 0 10px #34d399; }
.nw-rm { position: relative; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--border); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.nw-rm:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35); }
.nw-rm > b { display: block; font-size: 13.5px; padding-right: 4px; }
.nw-rm .nw-adm { float: right; margin: -4px -4px 4px 8px; }
.nw-rm .nw-ul li, .nw-rm .nw-p { font-size: 12.5px; }
.c-fait .nw-rm > b { color: var(--text-secondary); }
.nw-none { padding: 18px; text-align: center; font-size: 12px; color: var(--text-muted); }
.nw-comp { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px !important; }
.nw-comp .fr-lbl { margin: 10px 0 6px; }
.nw-comp-r { display: grid; grid-template-columns: 200px 1fr; gap: 14px; }
.nw-comp select, .nw-comp textarea { width: 100%; font: inherit; font-size: 13.5px; color: var(--text-primary); background: rgba(255,255,255,.04); border: 0; box-shadow: inset 0 0 0 1px var(--border); border-radius: 12px; padding: 10px 12px; outline: none; resize: vertical; }
.nw-comp textarea:focus, .nw-comp select:focus { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6); }
.nw-comp-f { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.nw-comp-f .btn-primary { margin-left: auto; }

#fr-root, #nw-root { width: 100%; max-width: 1240px; }
.nw-feed, .nw-kan { width: 100%; }

/* ================= Comptes lies + tuto Discord ================= */
.lk-card { margin-bottom: 14px; }
.lk-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.lk-row:last-of-type { border-bottom: 0; }
.lk-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lk-row b { font-size: 14px; font-weight: 600; }
.lk-row > div > span { font-size: 12.5px; color: var(--text-secondary); }
.lk-row em { font-style: normal; color: #a5b4fc; font-weight: 600; }
.lk-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(88,101,242,.12); box-shadow: inset 0 0 0 1px rgba(88,101,242,.3); }
.lk-ic svg { width: 24px; height: 24px; }
.lk-ic.mail { background: rgba(var(--accent-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3); color: rgb(var(--accent-rgb)); }
.lk-row .btn-secondary { text-decoration: none; padding: 8px 14px; }
.btn-primary.lk-dc { display: inline-flex; align-items: center; gap: 9px; background: #5865F2 !important; color: #fff !important; box-shadow: 0 8px 24px rgba(88,101,242,.35) !important; border: 0; }
.btn-primary.lk-dc:hover { background: #4752c4 !important; box-shadow: 0 10px 30px rgba(88,101,242,.5) !important; }
.btn-primary.lk-dc svg { width: 18px; height: 18px; } .btn-primary.lk-dc svg path { fill: #fff; }
.lk-adm { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 12px; }
.lk-modal { position: fixed; inset: 0; z-index: 9800; display: grid; place-items: center; padding: 16px; background: rgba(3,5,12,.6); backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s; }
.lk-modal.in { opacity: 1; }
.lk-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 30px 30px 24px; border-radius: 26px; text-align: center; background: linear-gradient(170deg, rgba(30,36,64,.98), rgba(12,15,28,.98)); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.6), 0 0 80px rgba(88,101,242,.15); transform: translateY(14px) scale(.97); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.lk-modal.in .lk-box { transform: none; }
.lk-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--text-secondary); cursor: pointer; }
.lk-x:hover { color: var(--text-primary); background: rgba(255,255,255,.12); }
.lk-hero { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: rgba(88,101,242,.15); box-shadow: inset 0 0 0 1px rgba(88,101,242,.4), 0 0 40px rgba(88,101,242,.35); margin-bottom: 14px; animation: fr-float 3s ease-in-out infinite; }
.lk-hero svg { width: 40px; height: 40px; }
.lk-box h2 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.lk-steps { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.lk-steps li { display: flex; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.lk-steps i { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; color: #fff; background: #5865F2; box-shadow: 0 0 14px rgba(88,101,242,.5); }
.lk-steps b { display: block; font-size: 14px; margin-bottom: 3px; }
.lk-steps span { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.lk-steps em { font-style: normal; color: #a5b4fc; font-weight: 600; }
.lk-acts { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.lk-acts .btn-secondary { text-decoration: none; display: inline-flex; align-items: center; }

.lk-adm-b { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.nt-it.k-recap .nt-ic { color: #fbbf24; background: rgba(251,191,36,.14); }

/* ================= Anti-restriction ================= */
#ab-root { width: 100%; max-width: 1240px; }
.ab-accs { display: flex; gap: 6px; margin-bottom: 14px; }
.ab-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.ab-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 0% 0%, rgba(var(--ab), .16), transparent 55%); }
.ab-hero.ok { --ab: 52,211,153; } .ab-hero.mid { --ab: 251,191,36; } .ab-hero.hot { --ab: 248,113,113; } .ab-hero.off { --ab: 148,163,184; }
.ab-hero-l { position: relative; display: flex; align-items: flex-start; gap: 18px; }
.ab-hero-l > div:nth-child(2) { flex: 1; }
.ab-hero h2 { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.ab-hero p { margin: 8px 0 0; font-size: 13px; line-height: 1.55; max-width: 520px; }
.ab-shield { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: rgb(var(--ab)); background: rgba(var(--ab), .14); box-shadow: inset 0 0 0 1px rgba(var(--ab), .4), 0 0 30px rgba(var(--ab), .25); }
.ab-shield svg { width: 30px; height: 30px; }
.ab-risk { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 99px; color: rgb(var(--ab)); background: rgba(var(--ab), .14); }
.ab-risk::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: nt-ring 0s; }
.ab-rings { position: relative; display: flex; gap: 22px; }
.ab-ring { position: relative; width: 120px; display: flex; flex-direction: column; align-items: center; }
.ab-ring svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.ab-rbg { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 9; }
.ab-rfg { fill: none; stroke-width: 9; stroke-linecap: round; transition: stroke-dasharray .8s cubic-bezier(.16,1,.3,1); }
.ab-ring > div { position: absolute; top: 0; height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ab-ring b { font-size: 26px; font-weight: 700; line-height: 1; } .ab-ring span { font-size: 11.5px; color: var(--text-muted); }
.ab-ring em { font-style: normal; font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
@media (max-width: 900px) { .ab-hero { grid-template-columns: 1fr; } }
.ab-chart { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 6px; }
.ab-col { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; gap: 1px; border-radius: 5px; background: rgba(255,255,255,.025); overflow: hidden; transition: background .2s; }
.ab-col:hover { background: rgba(255,255,255,.07); }
.ab-col i { display: block; width: 100%; min-height: 2px; }
.ab-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--text-muted); }
.ab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 14px; }
@media (max-width: 1100px) { .ab-grid { grid-template-columns: 1fr; } }
.ab-grid .vd-card { margin: 0 !important; }
.ab-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: text; }
.ab-in span { display: flex; flex-direction: column; } .ab-in b { font-size: 13.5px; font-weight: 600; } .ab-in em { font-style: normal; font-size: 12px; color: var(--text-muted); }
.ab-in input, .ab-row input { width: 76px; font: inherit; font-size: 14px; font-weight: 700; text-align: center; color: var(--text-primary); background: rgba(255,255,255,.04); border: 0; border-radius: 11px; padding: 8px; box-shadow: inset 0 0 0 1px var(--border); outline: none; }
.ab-in input:focus, .ab-row input:focus { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6), 0 0 14px rgba(var(--accent-rgb), .15); }
.ab-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.ab-presets .fr-pk em { font-style: normal; font-weight: 500; font-size: 11px; color: var(--text-muted); margin-left: 4px; }
.ab-list { display: flex; flex-direction: column; gap: 6px; }
.ab-row { display: grid; grid-template-columns: 22px 26px 10px minmax(0, 1fr) auto 64px 64px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 13px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); }
.ab-row input { width: 64px; padding: 6px; font-size: 13px; }
.ab-rank { font-size: 12px; font-weight: 700; color: var(--text-muted); text-align: center; }
.ab-mv { display: flex; flex-direction: column; }
.ab-mv button { border: 0; background: none; color: var(--text-muted); font-size: 9px; line-height: 1; padding: 2px 6px; cursor: pointer; border-radius: 5px; }
.ab-mv button:hover:not(:disabled) { color: var(--text-primary); background: rgba(255,255,255,.08); }
.ab-mv button:disabled { opacity: .25; cursor: default; }
.ab-dot { width: 10px; height: 10px; border-radius: 3px; }
.ab-n { display: flex; flex-direction: column; min-width: 0; } .ab-n b { font-size: 13px; } .ab-n em { font-style: normal; font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-c { font-size: 12.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; } .ab-c i { font-style: normal; color: var(--text-muted); font-weight: 500; }
.ab-lock { grid-column: span 2; text-align: center; font-size: 11.5px; color: var(--text-muted); }
.ab-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 12px; }

/* ================= Preparation des colis ================= */
.pk-prog { height: 6px; border-radius: 99px; background: rgba(255,255,255,.05); overflow: hidden; margin: 4px 0 18px; }
.pk-prog i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34d399, #22b8d8); box-shadow: 0 0 14px rgba(52,211,153,.5); transition: width .6s cubic-bezier(.16,1,.3,1); }
.pk-group { margin-bottom: 18px; }
.pk-gh { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14px; }
.pk-gh i { width: 10px; height: 10px; border-radius: 50%; }
.pk-list { display: flex; flex-direction: column; gap: 8px; }
.pk-it { display: grid; grid-template-columns: 34px 52px minmax(0, 1fr) 170px 440px; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); transition: opacity .3s, background .3s, box-shadow .3s; }
.pk-it img, .pk-it .vd-ph { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.pk-it.done { opacity: .55; background: rgba(52,211,153,.05); box-shadow: inset 0 0 0 1px rgba(52,211,153,.3); }
.pk-it.done .pk-m b { text-decoration: line-through; text-decoration-color: rgba(52,211,153,.6); }
.pk-chk { width: 30px; height: 30px; border-radius: 10px; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); color: transparent; transition: background .25s, box-shadow .25s, color .25s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.pk-chk svg { width: 16px; height: 16px; }
.pk-chk:hover { box-shadow: inset 0 0 0 1.5px #34d399; transform: scale(1.08); }
.pk-it.done .pk-chk { background: #34d399; box-shadow: 0 0 16px rgba(52,211,153,.5); color: #052e1c; }
.pk-m { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pk-m b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-m span { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-cdot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.pk-dl { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; font-size: 12px; }
.pk-dl b { font-weight: 600; color: var(--text-secondary); } .pk-dl em { font-style: normal; font-weight: 700; font-size: 13px; }
.pk-dl.ok em { color: #34d399; } .pk-dl.todo em { color: #fbbf24; } .pk-dl.ko em { color: #f87171; } .pk-dl.ko b { color: #fca5a5; }
.pk-a { display: grid; grid-template-columns: 112px 36px 170px 110px; gap: 6px; align-items: center; }
.pk-a > * { width: 100%; min-width: 0; height: 34px; justify-content: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
.pk-a .oa-st { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 10px; font-size: 11.5px; }
@media (max-width: 1400px) { .pk-it { grid-template-columns: 34px 52px minmax(0, 1fr) 150px; } .pk-a { grid-column: 3 / span 2; } }
@media (max-width: 800px) { .pk-it { grid-template-columns: 34px 52px 1fr; } .pk-dl, .pk-a { grid-column: 3; align-items: flex-start; } }
.pk-cars { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.pk-car { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; border: 0; border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-secondary); font: inherit; font-size: 13px; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s, transform .25s cubic-bezier(.16,1,.3,1); }
.pk-car i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.pk-car b { font-weight: 600; } .pk-car span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.07); }
.pk-car:hover { transform: translateY(-1px); color: var(--text-primary); }
.pk-car.on { color: var(--text-primary); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), 0 0 20px color-mix(in srgb, var(--c) 18%, transparent); }
.pk-car.on span { background: var(--c); color: #04111a; }
.pk-car.empty { opacity: .45; }
.pk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pk-bar .pp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pk-sort button { font-size: 12px; padding: 7px 12px; }

/* ================= Chatbox : photos, verification, blocage ================= */
.message.hg-photo { padding: 6px !important; max-width: 340px; }
.hg-ph-grid { display: grid; gap: 4px; border-radius: 14px; overflow: hidden; }
.hg-ph-grid.n2, .hg-ph-grid.n4 { grid-template-columns: 1fr 1fr; } .hg-ph-grid.n3 { grid-template-columns: 1fr 1fr 1fr; }
.hg-ph { display: block; cursor: zoom-in; } .hg-ph img { display: block; width: 100%; max-height: 320px; object-fit: cover; transition: transform .3s; }
.hg-ph:hover img { transform: scale(1.03); }
.hg-ph-t { padding: 8px 8px 0; font-size: 13.5px; }
.hg-lb { position: fixed; inset: 0; z-index: 9900; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(3,5,12,.85); backdrop-filter: blur(8px); cursor: zoom-out; }
.hg-lb img { max-width: 90vw; max-height: 82vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.hg-lb a { color: #cbd5e1; font-size: 13px; }
#hg-tab .hg-cnt { font-style: normal; display: none; margin-left: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #fb923c; color: #1a0d03; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
#hg-tab .hg-cnt.on { display: inline-block; }
.conv-item.ph-pending { box-shadow: inset 3px 0 0 #fb923c; }
.conv-item.ph-blocked { opacity: .55; box-shadow: inset 3px 0 0 #f87171; }
.hg-set { margin: 6px 10px 8px; padding: 12px 12px 6px; border-radius: 14px; background: rgba(251,146,60,.06); box-shadow: inset 0 0 0 1px rgba(251,146,60,.25); }
.hg-set-h { display: flex; align-items: center; gap: 7px; color: #fb923c; margin-bottom: 6px; font-size: 12.5px; }
.hg-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.05); }
.hg-row span { display: flex; flex-direction: column; } .hg-row b { font-size: 12px; font-weight: 600; } .hg-row em { font-style: normal; font-size: 11px; color: var(--text-muted); }
.hg-row .hub-sw { transform: scale(.8); transform-origin: right; } .hg-row select { font: inherit; font-size: 11.5px; background: rgba(255,255,255,.06); color: var(--text-primary); border: 0; border-radius: 8px; padding: 5px 6px; }
.hg-banner { display: flex; gap: 14px; margin: 10px 16px 0; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(251,146,60,.12), rgba(248,113,113,.06)); box-shadow: inset 0 0 0 1px rgba(251,146,60,.35), 0 10px 30px rgba(0,0,0,.25); animation: fr-rise .5s cubic-bezier(.16,1,.3,1); }
.hg-b-ph { display: flex; gap: 6px; flex: none; }
.hg-b-ph img { width: 78px; height: 78px; object-fit: cover; border-radius: 12px; cursor: zoom-in; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.hg-b-m { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.hg-b-m b { font-size: 14px; } .hg-b-m .vd-muted { font-size: 12px; }
.hg-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.hg-tag.mid { color: #fb923c; background: rgba(251,146,60,.15); } .hg-tag.ko { color: #f87171; background: rgba(248,113,113,.15); }
.hg-b-a { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.hg-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 0; border-radius: 11px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--text-primary); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--border); transition: background .2s, box-shadow .2s, transform .2s; }
.hg-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.11); }
.hg-btn.ko { color: #fecaca; background: rgba(248,113,113,.16); box-shadow: inset 0 0 0 1px rgba(248,113,113,.45); } .hg-btn.ko:hover { box-shadow: inset 0 0 0 1px #f87171, 0 0 18px rgba(248,113,113,.3); }
.hg-btn.ok { color: #bbf7d0; background: rgba(52,211,153,.14); box-shadow: inset 0 0 0 1px rgba(52,211,153,.45); }
.hg-btn.ghost { background: none; }
.hg-ctx { display: flex; gap: 8px; margin-top: 8px; } .hg-ctx[hidden] { display: none; }
.hg-ctx textarea { flex: 1; min-height: 56px; font: inherit; font-size: 13px; color: var(--text-primary); background: rgba(0,0,0,.25); border: 0; border-radius: 12px; padding: 10px; box-shadow: inset 0 0 0 1px var(--border); resize: vertical; outline: none; }
.chat-active { position: relative; }
.hg-overlay { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(5,7,15,.72); backdrop-filter: blur(6px); animation: fr-rise .4s cubic-bezier(.16,1,.3,1); }
.hg-ov-box { max-width: 460px; text-align: center; padding: 28px 26px 22px; border-radius: 24px; background: linear-gradient(170deg, rgba(40,18,24,.96), rgba(16,10,16,.96)); box-shadow: 0 0 0 1px rgba(248,113,113,.4), 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(248,113,113,.15); }
.hg-ov-box h3 { margin: 10px 0 6px; font-size: 22px; } .hg-ov-box p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: #e2c7cb; }
.hg-ov-box .hg-b-ph, .hg-ov-box .hg-b-a { justify-content: center; }
.hg-ov-ic { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; color: #f87171; background: rgba(248,113,113,.14); box-shadow: inset 0 0 0 1px rgba(248,113,113,.45), 0 0 40px rgba(248,113,113,.3); animation: fr-float 2.6s ease-in-out infinite; }
.hg-hb { display: inline-flex; gap: 2px; margin-right: 4px; }
.hg-hb .chat-action-btn:hover { color: #f87171; }
.hg-cf { position: fixed; inset: 0; z-index: 9950; display: grid; place-items: center; padding: 16px; background: rgba(3,5,12,.6); backdrop-filter: blur(8px); }
.hg-cf-b { width: min(420px, 100%); padding: 24px; border-radius: 22px; background: linear-gradient(170deg, rgba(30,36,64,.98), rgba(12,15,28,.98)); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.6); }
.hg-cf-b h3 { margin: 0 0 6px; font-size: 18px; } .hg-cf-b p { margin: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.hg-cf-b .hg-b-a { justify-content: flex-end; margin-top: 18px; }

/* ================= Lots (panneau Details article) ================= */
.lot-card { margin: 12px 0 4px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, rgba(167,139,250,.1), rgba(34,184,216,.05)); box-shadow: inset 0 0 0 1px rgba(167,139,250,.35); }
.lot-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .lot-h b { font-size: 14px; }
.lot-pill { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; color: #c4b5fd; background: rgba(167,139,250,.18); }
.lot-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.lot-it { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; background: rgba(255,255,255,.04); text-decoration: none; color: inherit; transition: background .2s, transform .2s; }
.lot-it:hover { background: rgba(255,255,255,.08); transform: translateX(2px); }
.lot-it img, .lot-noph { width: 44px; height: 44px; flex: none; border-radius: 9px; object-fit: cover; background: rgba(255,255,255,.06); }
.lot-it > div { display: flex; flex-direction: column; min-width: 0; } .lot-it b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot-it span { font-size: 12px; font-weight: 700; color: var(--accent); } .lot-it em { font-style: normal; font-size: 10.5px; color: var(--text-muted); }
.lot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lot-grid > div { padding: 8px 10px; border-radius: 11px; background: rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 2px; }
.lot-grid span { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.lot-grid b { font-size: 15px; } .lot-grid b i { font-style: normal; font-size: 11px; color: var(--text-muted); font-weight: 600; }
.lot-grid b.ok { color: #34d399; } .lot-grid b.mid { color: #fbbf24; } .lot-grid b.ko { color: #f87171; }
.lot-grid .hl { background: rgba(167,139,250,.14); box-shadow: inset 0 0 0 1px rgba(167,139,250,.35); } .lot-grid .hl b { color: #ddd6fe; }
.lot-verdict { margin-top: 8px; padding: 8px 10px; border-radius: 11px; font-size: 12px; font-weight: 600; }
.lot-verdict.ok { color: #6ee7b7; background: rgba(52,211,153,.1); } .lot-verdict.mid { color: #fcd34d; background: rgba(251,191,36,.1); } .lot-verdict.ko { color: #fca5a5; background: rgba(248,113,113,.1); }
.lot-note { margin-top: 8px; font-size: 10.5px; line-height: 1.5; color: var(--text-muted); }
.st-lots { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.st-lot-r { display: grid; grid-template-columns: 140px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.st-lot-r i { height: 8px; border-radius: 99px; background: rgba(255,255,255,.05); overflow: hidden; } .st-lot-r i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a78bfa, #22b8d8); }
.st-lot-r em { font-style: normal; text-align: right; font-weight: 700; }
/* v514 : fiche admin, choix de plateforme */
.adm-plat { display: inline-flex; gap: 3px; padding: 4px; margin: 4px 0 14px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.adm-plat button { border: 0; background: transparent; color: var(--text-secondary); font: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 10px; cursor: pointer; transition: all .2s; }
.adm-plat button.on { background: linear-gradient(135deg, #8b5cf6, #6366f1); color: #fff; box-shadow: 0 6px 16px rgba(139,92,246,.3); }
.adm-plat button[data-adm-plat="vinted"].on { background: linear-gradient(135deg, #09B1BA, #067f86); box-shadow: 0 6px 16px rgba(9,177,186,.3); }
.adm-plat button[data-adm-plat="depop"].on { background: linear-gradient(135deg, #ff2300, #c41b00); box-shadow: 0 6px 16px rgba(255,35,0,.3); }

/* v593 : statut Copine (rouge amour) */
.adm-st.st-love { color: #fb7185; background: rgba(244,63,94,.12); box-shadow: inset 0 0 0 1px rgba(244,63,94,.3); }
.adm-plsel.pl-copine, .adm-plan.pl-copine { color: #fb7185 !important; background: rgba(244,63,94,.12) !important; border-color: rgba(244,63,94,.35) !important; }
.hub-pl.copine { color: #fda4af; border-color: rgba(244,63,94,.45); box-shadow: 0 0 12px rgba(244,63,94,.3); }
