/* Only progressive disclosure. Existing animated home canvas is untouched. */
body.paf-campaign-locked #openGhostLab,
body.paf-campaign-locked #showLibrary,
body.paf-campaign-locked #navCreate,
body.paf-campaign-locked #navLibrary,
body.paf-campaign-locked #navDiscover,
body.paf-account-locked #navLibrary {display:none!important}
body.paf-onboarding-single #openGhostLab,
body.paf-onboarding-single #showLibrary,
body.paf-onboarding-single #resumeReceived {display:none!important}
#paf-onboarding-backdrop { position:fixed; inset:0; z-index:2147483000; display:grid; place-items:center; padding:20px; box-sizing:border-box; background:color-mix(in srgb,var(--matiere,#000) 66%,transparent); animation:paf-on-fade .22s ease both; }
#paf-onboarding-backdrop[hidden] {display:none!important}
#paf-onboarding-dialog { width:min(390px,100%); box-sizing:border-box; background:var(--fond,#EEF6BB); color:var(--matiere,#000); padding:clamp(20px,5vw,30px); border-radius:14px; text-align:center; box-shadow:0 6px 30px #0002; animation:paf-on-rise .22s ease both; }
#paf-onboarding-dialog h2 {font-size:clamp(22px,5vw,30px);margin:0 0 12px;font-weight:800;line-height:1.08}
#paf-onboarding-dialog p {font-size:clamp(15px,3.8vw,17px);line-height:1.42;margin:0 0 18px}
#paf-onboarding-dialog button {font:inherit;font-weight:750;min-height:48px;cursor:pointer;border:0;border-radius:999px;background:var(--matiere,#000);color:var(--fond,#EEF6BB);padding:9px 22px}
#paf-onboarding-dialog button:focus-visible {outline:3px solid currentColor;outline-offset:3px}
#paf-onboarding-login {display:block;background:none!important;color:var(--matiere,#000)!important;text-decoration:underline;font-size:13px!important;margin:8px auto 0;min-height:44px!important}
@keyframes paf-on-fade {from{opacity:0}to{opacity:1}}
@keyframes paf-on-rise {from{transform:translateY(8px)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#paf-onboarding-backdrop,#paf-onboarding-dialog{animation:none!important}}

/* Single-entry home when signed out. Only applies to the HOME screen.
   The original animation, map, editor, support, legal links and Twitch flow are untouched.
   The account sign-in stays reachable contextually on subsequent screens. */
body.paf-guest-home[data-screen="home"] #navBar,
body.paf-guest-home[data-screen="home"] #navBar .nav-actions,
body.paf-guest-home[data-screen="home"] #uxNavToggle,
body.paf-guest-home[data-screen="home"] #openGhostLab,
body.paf-guest-home[data-screen="home"] #showLibrary,
body.paf-guest-home[data-screen="home"] #resumeReceived,
body.paf-guest-home[data-screen="home"] #p183FeedbackHome,
body.paf-guest-home[data-screen="home"] #p180KofiPlayDock {display:none!important}
body.paf-guest-home[data-screen="home"] #homeScreen .hero-buttons>button:not(#startChallenge){display:none!important}
body.paf-guest-home[data-screen="home"] #startChallenge {display:inline-flex!important;align-items:center;justify-content:center}
