/* buildable-grownup.css — BK-app-221: one look for every grown-up page.
   The grown-up home (/make/home) set the look: Bricolage Grotesque headings, Nunito text,
   cream page, pink for the main action. Projects, Learn, Lessons, Games and House rules
   link this file after their own styles, so it wins without touching their layouts.
   buildable-grownup.js adds the shared menu bar for a signed-in grown-up. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,800&family=Nunito:wght@400;600;700;800;900&display=swap");

:root{
  --gu-cream:#FBF8F3; --gu-ink:#221B2E; --gu-sub:#6B6478; --gu-line:rgba(34,27,46,.1);
  --gu-pink:#E0578F; --gu-pinkdk:#C2416F; --gu-sun:#FFC93C; --gu-sunlt:#FFF0C2;
  --gu-display:'Bricolage Grotesque',Georgia,serif; --gu-body:'Nunito',-apple-system,'Segoe UI',sans-serif;
  /* the pages' own accent names, pointed at the shared pink and ink */
  --make:#E0578F !important; --pink:#E0578F !important; --accent:#E0578F !important; --ink:#221B2E !important;
}
html,body{background:var(--gu-cream)!important}
body,body :where(*:not(svg):not(path):not(code):not(pre)){font-family:var(--gu-body)!important}
body :where(h1,h2,h3){font-family:var(--gu-display)!important;letter-spacing:-.035em!important;font-weight:800!important}
body :where(h1){font-size:clamp(30px,4.6vw,46px)!important;line-height:1.02!important}
body :where(h2){font-size:clamp(20px,2.6vw,26px)!important}
body :where(b,strong){font-weight:800}

/* shared menu bar (made by buildable-grownup.js) */
.gu-bar{position:sticky;top:0;z-index:50;background:rgba(251,248,243,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--gu-line)}
.gu-bar .in{max-width:1180px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.gu-bar .lg{display:inline-block;white-space:nowrap;background:none;border:0;border-radius:0;box-shadow:none;padding:0;overflow:visible;font:900 22px var(--gu-body);letter-spacing:-.5px;margin-right:auto;color:var(--gu-ink);text-decoration:none}
.gu-bar .lg b{display:inline;padding:0;font:inherit;color:var(--gu-pink)}
.gu-bar nav{display:flex;gap:4px;background:#fff;border:1px solid var(--gu-line);border-radius:999px;padding:4px}
.gu-bar nav a{padding:7px 14px;border-radius:999px;font:800 14px var(--gu-body);color:var(--gu-sub);text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.gu-bar nav a.on{background:var(--gu-ink);color:#fff}
.gu-bar nav a:hover:not(.on){color:var(--gu-ink);background:var(--gu-cream)}
.gu-bar nav a:focus-visible{outline:3px solid var(--gu-pink);outline-offset:2px}
@media (max-width:560px){
  .gu-bar .in{gap:8px}
  .gu-bar nav{width:100%;overflow-x:auto;scrollbar-width:none;justify-content:space-between}
  .gu-bar nav::-webkit-scrollbar{display:none}
  .gu-bar nav a{padding:7px 10px;font-size:13px;flex-shrink:0}
}
/* the shared bar replaces each page's own top bar */
html.gu-on .gu-hide{display:none!important}

/* Projects keeps its sidebar, now under the bar */
html.gu-on .side{top:62px!important;height:calc(100dvh - 62px)!important;background:transparent!important;border-right-color:var(--gu-line)!important}
html.gu-on .side .logo{display:none!important}
.newbtn{background:var(--gu-pink)!important;border-radius:999px!important;box-shadow:0 3px 0 var(--gu-pinkdk);font-weight:900!important}
.card,.stats,.list,.ltile{border-radius:18px!important}
/* Projects on phones draws its own logo row after load; the shared bar already has the logo */
html.gu-on #mobrow .lg .logo{display:none!important}
html.gu-on #mobrow .lg{justify-content:flex-end!important}
