*{box-sizing:border-box}body{margin:0;background:#fff8e8;color:#352653;font:1.1rem/1.6 system-ui,sans-serif}header,main,footer{max-width:1050px;margin:auto;padding:20px}header{display:flex;flex-wrap:wrap;gap:20px;align-items:center}nav{display:flex;flex-wrap:wrap;gap:12px}a{color:#56329c}section{background:white;border:1px solid #e1d4f5;border-radius:20px;padding:24px;margin:20px 0}button{background:#623ab3;color:white;border:0;border-radius:12px;padding:12px 18px;margin:5px;font:inherit;cursor:pointer;min-height:44px}button:disabled{opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d06b00;outline-offset:3px}label{display:block;margin:12px 0}audio,input{max-width:100%}img{object-fit:contain;max-width:100%}#question{font-size:1.8rem;overflow-wrap:anywhere} @media print{body{background:white;color:black}header,footer,h1,main>p,main>section:not(#worksheet),button{display:none!important}#worksheet{border:0;margin:0;padding:0}}body{font-size:1rem}.center-header{background:#fff;border-radius:0 0 24px 24px;justify-content:space-between}.center-header nav a{padding:8px;text-decoration:none;font-weight:650}.hero{text-align:center;background:linear-gradient(140deg,#d9f5ff,#e6f6c6,#ffe2ed);padding:32px;border-radius:28px}.hero img{width:220px;max-height:150px}.hero h1{font-size:clamp(2rem,5vw,3rem);margin:8px}.paths,.song-grid,.worksheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.paths article,.song-grid article,.worksheet-grid p{background:#f2ebff;border-radius:16px;padding:18px;margin:0}.paths article:nth-child(2),.song-grid article:nth-child(even){background:#dff5e1}.song-grid img{width:100%;height:130px}.song-grid h3{margin:8px 0}.action{display:inline-block;background:#623ab3;color:white;padding:12px 16px;border-radius:12px;text-decoration:none;font-weight:600}.writing-lines{height:90px;background:repeating-linear-gradient(white 0 28px,#a9a0bc 29px 30px)}#question{background:#e0f4ff;padding:24px;border-radius:18px;text-align:center;min-height:90px}#answers{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}#answers button{font-size:1.6rem;background:#56329c}#answers .correct{background:#176b3b}#answers .wrong{background:#a53344}button[aria-pressed=true]{outline:3px solid #f0a72b;outline-offset:2px}#progress{font-size:1.8rem;font-weight:700}#story-art{display:block;width:min(100%,420px);height:260px;margin:auto;background:#eff8e6;border-radius:24px}#story-text,#story-page{text-align:center;font-size:1.3rem}select{font:inherit;padding:10px;border:1px solid #9d85c8;border-radius:10px}section:nth-of-type(2){border-top:6px solid #e6a8c9}section:nth-of-type(3){border-top:6px solid #83c7ec}section:nth-of-type(4){border-top:6px solid #e9bd55}section:nth-of-type(5){border-top:6px solid #93ca87}@media(max-width:600px){header,main,footer{padding:12px}section{padding:16px}#answers{grid-template-columns:repeat(2,1fr)}.paths,.song-grid{grid-template-columns:1fr}.worksheet-grid{grid-template-columns:1fr}.center-header{justify-content:center}.hero{padding:20px}}@media print{.hero,noscript,details{display:none!important}.worksheet-grid{grid-template-columns:repeat(2,1fr)}.worksheet-grid p{background:white;border:1px solid #bbb}.writing-lines{height:120px}}
