/* Shared public-site navigation on sign-in and artist registration. */
.pa-auth-nav{
  position:fixed;z-index:100;inset:0 0 auto;width:100%;padding:7px 0;
  border-bottom:0!important;
  background:rgba(11,13,16,.74)!important;
  border-bottom-color:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:saturate(160%) blur(22px);
  backdrop-filter:saturate(160%) blur(22px);
}
.pa-auth-nav .nav{
  width:min(100%,1240px);min-height:48px;margin:auto;padding:0 clamp(14px,2.4vw,30px);
  display:flex;align-items:center;justify-content:space-between;gap:clamp(8px,1.5vw,18px);
}
.pa-auth-nav .brand{display:flex;flex:0 0 auto;align-items:center}
.pa-auth-nav .auth-controls{display:flex;flex:0 0 auto;align-items:center;justify-content:center;gap:8px;min-height:40px}
.pa-auth-nav .auth-controls :is(.lang-toggle,#paThemeToggle){display:inline-flex;flex:0 0 40px;align-items:center;justify-content:center;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;border-radius:50%!important;line-height:1}
.pa-auth-nav .auth-controls .lang-toggle{letter-spacing:.02em}
.pa-auth-nav .brand img{
  display:block;width:42px;height:42px;object-fit:cover;border-radius:50%;
  border:1px solid rgba(255,255,255,.38);box-shadow:0 0 0 3px rgba(255,255,255,.045);
}
.pa-auth-nav .message-nav,.pa-auth-nav .links a{
  color:rgba(255,255,255,.86);font-size:12px;font-weight:550;text-decoration:none;
  transition:color .2s ease,background-color .2s ease,border-color .2s ease;
}
.pa-auth-nav .message-nav{
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;
  border:1px solid rgba(255,255,255,.16);border-radius:999px;white-space:nowrap;
}
.pa-auth-nav .links{display:flex;align-items:center;justify-content:flex-end;gap:clamp(9px,1.4vw,19px);min-width:0}
.pa-auth-nav .links a{white-space:nowrap}
.pa-auth-nav .links a:hover,.pa-auth-nav .links a[aria-current="page"],.pa-auth-nav .message-nav:hover{color:var(--pa-gold,#d6b987)}
.pa-auth-nav .account-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 15px;
  border:1px solid color-mix(in srgb,var(--pa-gold,#d6b987) 67%,transparent);
  border-radius:999px;color:var(--pa-gold,#d6b987);font-weight:650;text-decoration:none!important;
}
.pa-auth-nav .account-btn:hover{background:rgba(214,185,135,.1);text-decoration:none!important}
.pa-auth-nav .menu-toggle{
  display:none;position:relative;flex:0 0 42px;width:42px;height:42px;padding:0;margin:0;
  align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.17);
  border-radius:50%;background:rgba(255,255,255,.06);color:#fff;cursor:pointer;
}
.pa-auth-nav .menu-toggle span,.pa-auth-nav .menu-toggle::before,.pa-auth-nav .menu-toggle::after{
  content:"";position:absolute;display:block;width:16px;height:1.5px;background:currentColor;
  transition:transform .2s ease,opacity .2s ease;
}
.pa-auth-nav .menu-toggle span{position:relative}
.pa-auth-nav .menu-toggle::before{transform:translateY(-5px)}
.pa-auth-nav .menu-toggle::after{transform:translateY(5px)}
.pa-auth-nav .menu-toggle[aria-expanded="true"] span{opacity:0}
.pa-auth-nav .menu-toggle[aria-expanded="true"]::before{transform:rotate(45deg)}
.pa-auth-nav .menu-toggle[aria-expanded="true"]::after{transform:rotate(-45deg)}

/* Leave breathing room below the fixed bar without changing either form. */
body.signup-body{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  min-height:100svh;padding:calc(78px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
}
body.signup-body>.box{margin:auto;}
body.login-body{padding-top:64px}
body.login-body .login-shell{min-height:calc(100svh - 64px)}
body.login-body .login-visual,body.login-body .login-panel{min-height:calc(100svh - 64px)}
@media(max-width:940px){
  body.login-body .login-visual{height:auto;min-height:clamp(280px,39svh,470px)}
  body.login-body .login-panel{min-height:auto}
}
@media(max-width:850px){
  .pa-auth-nav .nav{justify-content:flex-start;gap:9px}
  .pa-auth-nav .message-nav{display:none}
  .pa-auth-nav .menu-toggle{display:flex;margin-left:auto}
  .pa-auth-nav .links{
    position:absolute;top:calc(100% + 8px);left:12px;right:12px;display:none;
    max-height:calc(100svh - 82px);overflow:auto;overscroll-behavior:contain;
    padding:10px;border:1px solid rgba(255,255,255,.16);border-radius:18px;
    background:rgba(15,17,21,.94)!important;box-shadow:0 22px 60px rgba(0,0,0,.42);
    -webkit-backdrop-filter:saturate(160%) blur(24px);backdrop-filter:saturate(160%) blur(24px);
  }
  .pa-auth-nav .links.is-open{display:flex;flex-direction:column;align-items:stretch;gap:3px}
  .pa-auth-nav .links a{padding:11px 12px;border-radius:11px}
  .pa-auth-nav .links a:hover,.pa-auth-nav .links a[aria-current="page"]{background:rgba(214,185,135,.1)}
  .pa-auth-nav .links .account-btn{text-align:center;margin-top:4px}
}
@media(max-width:600px){
  body.signup-body{justify-content:flex-start;padding:calc(74px + env(safe-area-inset-top)) 12px calc(20px + env(safe-area-inset-bottom))}
  body.signup-body>.box{margin:0 auto}
  body.login-body{padding-top:60px}
  body.login-body .login-shell{min-height:calc(100svh - 60px)}
  body.login-body .login-visual{min-height:clamp(260px,34svh,350px)}
  body.login-body .login-panel{padding-bottom:calc(30px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-transparency:reduce){
  .pa-auth-nav,.pa-auth-nav .links{background:rgba(12,14,17,.97);-webkit-backdrop-filter:none;backdrop-filter:none}
}
@media(prefers-reduced-motion:reduce){
  .pa-auth-nav *,.pa-auth-nav *::before,.pa-auth-nav *::after{transition:none!important}
}
