/* Account access: a compact Liquid Glass identity card.
   Same markup and same sheet for admin and guests; no mock sign-in paths. */
#wb2-shell #gtt-accounts>.gtt-accounts-button>.gtt-account-login-icon,
#gtt-shell-dock #gtt-accounts>.gtt-accounts-button>.gtt-account-login-icon {
 width:28px!important;height:28px!important;min-width:28px!important;
 flex:0 0 28px!important;object-fit:contain!important;border-radius:0!important;
 image-rendering:pixelated;filter:drop-shadow(0 2px 4px rgba(0,0,0,.23))
}
#wb2-shell #gtt-accounts>.gtt-accounts-panel,
#gtt-shell-dock #gtt-accounts>.gtt-accounts-panel{
 width:min(340px,calc(100vw - 18px))!important;
 max-height:min(80dvh,680px)!important;
 padding:15px!important;border-radius:17px!important;
 border:1px solid rgba(170,216,252,.39)!important;
 background:linear-gradient(155deg,rgba(32,67,110,.98) 0%,rgba(17,44,79,.985) 42%,rgba(9,29,58,.99) 100%)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.15),0 22px 55px rgba(0,7,24,.48)!important;
 color:#edf7ff;scrollbar-width:thin;
 backdrop-filter:blur(22px) saturate(155%);-webkit-backdrop-filter:blur(22px) saturate(155%);
}
#wb2-shell #gtt-accounts .gtt-auth-intro,
#gtt-shell-dock #gtt-accounts .gtt-auth-intro{
 display:flex;align-items:center;gap:13px;min-width:0;
 padding:3px 2px 15px;margin:0 0 12px;
 border-bottom:1px solid rgba(181,221,255,.19);
}
#wb2-shell #gtt-accounts .gtt-auth-intro-art,
#gtt-shell-dock #gtt-accounts .gtt-auth-intro-art{
 display:grid;place-items:center;flex:0 0 55px;width:55px;height:55px;
 border-radius:16px;border:1px solid rgba(179,223,254,.29);
 background:linear-gradient(135deg,rgba(125,181,236,.23),rgba(33,76,132,.43));
 box-shadow:inset 0 1px rgba(255,255,255,.23);
}
#wb2-shell #gtt-accounts .gtt-auth-intro-art img,
#gtt-shell-dock #gtt-accounts .gtt-auth-intro-art img{
 width:41px;height:41px;object-fit:contain;image-rendering:pixelated;
}
#wb2-shell #gtt-accounts .gtt-auth-intro-copy,
#gtt-shell-dock #gtt-accounts .gtt-auth-intro-copy{min-width:0}
#wb2-shell #gtt-accounts .gtt-auth-kicker,
#gtt-shell-dock #gtt-accounts .gtt-auth-kicker{
 font-size:9px;letter-spacing:.12em;font-weight:800;color:#9dc5e7;
}
#wb2-shell #gtt-accounts .gtt-auth-intro h3,
#gtt-shell-dock #gtt-accounts .gtt-auth-intro h3{
 font-size:20px!important;letter-spacing:-.035em;line-height:1.15;
 font-weight:820;margin:3px 0 5px;color:#fff;
}
#wb2-shell #gtt-accounts .gtt-auth-intro p,
#gtt-shell-dock #gtt-accounts .gtt-auth-intro p{
 margin:0!important;font-size:12px!important;line-height:1.45;color:#bdd5ea!important;
}
#wb2-shell #gtt-accounts .gtt-auth-provider-actions,
#gtt-shell-dock #gtt-accounts .gtt-auth-provider-actions{display:grid;gap:9px}
#wb2-shell #gtt-accounts .gtt-auth-discord,
#wb2-shell #gtt-accounts .gtt-auth-google,
#gtt-shell-dock #gtt-accounts .gtt-auth-discord,
#gtt-shell-dock #gtt-accounts .gtt-auth-google{
 margin:0!important;width:100%;min-height:43px!important;
 display:flex;align-items:center;justify-content:center;gap:11px;
 border-radius:11px!important;text-decoration:none;font-size:13px;
 font-weight:800;transition:filter .16s,transform .16s;
}
#wb2-shell #gtt-accounts .gtt-auth-discord,
#gtt-shell-dock #gtt-accounts .gtt-auth-discord{
 background:#5865f2!important;color:#fff!important;border:1px solid #8391ff!important;
}
#wb2-shell #gtt-accounts .gtt-auth-google,
#gtt-shell-dock #gtt-accounts .gtt-auth-google{
 background:#fff!important;color:#262626!important;border:1px solid rgba(255,255,255,.95)!important;
}
#wb2-shell #gtt-accounts .gtt-auth-provider-actions a:hover,
#gtt-shell-dock #gtt-accounts .gtt-auth-provider-actions a:hover{filter:brightness(1.08);transform:translateY(-1px)}
#wb2-shell #gtt-accounts .gtt-account-menu-primary button[data-account-admin],
#gtt-shell-dock #gtt-accounts .gtt-account-menu-primary button[data-account-admin]{
 background:linear-gradient(105deg,rgba(72,139,206,.19),rgba(39,103,162,.17))!important;
 border:1px solid rgba(153,209,249,.28)!important;
}
#wb2-shell #gtt-accounts .gtt-account-menu-primary button[data-account-admin]:hover,
#gtt-shell-dock #gtt-accounts .gtt-account-menu-primary button[data-account-admin]:hover{
 background:rgba(85,163,235,.27)!important;border-color:rgba(173,224,254,.55)!important;
}
#wb2-shell #gtt-accounts .gtt-account-connections,
#gtt-shell-dock #gtt-accounts .gtt-account-connections{
 margin:12px 0 14px!important;padding:12px 0 0!important;gap:8px!important;
 border-top:1px solid rgba(160,209,248,.25)!important;
}
#wb2-shell #gtt-accounts .gtt-account-connections>strong,
#gtt-shell-dock #gtt-accounts .gtt-account-connections>strong{
 padding:0 4px 2px;color:#b9d7f1!important;font-size:10px;letter-spacing:.085em;
}
#wb2-shell #gtt-accounts .gtt-account-provider,
#gtt-shell-dock #gtt-accounts .gtt-account-provider{
 box-sizing:border-box!important;width:100%;display:flex!important;align-items:center!important;
 gap:9px!important;min-height:43px!important;padding:8px 11px!important;
 border-radius:11px!important;font-weight:770!important;
 transition:filter .17s,transform .17s;
 box-shadow:inset 0 1px rgba(255,255,255,.17)!important;
 text-decoration:none!important;
}
#wb2-shell #gtt-accounts .gtt-provider-discord,
#gtt-shell-dock #gtt-accounts .gtt-provider-discord{
 background:linear-gradient(110deg,rgba(93,108,239,.82),rgba(67,90,190,.74))!important;
 border:1px solid rgba(145,160,255,.55)!important;color:#fff!important;
}
#wb2-shell #gtt-accounts .gtt-provider-google,
#gtt-shell-dock #gtt-accounts .gtt-provider-google{
 background:linear-gradient(110deg,rgba(248,250,255,.97),rgba(221,234,247,.93))!important;
 border:1px solid rgba(249,251,255,.78)!important;color:#1e2835!important;
}
#wb2-shell #gtt-accounts .gtt-account-provider svg,
#gtt-shell-dock #gtt-accounts .gtt-account-provider svg{
 flex:0 0 21px;width:21px;height:21px;color:inherit;fill:currentColor;
}
#wb2-shell #gtt-accounts .gtt-account-provider .gtt-auth-google-mark,
#gtt-shell-dock #gtt-accounts .gtt-account-provider .gtt-auth-google-mark{
 flex:0 0 21px;width:21px;margin:0!important;text-align:center;
}
#wb2-shell #gtt-accounts .gtt-provider-name,
#gtt-shell-dock #gtt-accounts .gtt-provider-name{font-size:13px;font-weight:800}
/* Two-line linked identity: provider label + exact Discord/GrowID name. */
#wb2-shell #gtt-accounts .gtt-provider-identity,
#gtt-shell-dock #gtt-accounts .gtt-provider-identity{
 display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
 justify-content:center;min-width:0;gap:2px!important;line-height:1.15!important;
}
#wb2-shell #gtt-accounts .gtt-provider-handle,
#gtt-shell-dock #gtt-accounts .gtt-provider-handle{
 display:block;max-width:100%;min-width:0;overflow:hidden;
 text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;
 color:inherit!important;opacity:.87;
}
#wb2-shell #gtt-accounts .gtt-provider-growid,
#gtt-shell-dock #gtt-accounts .gtt-provider-growid{
 background:linear-gradient(110deg,#ffe16f,#f1ba32)!important;
 border:1px solid #ffeb90!important;color:#4f3200!important;
}
#wb2-shell #gtt-accounts .gtt-growid-provider-icon,
#gtt-shell-dock #gtt-accounts .gtt-growid-provider-icon{
 flex:0 0 23px!important;width:23px!important;height:31px!important;
 object-fit:contain!important;image-rendering:auto!important;
 filter:drop-shadow(0 1px 1px rgba(77,48,0,.17));
}
/* Older account styles colored ALL connected spans pale blue. Override
   them here so white Google rows have dark labels and the real multicolor G. */
