#welcome {
  position: fixed; inset:0; z-index:20; display:grid; place-items:center;
  padding:24px; background:#08090a; text-align:center;
}
body:has(#welcome:not([hidden])) { overflow:hidden; }
#welcome[hidden] { display:none; }
.welcome-content { width:min(100%,350px); }
#welcome h1 { font:750 clamp(31px,10vw,56px)/1 var(--display); letter-spacing:-.075em; margin-bottom:30px; }
#google-signin { display:grid; justify-content:center; min-height:0; }
#login-status { color:#b4b7ba; font-size:14px; }
#guest { min-height:48px; border-radius:16px; background:#202224; color:#eef3ed; }
.launch-logo { display:none; }
#welcome.launching .welcome-content { display:none; }
#welcome.launching .launch-logo { display:grid; justify-items:center; gap:22px; }
.launch-bars { display:flex; gap:14px; transform:skewX(-25deg); }
.launch-bars i { display:block; width:22px; height:70px; border-radius:5px; background:#c7fa62; }
.launch-logo b { font:750 34px/1 var(--display); letter-spacing:-.06em; }
.launch-bars i, .launch-logo b { animation:logo-in 380ms cubic-bezier(.16,1,.3,1) both; }
.launch-bars i:nth-child(2) { animation-delay:300ms; }
.launch-logo b { animation-delay:615ms; }
#welcome.launching { animation:welcome-out 320ms 1190ms ease-in both; }
@keyframes logo-in { from { opacity:0; transform:translateY(16px) scaleY(.72); } to { opacity:1; transform:none; } }
@keyframes welcome-out { from { opacity:1; } to { opacity:0; } }
@media(prefers-reduced-motion:reduce){ #welcome.launching,.launch-bars i,.launch-logo b { animation:none; } }
#welcome.editing-account { overflow-y:auto; place-items:start center; }
#welcome.editing-account :is(#welcome-title,#google-signin,#login-status,#guest){display:none}
#account-form:not([hidden]), .account-panel {
  display:grid; gap:12px; text-align:left; padding:18px; border:1px solid #373a38;
  border-radius:22px; background:#191b1c;
}
#account-form h2{margin:0}
#account-form label, #people-search label{display:grid; gap:4px}
#account-form input:not([type=checkbox]), #people-search input{
  width:100%; min-width:0; padding:9px; border-radius:10px; border:1px solid #454a45;
  background:#242724; color:white; font:inherit;
}
#account-form input[type=file]{font-size:12px}
#account-form .account-public{display:flex; align-items:center; gap:8px}
.account-avatar-row,#account-card,#people-result:not(:empty){display:flex; align-items:center; gap:10px}
.account-avatar-row label{flex:1; min-width:0}
#account-photo,.person-avatar{width:46px;height:46px;flex:none;object-fit:cover;border-radius:50%;background:#30362e}
span.person-avatar{display:grid;place-items:center;color:#c7fa62}
.person-avatar + div{min-width:0;overflow-wrap:anywhere}
.person-avatar + div small{display:block}
#athlete.has-account-avatar{color:transparent;background-size:cover;background-position:center;border-radius:50%}
#account-status:empty{display:none}
#player-dialog{width:min(91vw,420px);max-height:85dvh;border:1px solid #383c39;border-radius:24px;padding:20px;background:#181b19;color:#f5f6f4}
#player-dialog::backdrop{background:#000b}
.player-close{display:flex;justify-content:flex-end}
.player-close button{background:#292d29;color:white;min-width:44px;padding:8px}
.player-actions,#social-list{display:grid;gap:8px}
.social-match{flex-wrap:wrap}
.social-match p{width:100%}
#world-ranking label{display:grid;gap:5px}
#world-mine{padding-top:12px;border-top:1px solid #383c39;color:#dff9ba;font-weight:700}
#sync-status:empty{display:none}
