/* vyc16 login addon — additive on 0.2.2 profile chrome. Do not change staff guard. */
html.yf-v2 .btn-login,html.yf-v2 .btn-create,html.yf-v2 .btn-google,html.yf-v2 .btn-ghost,html.yf-v2 .btn-nav{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;
  font:750 13px/1.2 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;padding:8px 14px;
  text-decoration:none;border:1px solid transparent;cursor:pointer;white-space:nowrap
}
html.yf-v2 .btn-login,html.yf-v2 .btn-nav{background:#fff;border-color:#fff;color:#111;font-weight:800}
html.yf-v2 .btn-login:hover,html.yf-v2 .btn-nav:hover{background:#ffe8d4;border-color:#ffe8d4;color:#111}
html.yf-v2 .btn-create,html.yf-v2 .yf-cta .btn-create{
  background:#e85d04;border-color:#e85d04;color:#fff;box-shadow:0 8px 20px rgba(232,93,4,.35)
}
html.yf-v2 .btn-create:hover{filter:brightness(1.08);color:#fff}
html.yf-v2 .login-pop{position:relative;display:inline-flex;flex-direction:column;align-items:flex-end}
html.yf-v2 .login-panel{
  display:none;position:absolute;right:0;top:calc(100% + 8px);width:min(320px,calc(100vw - 32px));
  background:#161616;color:#eee;border:1px solid #3a3a3a;border-radius:16px;
  padding:16px;box-shadow:0 18px 40px rgba(0,0,0,.45);z-index:80
}
html.yf-v2 .login-pop.open .login-panel{display:block}
html.yf-v2 .login-panel h3{margin:0 0 4px;font-size:16px;letter-spacing:-.02em;text-transform:none;color:#eee;font-weight:750}
html.yf-v2 .login-panel .fine{margin:0 0 12px;color:#b7b7b7;font-size:12px;line-height:1.45;text-transform:none}
html.yf-v2 .login-panel .btn-google,
html.yf-v2 .yf-login-page .btn-google{
  background:#fff;border:1px solid #dadce0;color:#3c4043;font-weight:650;width:100%;padding:11px 16px;border-radius:10px
}
html.yf-v2 .login-panel .btn-google:hover{background:#f8f9fa;color:#3c4043;box-shadow:0 1px 3px rgba(60,64,67,.2)}
html.yf-v2 .login-panel .staff,html.yf-v2 .yf-login-page .staff{
  display:block;margin-top:12px;text-align:center;color:#9ca3af;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:2px
}
html.yf-v2 .login-panel .staff:hover{color:#fff}
html.yf-v2 .nav-text{color:inherit;text-decoration:none;font-weight:650}
html.yf-v2 .yf-cta .bar-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* Mobile overlap fix: panel flows in the nav instead of covering Create your Profile / the banner. */
@media (max-width:720px){
  html.yf-v2 .nav .links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;row-gap:8px}
  html.yf-v2 .login-pop{flex:1 1 100%;align-items:stretch;order:5}
  html.yf-v2 .btn-create{order:4}
  html.yf-v2 .login-panel{
    position:static;width:100%;margin-top:8px;right:auto;left:auto;top:auto;
    box-shadow:0 8px 24px rgba(0,0,0,.35)
  }
  html.yf-v2 .btn-login,html.yf-v2 .btn-create,html.yf-v2 .btn-nav{padding:8px 12px;font-size:12px}
}

/* Astra header account chip (site pages, not the profile document). */
.ybrl-header-account{display:inline-flex;align-items:center;gap:8px;margin-left:8px}
.ybrl-header-account .ybrl-acct-btn{
  display:inline-flex;align-items:center;justify-content:center;
  font:700 13px/1 system-ui,sans-serif;padding:7px 12px;border-radius:999px;
  background:#111;color:#fff;text-decoration:none;white-space:nowrap
}
.ybrl-header-account .ybrl-in{display:none}
body.ybrl-is-in .ybrl-header-account .ybrl-out{display:none}
body.ybrl-is-in .ybrl-header-account .ybrl-in{display:inline-flex;gap:8px;align-items:center}
@media (max-width:921px){
  .ybrl-header-mobile-slot{display:inline-flex;align-items:center;margin-right:8px}
  .ast-mobile-header-wrap .ybrl-header-account .ybrl-acct-btn{padding:6px 10px;font-size:12px}
}