#wb2-shell #gtt-accounts .gtt-account-provider .gtt-provider-name,
#gtt-shell-dock #gtt-accounts .gtt-account-provider .gtt-provider-name{
 color:inherit!important;margin-right:0!important;
}
#wb2-shell #gtt-accounts .gtt-provider-google .gtt-auth-google-mark,
#gtt-shell-dock #gtt-accounts .gtt-provider-google .gtt-auth-google-mark{
 color:transparent!important;background-clip:text!important;
 -webkit-background-clip:text!important;margin-right:0!important;
}
#wb2-shell #gtt-accounts .gtt-provider-status,
#gtt-shell-dock #gtt-accounts .gtt-provider-status{
 margin-left:auto!important;padding:0!important;white-space:nowrap;font-size:11px;
 font-weight:750;color:inherit!important;opacity:.88;
}
#wb2-shell #gtt-accounts a.gtt-account-provider:hover,
#gtt-shell-dock #gtt-accounts a.gtt-account-provider:hover{filter:brightness(1.08);transform:translateY(-1px)}
#wb2-shell #gtt-accounts .gtt-account-logout,
#gtt-shell-dock #gtt-accounts .gtt-account-logout{
 border-radius:11px!important;background:rgba(125,175,232,.09)!important;
 border-color:rgba(178,222,255,.28)!important;color:#d4ebff!important;
}
#wb2-shell #gtt-accounts .gtt-account-logout:hover,
#gtt-shell-dock #gtt-accounts .gtt-account-logout:hover{
 background:rgba(113,174,236,.21)!important;border-color:rgba(199,229,255,.45)!important;
}
#wb2-shell #gtt-accounts a:focus-visible,#wb2-shell #gtt-accounts button:focus-visible,
#gtt-shell-dock #gtt-accounts a:focus-visible,#gtt-shell-dock #gtt-accounts button:focus-visible{
 outline:2px solid #a9e2ff!important;outline-offset:2px;
}

