.profile-badges-panel{background:#fff;border:1px solid #c9d8e8;margin:12px 0;overflow:hidden}
.profile-badges-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;background:#e9f2fb;border-bottom:1px solid #c9d8e8}
.profile-badges-heading h2{margin:0;font-size:14px;text-transform:lowercase;color:#315d7d}
.profile-badges-edit{border:0;background:transparent;color:#2b6f9f;font-size:12px;font-weight:700;cursor:pointer;padding:2px 0}
.profile-badges-scroller{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;padding:12px;scrollbar-width:thin;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.profile-badge-card{flex:0 0 112px;min-height:104px;border:1px solid #d6e2ee;background:#f8fbfe;border-radius:5px;padding:9px 7px;text-align:center;scroll-snap-align:start;box-sizing:border-box}
.profile-badge-icon{width:42px;height:42px;margin:0 auto 6px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(#f7c84a,#d99c15);border:2px solid #fff;box-shadow:0 0 0 1px #d4aa35;font-size:22px}
.profile-badge-card strong{display:block;color:#2d607e;font-size:12px;line-height:1.2;margin-bottom:4px}
.profile-badge-card small{display:block;color:#778895;font-size:10px;line-height:1.25}
.profile-badges-loading,.profile-badges-empty{display:block;padding:14px;color:#7b8b98;font-size:12px}
.profile-badges-modal{position:fixed;inset:0;z-index:10050;background:rgba(20,35,50,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.profile-badges-modal[hidden]{display:none!important}
.profile-badges-modal-card{width:min(620px,100%);max-height:86vh;overflow:auto;background:#fff;border:1px solid #b7c9d9;border-radius:6px;box-shadow:0 18px 50px rgba(0,0,0,.24)}
.profile-badges-modal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:14px 16px;background:#e9f2fb;border-bottom:1px solid #c9d8e8}
.profile-badges-modal-head h2{margin:0 0 3px;color:#315d7d;font-size:18px}.profile-badges-modal-head p{margin:0;color:#6f8190;font-size:12px}
.profile-badges-modal-head button{border:0;background:transparent;font-size:27px;line-height:1;color:#61788a;cursor:pointer}
.profile-badges-editor-list{padding:10px 14px}.profile-badge-editor-row{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #edf1f4}
.profile-badge-editor-row input{width:17px;height:17px;flex:0 0 auto}.profile-badge-editor-icon{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f1c64c;font-size:18px;flex:0 0 auto}
.profile-badge-editor-copy{min-width:0;flex:1}.profile-badge-editor-copy strong{display:block;color:#2d607e;font-size:13px}.profile-badge-editor-copy small{display:block;color:#7a8995;font-size:11px;margin-top:2px}.profile-badge-editor-row.locked{opacity:.5}.profile-badge-editor-lock{font-size:11px;color:#8a969f}
.profile-badges-editor-status{min-height:18px;padding:0 16px;color:#b14b3c;font-size:12px}.profile-badges-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #e1e8ee}.profile-badges-secondary,.profile-badges-primary{border-radius:3px;padding:7px 15px;cursor:pointer}.profile-badges-secondary{border:1px solid #b8c6d2;background:#fff;color:#526a7d}.profile-badges-primary{border:1px solid #4d83a7;background:#5d99c0;color:#fff;font-weight:700}
@media(max-width:640px){.profile-badge-card{flex-basis:102px}.profile-badges-scroller{gap:8px;padding:10px}.profile-badges-modal{padding:8px}.profile-badges-modal-card{max-height:92vh}}
