/* Gestionner — Partage de boutique */
.bs-btn{display:flex;align-items:center;gap:8px;width:100%;margin-top:8px;height:44px;border-radius:14px;border:1px solid #ead7e6;background:#fff;color:#74105f;font:inherit;font-weight:700;font-size:13.5px;justify-content:center;cursor:pointer}
.bs-btn:hover{background:#fbf3f9}
.bs-btn svg{width:16px;height:16px}
.bs-badge{display:inline-flex;align-items:center;margin-left:6px;padding:1px 7px;border-radius:99px;background:#f3e3ef;color:#74105f;font-size:10.5px;font-weight:800;letter-spacing:.02em;vertical-align:1px;white-space:nowrap}
.bs-by{font-style:normal}
body.bs-lock{overflow:hidden}
.bs-modal{position:fixed;inset:0;z-index:9700;background:rgba(30,10,28,.45);display:grid;place-items:center;padding:16px;animation:bs-fade .18s ease}
@keyframes bs-fade{from{opacity:0}to{opacity:1}}
@keyframes bs-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.bs-card,.bs-inv{animation:bs-pop .22s cubic-bezier(.2,.8,.2,1)}
.bs-card{width:min(520px,100%);max-height:min(88vh,720px);display:flex;flex-direction:column;background:#fff;border-radius:22px;box-shadow:0 30px 80px -20px rgba(40,10,35,.5);overflow:hidden;color:#231a22}
.bs-card header{display:flex;gap:12px;align-items:center;padding:18px 20px 14px;border-bottom:1px solid #f0e6ee}
.bs-logo{flex:none;width:44px;height:44px;border-radius:12px;background:linear-gradient(145deg,#8a1673,#5d0f4c);display:grid;place-items:center;color:#fff;font-weight:800;overflow:hidden}
.bs-logo img{width:100%;height:100%;object-fit:cover}
.bs-card header small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.12em;color:#74105f}
.bs-card header b{font-size:18px}
.bs-x{margin-left:auto;width:34px;height:34px;border:0;border-radius:10px;background:#f6edf5;display:grid;place-items:center;color:#8a7a88;font-size:20px;line-height:1;cursor:pointer}
.bs-body{padding:16px 20px 20px;display:grid;gap:14px;overflow:auto}
.bs-label{font-size:12.5px;font-weight:700;color:#5c4d5a;margin-bottom:6px}
.bs-row{display:flex;gap:8px}
.bs-input{flex:1;min-width:0;height:44px;border-radius:12px;border:1.5px solid #e4d3e0;padding:0 14px;color:#231a22;font:inherit;font-size:14px;background:#fff;outline:0}
.bs-input:focus{border-color:#a2398a;box-shadow:0 0 0 4px rgba(162,57,138,.12)}
.bs-send{flex:none;height:44px;padding:0 16px;border:0;border-radius:12px;background:linear-gradient(135deg,#8a1673,#5d0f4c);color:#fff;font:inherit;font-weight:700;font-size:13.5px;display:flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer}
.bs-send svg{width:15px;height:15px}
.bs-send:disabled{opacity:.6;cursor:default}
.bs-hint{font-size:12px;color:#8a7a88;margin-top:6px}
.bs-msg{font-size:12.5px;font-weight:600;margin-top:8px;padding:8px 12px;border-radius:10px}
.bs-msg.err{background:#fff1ef;color:#a3271b}.bs-msg.ok{background:#e9f7f0;color:#11744d}
.bs-info{display:flex;gap:10px;padding:12px 14px;border-radius:14px;background:#f8f1f6;font-size:12.5px;color:#4d3f4b;line-height:1.45}
.bs-info b{color:#231a22}
.bs-list{display:grid;gap:8px}
.bs-empty{font-size:12.5px;color:#8a7a88;padding:4px 2px}
.bs-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #f0e6ee;border-radius:14px}
.bs-av{flex:none;width:34px;height:34px;border-radius:50%;background:linear-gradient(145deg,#a2398a,#74105f);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px}
.bs-item>div{flex:1;min-width:0}.bs-item b{display:block;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bs-item small{display:block;font-size:12px;color:#8a7a88;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bs-st{flex:none;font-size:11px;font-weight:800;padding:3px 9px;border-radius:99px;white-space:nowrap}
.bs-wait{background:#fff3df;color:#a96a06}.bs-ok{background:#e3f5ec;color:#15845a}
.bs-link{flex:none;border:0;background:none;font:inherit;font-size:12.5px;font-weight:700;color:#c8392c;cursor:pointer;padding:4px}
.bs-link:disabled{opacity:.5}
.bs-inv{width:min(440px,100%);background:#fff;border-radius:24px;box-shadow:0 30px 80px -20px rgba(40,10,35,.5);padding:26px 24px 20px;text-align:center;color:#231a22;position:relative}
.bs-inv .bs-logo{width:64px;height:64px;border-radius:18px;margin:0 auto 12px;font-size:22px}
.bs-inv h3{margin:0 0 6px;font-size:20px}
.bs-inv p{margin:0 0 16px;color:#6b5c69;font-size:13.5px;line-height:1.5}
.bs-acts{display:flex;gap:10px}
.bs-acts button{flex:1;height:46px;border:0;border-radius:14px;font:inherit;font-weight:800;font-size:14px;cursor:pointer}
.bs-yes{background:linear-gradient(135deg,#8a1673,#5d0f4c);color:#fff}.bs-no{background:#f6edf5;color:#6b5c69}
.bs-danger{background:linear-gradient(135deg,#c8392c,#9b2419);color:#fff}
.bs-acts button:disabled{opacity:.6;cursor:default}
.bs-later{display:block;margin:12px auto 0;border:0;background:none;font:inherit;font-size:12.5px;font-weight:700;color:#8a7a88;cursor:pointer}
.bs-inv .bs-msg{text-align:left}
/* Cloche */
.bs-nsec{padding:10px 12px 4px;display:grid;gap:8px}
.bs-nitem{display:flex;gap:10px;padding:10px;border-radius:14px;background:#f8f1f6;text-align:left}
.bs-nitem .bs-logo{width:38px;height:38px;border-radius:10px;font-size:13px}
.bs-nitem b{display:block;font-size:13px;color:#231a22}.bs-nitem p{margin:2px 0 8px;font-size:12px;color:#6b5c69}
.bs-mini{display:flex;gap:6px}.bs-mini button{height:30px;padding:0 12px;border:0;border-radius:9px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.bs-dot{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#7a1fd1;color:#fff;font-size:10.5px;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px #fff;pointer-events:none}
/* Mode sombre */
body.dark .bs-card,body.dark .bs-inv{background:#221a24;color:#f2eaf1}
body.dark .bs-card header{border-color:rgba(255,255,255,.08)}
body.dark .bs-input{background:#1a141c;color:#f2eaf1;border-color:rgba(255,255,255,.14)}
body.dark .bs-info,body.dark .bs-nitem{background:rgba(255,255,255,.06);color:#d9cdd7}
body.dark .bs-info b,body.dark .bs-nitem b{color:#fff}
body.dark .bs-item{border-color:rgba(255,255,255,.1)}
body.dark .bs-x,body.dark .bs-no{background:rgba(255,255,255,.08);color:#d9cdd7}
body.dark .bs-btn{background:#221a24;border-color:rgba(255,255,255,.12);color:#e48ccc}
body.dark .bs-badge{background:rgba(228,140,204,.18);color:#f3b6e1}
@media (max-width:520px){.bs-row{flex-direction:column}.bs-send{justify-content:center}}
@media (prefers-reduced-motion:reduce){.bs-modal,.bs-card,.bs-inv{animation:none}}
/* Menu : « par X » sur sa propre ligne ; cloche : pas de « Tout est à jour » s'il y a une invitation */
#brandSwitcherMenu .brand-menu-copy small:has(.bs-by){flex-wrap:wrap}
#brandSwitcherMenu .bs-by{display:block;flex-basis:100%;font-size:11.5px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bs-nsec~.gx-nempty{display:none!important}
