@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
:root{--ink:#202844;--muted:#7c849b;--purple:#6e5de7;--line:#e9edf6;--bg:#f3f6ff;--shadow:0 14px 38px #2a396414}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Nunito,Arial,sans-serif}button,input{font:inherit}.app{max-width:1160px;margin:auto;padding:22px 28px 30px}
header,.between{display:flex;align-items:center;justify-content:space-between}header{margin-bottom:28px}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:inherit}.logo{width:44px;height:44px;border-radius:14px;background:#ebe8ff;display:grid;place-items:center;font-size:23px}.brand b,.brand small{display:block}.brand b{font-size:19px}.brand small{font-size:9px;letter-spacing:2px;color:#9298ae;font-weight:900}.top-actions{display:flex;gap:9px;align-items:center}.score,.quiet{background:white;border:1px solid var(--line);border-radius:30px;padding:9px 13px;font-size:11px;font-weight:900}.score b{color:var(--purple)}.quiet{cursor:pointer;color:#737c94}
.hero{display:flex;justify-content:space-between;align-items:center;min-height:142px;margin-bottom:19px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#9298ad;font-weight:900;margin:0 0 6px}.hero h1{font-size:clamp(30px,4vw,43px);line-height:1.06;letter-spacing:-1.5px;margin:0}.hero h1 em{font-style:normal;color:var(--purple)}.muted{color:var(--muted);font-size:12px;line-height:1.55}.hero .muted{max-width:540px}.art{width:190px;height:125px;position:relative;flex:none}.art i{position:absolute;border-radius:50%;filter:drop-shadow(0 7px 7px #53608033)}.art .yellow{background:#ffd24e;width:68px;height:68px;left:10px;top:35px}.art .blue{background:#528af0;width:65px;height:65px;left:67px;top:5px}.art .red{background:#ef6c78;width:64px;height:64px;left:112px;top:49px}.art span{position:absolute;right:0;top:0;font-size:42px;transform:rotate(18deg)}
.card{background:white;border:1px solid #edf0f7;border-radius:18px;box-shadow:var(--shadow)}.mission{padding:18px 22px 14px;margin-bottom:18px}.between h2,.card h2{font-size:18px;margin:0}.tag{background:#eaf8f1;color:#278e68;border-radius:30px;padding:6px 11px;font-size:10px;font-weight:900}.mission-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}.target{display:flex;align-items:center;gap:11px}.target-swatch{width:48px;height:48px;border:4px solid white;box-shadow:0 0 0 1px #e5e8ef;border-radius:13px;background:#e5e8ef}.target b,.target small{display:block}.target b{font-size:12px}.target small{font-size:10px;color:var(--muted)}#hint{font-size:11px;color:var(--muted)}.progress{height:5px;background:#f0f1f7;border-radius:8px;margin-top:15px;overflow:hidden}.progress span{display:block;width:20%;height:100%;background:linear-gradient(90deg,#6e5de7,#9a8cf8);transition:width .25s}
.grid{display:grid;grid-template-columns:.96fr 1.04fr;gap:18px}.controls,.lab{padding:20px}.link{border:0;background:none;color:var(--purple);font-size:11px;font-weight:900;cursor:pointer}.small{font-size:11px;margin:8px 0 15px}.sliders{display:grid;gap:14px;margin:15px 0}.paint-row{display:grid;grid-template-columns:13px 60px minmax(55px,1fr) 24px;align-items:center;gap:9px}.paint-row label{font-size:11px;font-weight:800}.paint-row input{width:100%;min-width:0;accent-color:var(--purple)}.paint-row output{background:#f3f4fa;border-radius:7px;text-align:center;padding:4px 2px;font-size:11px;font-weight:900}.dot{width:13px;height:13px;border-radius:50%;box-shadow:0 1px 3px #0002}.red{background:#e64d59}.yellow{background:#f3c943}.blue{background:#3974df}.white{background:#fff;border:1px solid #d4dae6}.black{background:#303449}.total{border-top:1px solid var(--line);padding:12px 0;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.total b{color:var(--ink)}.primary,.secondary,.next{border:0;border-radius:11px;padding:11px 14px;font-size:11px;font-weight:900;cursor:pointer;transition:transform .15s}.primary:hover,.secondary:hover,.next:hover,.quiet:hover{transform:translateY(-1px)}.primary{width:100%;background:linear-gradient(100deg,#6c5ce7,#907ff2);color:white;box-shadow:0 8px 18px #7566e52c}.tip{font-size:9px;color:#9ba1b3;line-height:1.5}.status{font-size:8px;letter-spacing:1px;color:#31a27b}.status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#39c18d;margin-right:5px}.stage{height:265px;display:flex;align-items:center;justify-content:center;position:relative}.spout{position:absolute;z-index:1;top:8px;width:48px;height:24px;border-radius:7px 7px 3px 3px;background:linear-gradient(90deg,#aabbd2,#e5edf7,#aabbd2)}.beaker{width:min(245px,68%);height:218px;position:relative;overflow:hidden;border:5px solid #c5d4e8;border-top:0;border-radius:0 0 32px 32px;background:linear-gradient(90deg,#dcecff44,#fff7 25%,#d7e7ff35 76%,#fff9);box-shadow:inset 0 -10px 18px #91a9c21c,0 13px 20px #536b8c14;z-index:2}.beaker:before{content:'';position:absolute;left:-6px;right:-6px;top:-4px;height:11px;border:5px solid #b8c9df;border-radius:50%;z-index:5;background:#f6fbff}.beaker canvas{width:100%;height:100%;display:block}.shine{position:absolute;z-index:4;pointer-events:none;left:14px;top:23px;width:9px;height:145px;border-radius:9px;background:linear-gradient(#fff9,#fff1)}.marks{position:absolute;z-index:6;right:7px;top:42px;height:130px;display:flex;flex-direction:column;justify-content:space-between;font-size:7px;color:#7288a6}.foot{position:absolute;bottom:15px;width:264px;height:9px;border-radius:50%;background:#b6c7dd88}.result{border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:center;gap:10px}.result-swatch{width:39px;height:39px;border-radius:11px;background:#eef0f5;flex:none;box-shadow:inset 0 0 0 1px #0001}.result-copy{flex:1;min-width:0}.result-copy b,.result-copy small{display:block}.result-copy b{font-size:11px}.result-copy small{font-size:9px;color:var(--muted)}.result code{font-size:9px;color:#9299ac}.buttons{display:flex;gap:8px;margin-top:12px}.secondary,.next{flex:1}.secondary{background:#f1f3f9;color:#69738b}.next{background:#ebe8ff;color:#6657d8}.next:disabled{opacity:.4;cursor:not-allowed;transform:none}
.feedback{display:flex;gap:12px;align-items:center;padding:13px 17px;margin-top:17px}.feedback>span{width:35px;height:35px;display:grid;place-items:center;background:#fff4d9;border-radius:11px;font-size:18px;flex:none}.feedback b{font-size:11px}.feedback p{font-size:10px;color:var(--muted);margin:3px 0 0;line-height:1.5}.lesson{padding:18px 20px;margin-top:15px}.lesson-heading{display:flex;align-items:center;gap:10px}.lesson-heading>span{font-size:24px}.lesson-heading h2{font-size:16px}.lesson>p{font-size:11px;color:var(--muted);line-height:1.6}.recipes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.recipes>div{background:#f5f6fb;padding:11px;border-radius:10px}.recipes small,.recipes b{display:block}.recipes small{font-size:9px;color:var(--muted)}.recipes b{font-size:11px;margin-top:4px}.ratio{margin-top:10px;background:#f0edff;color:#5d54ad;padding:10px 12px;border-radius:10px;font-size:10px;line-height:1.55}.hidden{display:none!important}footer{display:flex;justify-content:space-between;gap:10px;padding:20px 3px 0;color:#a1a8b9;font-size:9px}
@media(max-width:820px){.app{padding:17px}.grid{grid-template-columns:1fr}.hero-art{transform:scale(.8);transform-origin:right center;width:155px;margin-left:-20px}}
@media(max-width:520px){.app{padding:12px}.brand b{font-size:16px}.logo{width:39px;height:39px}.score,.quiet{font-size:10px;padding:8px 9px}.hero{min-height:125px}.hero h1{font-size:29px}.hero .muted{font-size:11px;max-width:260px}.hero-art{width:90px;transform:scale(.58);margin-left:-40px}.mission,.controls,.lab{padding:15px;border-radius:15px}.mission-bottom{align-items:flex-start;flex-direction:column}.mission-bottom #hint{margin:0 0 0 59px}.paint-row{grid-template-columns:12px 53px minmax(48px,1fr) 23px;gap:7px}.paint-row label{font-size:10px}.stage{height:245px}.beaker{height:207px;width:70%}.buttons{flex-direction:column}.recipes{grid-template-columns:1fr}footer{flex-direction:column;line-height:1.5}}
