*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:17px/1.65 'Trebuchet MS',system-ui,sans-serif;background:#fff8e7;color:#211b49}body.young{background:#101923;color:#e7f1f3;font-family:system-ui,sans-serif}a{color:inherit}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b57bff;outline-offset:5px}header{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center;padding:22px 6%;border-bottom:1px solid #81728e44}.brand{text-decoration:none;font-family:Georgia,serif;font-size:25px}.brand em{color:#8250d8}.young .brand em{color:#9cebd2}nav{display:flex;gap:20px;flex-wrap:wrap;font-size:14px}nav a{text-decoration:none}main{max-width:1150px;margin:auto;padding:0 6%}.hero{padding:65px 0 40px;position:relative}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;color:#695383}.young .eyebrow{color:#9cebd2}h1{font:700 clamp(40px,7vw,78px)/1.05 Georgia,serif;letter-spacing:-2px;margin:18px 0 24px}.young h1{font-family:system-ui,sans-serif;font-weight:750}h2{font:700 clamp(28px,4vw,40px)/1.15 Georgia,serif;margin:12px 0 22px}.young h2{font-family:system-ui,sans-serif;font-weight:650}h3{font-size:20px}.hero p{max-width:630px;font-size:21px}.hero-mark{position:absolute;right:0;top:70px;width:140px;height:140px;background:radial-gradient(circle at 30% 30%,#ffe69a,#a77aff 60%,#7144c7);border-radius:37% 63% 58% 42%/48% 39% 61% 52%;opacity:.75;z-index:-0}.hero-copy{position:relative;z-index:1;max-width:760px}.young .hero-mark{background:transparent;border:1px solid #81d9c1;transform:rotate(32deg);border-radius:6px;opacity:.3}.jump{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.jump a,.action{display:inline-block;background:#7041c4;color:#fff;border:0;border-radius:28px;padding:12px 22px;text-decoration:none;font-size:16px;font-weight:700}.young .jump a,.young .action{background:#a5f2ce;color:#10262a;border-radius:5px}.area{padding:45px 0;border-top:1px solid #81728e44}.split{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:start}.intro p{max-width:600px}.play{background:#eee4ff;border-radius:30px;padding:28px;min-width:0}.young .play{background:#192936;border:1px solid #36505a;border-radius:10px}.hint{font-size:14px;color:#584b70}.young .hint{color:#bccdd6}.pieces{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.stone{width:65px;height:65px;border:0;border-radius:16px;background:#ffc84a;color:#211b49;box-shadow:0 5px #ca9a32;font-size:27px}.stone[aria-pressed=true]{background:#7650ca;box-shadow:0 5px #4b3087;color:white}.gate{padding:22px;border:3px solid #9476b7;border-radius:60px 60px 10px 10px;text-align:center;font-size:45px;min-height:120px;background:#fff9ec}.gate.open{background:#d9f3c5;border-color:#4d7b36}.result{min-height:54px;margin:18px 0 0}.secondary{background:transparent;color:inherit;border:1px solid #8c799e;padding:9px 14px;border-radius:8px;font-size:14px}.feeling{height:145px;width:145px;margin:18px auto 28px;background:radial-gradient(circle at 30% 30%,#e3caff,#9573d0);border-radius:42% 58% 39% 61%;transition:background .3s,border-radius .3s,transform .3s;box-shadow:0 0 45px #af8ce33b}.colors{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.colors button{width:47px;height:47px;border-radius:50%;border:3px solid #ffffff;box-shadow:0 0 0 1px #705d87}.story{font-family:Georgia,serif;font-size:23px;min-height:120px}.thread-control{width:100%;accent-color:#8250c8}.choices{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.choices button{background:#fff8e7;border:1px solid #9b84b4;color:#392851;border-radius:15px;padding:12px 16px;text-align:left}.young .choices button{background:#213746;border-color:#47616f;color:#ecf6f7;border-radius:5px}.young .choices button[aria-pressed=true]{border-color:#a5f2ce;background:#304b4a}.sheet label{display:block;margin:18px 0 5px}.sheet textarea{display:block;width:100%;min-height:90px;resize:vertical;padding:12px;background:#10202b;border:1px solid #526879;color:#f0f5f6;border-radius:5px}.output{white-space:pre-wrap;background:#0e202a;padding:18px;border-left:3px solid #a5f2ce;margin-top:20px;overflow-wrap:anywhere}.tags{display:flex;gap:10px;flex-wrap:wrap}.tags span{font-size:12px;border:1px solid #87949d;padding:4px 9px;border-radius:4px}.resource{display:block;padding:18px 0;border-top:1px solid #81728e44;text-decoration:none}.resource span{display:block;font-size:14px;opacity:.8}.note{font-size:14px;max-width:750px}.foot{padding:35px 6%;border-top:1px solid #81728e44;margin-top:30px;display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;font-size:13px}.status{font-size:12px;letter-spacing:1px;color:#705383}.young .status{color:#a5d7c9}@media(max-width:700px){.split{grid-template-columns:1fr}.hero{padding-top:40px}.hero-mark{width:80px;height:80px;top:35px;opacity:.3}main{padding:0 6%}.play{padding:22px}nav{gap:14px}.hero p{font-size:19px}.stone{width:56px;height:56px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
