.auth-widget{position:fixed;z-index:1000;top:18px;right:18px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff}.auth-google,.auth-user{min-height:46px;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:rgba(8,9,13,.84);color:#fff;box-shadow:0 18px 48px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(18px);cursor:pointer;transition:border-color .2s,transform .2s,background .2s}.auth-google:hover,.auth-user:hover{transform:translateY(-1px);border-color:rgba(243,197,111,.38);background:rgba(16,17,22,.94)}.auth-google{display:flex;align-items:center;gap:10px;padding:0 15px;font-size:12px;font-weight:850}.auth-google svg{width:18px;height:18px;flex:none}.auth-user{display:flex;align-items:center;gap:10px;padding:5px 10px 5px 6px;text-align:left}.auth-avatar{position:relative;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#f3c56f,#c8ff6f);color:#08090c;font-size:11px;font-weight:950}.auth-avatar img{width:100%;height:100%;border-radius:11px;object-fit:cover}.auth-avatar i{position:absolute;right:-2px;bottom:-2px;width:9px;height:9px;border:2px solid #090a0e;border-radius:50%;background:#70e39c;box-shadow:0 0 10px rgba(112,227,156,.65)}.auth-identity{display:grid;min-width:92px;line-height:1.1}.auth-identity b{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.auth-identity small{margin-top:4px;color:#70e39c;font-family:ui-monospace,monospace;font-size:7px;text-transform:uppercase;letter-spacing:.09em}.auth-chevron{color:rgba(255,255,255,.5);font-size:15px;transition:transform .2s}.auth-user[aria-expanded="true"] .auth-chevron{transform:rotate(180deg)}.auth-popover{position:absolute;top:54px;right:0;width:230px;padding:14px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(8,9,13,.96);box-shadow:0 24px 70px rgba(0,0,0,.55);backdrop-filter:blur(20px)}.auth-popover[hidden]{display:none}.auth-popover-label{display:block;margin-bottom:8px;color:#f3c56f;font-family:ui-monospace,monospace;font-size:8px;text-transform:uppercase;letter-spacing:.1em}.auth-popover b,.auth-popover small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-popover b{font-size:13px}.auth-popover small{margin-top:4px;color:rgba(255,255,255,.52);font-size:10px}.auth-popover hr{height:1px;margin:12px 0;border:0;background:rgba(255,255,255,.09)}.auth-dashboard-link,.auth-popover button{width:100%;min-height:38px;padding:9px 10px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.045);color:#fff;font-size:11px;font-weight:800;cursor:pointer;box-sizing:border-box}.auth-dashboard-link{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;text-decoration:none;transition:border-color .2s,background .2s}.auth-dashboard-link span{display:flex;align-items:center;gap:8px}.auth-dashboard-link i{color:#c8ff6f;font-style:normal}.auth-dashboard-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .2s}.auth-dashboard-link:hover{border-color:rgba(200,255,111,.32);background:rgba(200,255,111,.08)}.auth-dashboard-link:hover svg{transform:translateX(2px)}.auth-popover button{display:flex;align-items:center;justify-content:center;gap:8px}.auth-popover button:hover{border-color:rgba(255,130,130,.3);color:#ffaaaa}.auth-loading{display:flex;align-items:center;gap:9px;min-height:42px;padding:0 13px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(8,9,13,.78);color:rgba(255,255,255,.62);font-size:10px;backdrop-filter:blur(16px)}.auth-loading span{width:8px;height:8px;border:2px solid rgba(255,255,255,.2);border-top-color:#f3c56f;border-radius:50%;animation:auth-spin .7s linear infinite}.auth-error{position:absolute;right:0;top:52px;width:250px;margin:0;padding:10px 12px;border:1px solid rgba(255,130,130,.25);border-radius:12px;background:rgba(28,9,12,.95);color:#ffc2c2;font-size:10px;line-height:1.35}@keyframes auth-spin{to{transform:rotate(360deg)}}@media(max-width:700px){.auth-widget{top:10px;right:10px}.auth-identity{display:none}.auth-user{gap:6px}.auth-google{min-height:40px;padding:0 11px}.auth-google span{font-size:0}.auth-google span:after{content:"Sign in";font-size:11px}.auth-popover{top:48px}.auth-error{top:46px}}@media(prefers-reduced-motion:reduce){.auth-google,.auth-user{transition:none}.auth-loading span{animation:none}}

/* Keep the profile control aligned with the floating sponsor rail. */
@media(min-width:701px){.auth-widget{right:max(22px,calc((100vw - min(1760px,calc(100vw - 24px)))/2 + 18px))}}

/* The complete signed-in surface opens Dashboard. */
.auth-user{padding:0;overflow:hidden;cursor:default;box-sizing:border-box}
.auth-account-link{display:flex;align-items:center;gap:12px;min-width:0;padding:8px 16px 8px 10px;color:#fff;text-decoration:none;box-sizing:border-box}
.auth-account-link:hover{background:rgba(255,255,255,.045)}
.auth-avatar{flex:0 0 auto}
.auth-identity{padding-right:2px}
.auth-identity small{display:flex;align-items:center;gap:3px;color:#c8ff6f;font-size:8px;font-weight:850}
.auth-identity small span{font-size:12px;line-height:7px;transition:transform .2s}
.auth-account-link:hover .auth-identity small span{transform:translateX(2px)}
@media(max-width:700px){.auth-identity{display:grid;padding-right:0}.auth-account-link{gap:9px;padding:6px 10px 6px 7px}}