/* Connected-identity contrast. Override the old generic span colors so the
   provider label, actual account name and status are readable on each row. */
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-discord,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-discord{
 background:linear-gradient(110deg,#5266ce,#3e50a8)!important;
 color:#fff!important;
}
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-growid,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-growid{
 background:linear-gradient(110deg,#26784f,#195a3e)!important;
 border:1px solid #52bb86!important;color:#fff!important;
}
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-discord .gtt-provider-name,
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-growid .gtt-provider-name,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-discord .gtt-provider-name,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-growid .gtt-provider-name{
 color:#fff!important;opacity:1!important;
}
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-discord .gtt-provider-handle,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-discord .gtt-provider-handle{
 color:#e9edff!important;opacity:1!important;
}
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-growid .gtt-provider-handle,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-growid .gtt-provider-handle{
 color:#dcffe8!important;opacity:1!important;
}
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-discord .gtt-provider-status,
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-growid .gtt-provider-status,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-discord .gtt-provider-status,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-growid .gtt-provider-status{
 color:#fff!important;opacity:1!important;
}
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-google .gtt-provider-name,
#wb2-shell #gtt-accounts .gtt-account-provider.gtt-provider-google .gtt-provider-status,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-google .gtt-provider-name,
#gtt-shell-dock #gtt-accounts .gtt-account-provider.gtt-provider-google .gtt-provider-status{
 color:#1e293b!important;opacity:1!important;
}

@media(max-width:650px){
 #wb2-shell #gtt-accounts>.gtt-accounts-panel{
  width:min(320px,calc(100vw - 16px))!important;
  right:-47px!important;
 }
 #wb2-shell #gtt-accounts .gtt-auth-intro h3{font-size:19px!important}
}
@media(prefers-reduced-motion:reduce){
 #gtt-accounts .gtt-auth-provider-actions a,
 #gtt-accounts .gtt-account-provider{transition:none!important;transform:none!important}
}
