/* Secure multi-account manager: Discord-inspired, responsive, accessible. */
.lc-accounts-overlay[hidden],.lc-account-hover[hidden]{display:none!important;}
.lc-accounts-overlay{position:fixed;inset:0;z-index:1100;display:flex;justify-content:center;align-items:center;background:rgba(0,0,0,.72);padding:16px;animation:lcAccountsFade .15s ease both;}
.lc-accounts-dialog{width:min(580px,100%);max-height:calc(100dvh - 30px);overflow-y:auto;box-sizing:border-box;padding:24px 26px;border-radius:12px;border:1px solid #3a3b43;background:#24252c;color:#f2f3f5;box-shadow:0 20px 60px #000b;font:400 14px/1.4 var(--font-body, 'gg sans', system-ui, sans-serif);animation:lcAccountsPop .18s ease both;}
.lc-accounts-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;}
.lc-accounts-heading h2{font:800 20px/1.25 var(--font-body, 'gg sans', system-ui, sans-serif);letter-spacing:-.3px;color:#f5f5f6;margin:0;}
.lc-accounts-x{border:0;background:transparent;cursor:pointer;flex:none;width:32px;height:32px;display:grid;place-items:center;font-size:28px;color:#9d9faa;border-radius:6px;line-height:1;}.lc-accounts-x:hover{background:#34363e;color:white;}
.lc-account-desc{color:#aaaab5;font-size:14px;line-height:1.5;margin:0 0 22px;}
.lc-account-list{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;}
.lc-account-row{display:flex;align-items:center;gap:13px;padding:13px 15px;background:#33343b;border-radius:9px;min-height:65px;box-sizing:border-box;}
.lc-account-avatar{width:40px;height:40px;flex:none;background:#5865f2;display:grid;place-items:center;border-radius:50%;overflow:hidden;}
.lc-account-avatar img{width:100%;height:100%;object-fit:cover;}
.lc-account-details{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0;}
.lc-account-details strong{font-weight:700;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.lc-account-details span{font-size:12px;}
.lc-account-active{color:#49bd86;font-weight:600;}.lc-account-muted{color:#b9bac4;}.lc-active-check{color:white;background:#5865f2;border-radius:50%;display:inline-grid;place-items:center;min-width:18px;height:18px;font-size:12px;font-weight:bold;flex:none;}
.lc-account-button{border:0;border-radius:7px;cursor:pointer;background:#383940;color:#f2f3f5;font:600 14px var(--font-body, 'gg sans', system-ui, sans-serif);padding:10px 13px;text-align:center;}.lc-account-button:hover{background:#474950;}.lc-account-button:focus-visible,.lc-hover-account:focus-visible,.lc-hover-manage:focus-visible{outline:2px solid #5865f2;outline-offset:2px;}.lc-account-button:disabled{opacity:.55;cursor:wait;}
.lc-account-wide{display:block;width:100%;padding:13px;margin:8px 0;background:#36373e;}
.lc-account-small{padding:8px 11px;}.lc-account-remove{padding:4px 9px;font-size:20px;color:#c3c4cd;background:transparent;}.lc-account-remove:hover{color:#ff737a;}
.lc-account-note{font-size:11px;line-height:1.55;color:#9d9da8;margin:10px 0 0;}
.lc-account-form{display:flex;flex-direction:column;gap:16px;}
.lc-account-field{display:flex;flex-direction:column;gap:7px;font-weight:750;color:#e3e4e9;font-size:12px;}
.lc-account-field input,.lc-account-field select{background:#191a20;border:1px solid #3b3c46;border-radius:7px;color:#fff;min-width:0;width:100%;height:43px;box-sizing:border-box;padding:10px 12px;outline:none;font:400 14px var(--font-body, 'gg sans', system-ui, sans-serif);}
.lc-account-field input:focus-visible,.lc-account-field select:focus-visible{border-color:#5865f2;box-shadow:0 0 0 1px #5865f2;}
.lc-dob-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.lc-account-error{color:#fc686e;margin:0;min-height:14px;font-size:12px;}
.lc-account-error:empty{display:none;}
.lc-account-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:6px;}
.lc-account-primary{background:#5865f2;min-width:106px;padding:11px 17px;color:white;font-weight:750;}.lc-account-primary:hover{background:#4956d1;}.lc-account-back{background:transparent;}.lc-account-back:hover{background:#31323a;}
.lc-account-alternate{text-align:left;margin:14px 0 0;color:#a9aab5;font-size:13px;}
.lc-account-link{background:transparent;color:#9da6ff;padding:2px 0;font-size:13px;}.lc-account-link:hover{color:#c4c9ff;text-decoration:underline;background:transparent;}
.lc-account-hover{position:fixed;z-index:1080;width:248px;box-sizing:border-box;padding:9px;background:#282930;border:1px solid #393a44;border-radius:9px;box-shadow:0 14px 36px #0009;color:#f5f5f8;animation:lcAccountsPop .16s ease both;}
.lc-hover-caption{color:#9d9faa;font-size:10px;font-weight:700;margin:4px 8px 7px;letter-spacing:.3px;}
.lc-hover-account,.lc-hover-manage{display:flex;align-items:center;gap:10px;cursor:pointer;border:0;border-radius:5px;background:transparent;color:inherit;font:500 13px/1.25 var(--font-body, 'gg sans', system-ui, sans-serif);width:100%;padding:7px 8px;text-align:left;min-width:0;}
.lc-hover-account:hover,.lc-hover-manage:hover{background:#41434d;}.lc-hover-account .lc-account-avatar{width:26px;height:26px;}.lc-hover-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.lc-hover-sep{margin:7px 0;border-top:1px solid #42444c;}.lc-hover-manage{font-weight:650;min-height:35px;}
.switch-accounts-trigger{cursor:pointer;}
@keyframes lcAccountsFade{from{opacity:0}to{opacity:1}}
@keyframes lcAccountsPop{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.lc-accounts-dialog{padding:20px 17px;width:100%;max-height:calc(100dvh - 28px);}.lc-account-row{gap:8px;padding:11px;}.lc-account-small{font-size:12px;}.lc-account-hover{width:218px;}.lc-accounts-heading h2{font-size:20px;}}
@media(prefers-reduced-motion:reduce){.lc-accounts-overlay,.lc-accounts-dialog,.lc-account-hover{animation:none;}}

/* Match the existing Welcome Back / Create an Account screens exactly in font family.
   Both surfaces share the same --font-body token, whether GG Sans is bundled or loaded by CDN. */
.lc-accounts-dialog, .lc-account-hover { font-family: var(--font-body, "gg sans", system-ui, sans-serif); }
.lc-accounts-dialog button, .lc-accounts-dialog input, .lc-accounts-dialog select,
.lc-accounts-dialog label, .lc-account-hover button { font-family: inherit; }
