/* THE APP'S FIRST SCREENS IN THE KIDS' LOOK (owner 2026-11-12: "why did you retain old styles"): the loading screen, sign-in and the new-password
   step are drawn in the games-page look from the first paint (bright sky, cream card with a thick brown outline, chunky candy buttons, Baloo 2).
   Their old styles were deleted from app.css, redesign.css and adventure-camp.css. Loaded after them, before kids.css. */
@font-face{font-family:"Baloo 2";font-style:normal;font-weight:800;font-display:swap;src:url(/games-fonts/baloo2-latin-800.woff2) format("woff2")}
:root{--st-ink:#4a2712;--st-cream:#fff6dc;--st-cream2:#ffe7a6;--st-font:"Baloo 2","Arial Rounded MT Bold",ui-rounded,"SF Pro Rounded","Nunito","Trebuchet MS",system-ui,sans-serif}
body.friendlyUI{background:linear-gradient(#6ec9ff 0,#bfeaff 560px,#fff1c4 100%) no-repeat,#fff1c4;color:var(--st-ink);font-family:var(--st-font)}
body.friendlyUI .ambientWorld{display:none}

/* loading */
.bootScreen{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:10px;padding:30px;text-align:center;color:var(--st-ink)}
.bootMark{display:grid;place-items:center;width:104px;height:104px;border:4px solid var(--st-ink);border-radius:28px;background:linear-gradient(#ffe98a,#ffd23f 55%,#f6b40e);box-shadow:0 6px 0 var(--st-ink)}
.bootMark svg{width:62px;height:62px;fill:none;stroke:var(--st-ink);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.bootScreen h1{margin:8px 0 0;font:900 clamp(34px,10vw,48px)/1.05 var(--st-font);color:#fff;-webkit-text-stroke:.16em var(--st-ink);paint-order:stroke fill;text-shadow:0 4px 0 rgba(58,22,8,.28)}
.bootScreen p{margin:0;font:800 17px/1.3 var(--st-font)}
.bootPulse{display:flex;gap:8px;margin-top:6px}
.bootPulse i{width:14px;height:14px;border:3px solid var(--st-ink);border-radius:50%;background:#59d13a;animation:stBounce 1s ease-in-out infinite}
.bootPulse i:nth-child(2){background:#ffd23f;animation-delay:.15s}.bootPulse i:nth-child(3){background:#3db4ff;animation-delay:.3s}
@keyframes stBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* sign-in and the new-password step */
.loginStage,.singlePanelWrap{min-height:100dvh;display:grid;place-items:center;padding:18px 16px}
.loginArtwork{display:none}
.loginPanel{width:min(420px,100%);display:flex;flex-direction:column;gap:8px;padding:20px 18px;border:4px solid var(--st-ink);border-radius:26px;background:linear-gradient(#fff9e6,#ffeab0);box-shadow:0 8px 0 var(--st-ink);color:var(--st-ink);font-family:var(--st-font)}
.loginWordmark{display:flex;align-items:center;gap:10px;font:900 20px/1 var(--st-font)}
.loginWordmark span{display:inline-flex;flex-direction:column}
.loginWordmark .wordmarkShield{display:grid;place-items:center;flex:none;width:44px;height:44px;border:3px solid var(--st-ink);border-radius:14px;background:linear-gradient(#ffe98a,#ffd23f)}
.wordmarkShield svg{width:26px;height:26px;fill:none;stroke:var(--st-ink);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.loginCopy span,.panelKicker{font:900 13px/1 var(--st-font);letter-spacing:.8px}
.loginCopy h2,.passwordPanel h2{margin:4px 0 2px;font:900 30px/1.05 var(--st-font);color:#fff;-webkit-text-stroke:6px var(--st-ink);paint-order:stroke fill}
.loginCopy p,.passwordPanel p{margin:0;font:800 16px/1.3 var(--st-font)}
.loginPanel label{margin-top:4px;font:900 15px/1 var(--st-font)}
.loginPanel input{width:100%;box-sizing:border-box;min-height:50px;padding:10px 14px;border:3px solid var(--st-ink);border-radius:16px;background:#fff;color:var(--st-ink);font:800 18px/1 var(--st-font)}
.loginPanel input:focus{outline:4px solid #3db4ff;outline-offset:1px}
.loginPanel .primaryButton{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;margin-top:8px;border:3px solid var(--st-ink);border-radius:20px;cursor:pointer;
  background:linear-gradient(#b2f77a,#59d13a 55%,#3fb126);box-shadow:0 5px 0 #24851a,0 5px 0 3px var(--st-ink);color:#fff;font:900 24px/1 var(--st-font);-webkit-text-stroke:5px var(--st-ink);paint-order:stroke fill}
.loginPanel .primaryButton:disabled{filter:grayscale(.6);opacity:.8}
.formMessage{min-height:1.2em;margin:0;font:800 15px/1.3 var(--st-font);color:#b42318}
.loginHelp{margin:0;text-align:center;font:800 14px/1.3 var(--st-font);opacity:.85}
.passwordIcon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto;border:3px solid var(--st-ink);border-radius:50%;background:linear-gradient(#ffe98a,#ffd23f);font:900 28px/1 var(--st-font)}
.turnstileBox{display:flex;justify-content:center}
