*{box-sizing:border-box}:root{--ink:#243e38;--green:#206750;--paper:#fffefa}body{color:var(--ink);background:#f8f6ee;margin:0;font:16px Trebuchet MS,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #e6a824}header{background:#fcfbf5;border-bottom:1px solid #dfdfd2;justify-content:space-between;align-items:center;height:78px;padding:0 max(6vw,50vw - 530px);display:flex}.brand{letter-spacing:-1.6px;align-items:center;gap:10px;font-size:30px;font-weight:900;display:flex}.logo{background:var(--green);color:#fff;border-radius:10px;width:38px;height:34px;padding:7px;transform:rotate(-6deg)}svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;width:20px;height:20px;display:inline-block}.tools{gap:9px;display:flex}.tools>button{background:var(--paper);border:1px solid #d5dacd;border-radius:50%;width:40px;height:40px}.tools>button[aria-pressed=true]{background:#d6e8da}main{width:min(720px,100% - 34px);margin:clamp(35px,6vh,68px) auto}.heading{text-align:center}.heading h1{letter-spacing:-2px;margin:0;font-size:clamp(34px,5vw,49px);font-weight:900}.heading p{color:#58675d;margin:9px 0 34px}.progress{justify-content:space-between;align-items:center;gap:14px;margin:0 3px 20px;font-weight:700;display:flex}.count{align-items:center;gap:9px;display:flex}.count svg{color:#597967}.score{background:#ffedac;border:1px solid #e8d18c;border-radius:20px;align-items:center;gap:6px;padding:6px 13px;font-size:14px;display:flex}.score svg{fill:#efb737;stroke:#846423;width:17px}.book{background:var(--paper);border:1.5px solid #aeb9a8;border-radius:17px;position:relative;box-shadow:0 4px #e6e9da,0 5px #b4bfac,0 9px 15px #273c2010}.rings{justify-content:space-between;display:flex;position:absolute;top:-12px;left:8%;right:8%}.rings i{background:#819488;border:1.5px solid #506859;border-radius:8px;width:9px;height:24px;box-shadow:0 2px 0 2px #dce1d2}.model{background:repeating-linear-gradient(#0000 0 30px,#a7c7bc54 30px 31px),#f1f6e9;border-bottom:1px solid #d0dbcb;border-radius:16px 16px 0 0;padding:39px 34px 32px;position:relative}.label{align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.model h2{letter-spacing:-1.5px;overflow-wrap:anywhere;margin:18px 98px 4px 0;font:700 clamp(29px,5vw,44px)/1.22 Courier New,monospace}.mascot{background:#f7ce55;border:2px solid #364d3d;border-radius:18px 17px 13px 15px;width:76px;height:66px;position:absolute;bottom:27px;right:36px;transform:rotate(9deg);box-shadow:inset -4px -7px #deb13d,2px 4px #ced8bf}.face{background:#ffe38a;border:1.5px solid #675c31;border-radius:12px;position:absolute;inset:5px 8px 11px 5px}.face:before{content:"";background:#344a3c;border-radius:50%;width:5px;height:8px;position:absolute;top:17px;left:12px;box-shadow:23px 0 #344a3c}.face:after{content:"";border:2px solid #344a3c;border-top:none;border-radius:0 0 10px 10px;width:12px;height:6px;position:absolute;top:25px;left:19px}.spark{color:#8f7630;font-size:25px;position:absolute;top:-16px;right:-16px}form{padding:27px 34px 29px}input{width:100%;color:var(--ink);background:#fffefa;border:1.5px solid #91aa96;border-radius:9px;margin:12px 0 0;padding:16px;font:20px/1.3 Courier New,monospace}input::placeholder{color:#677269}.actions{justify-content:space-between;align-items:center;gap:15px;margin-top:18px;display:flex}.hint{color:#536759;font-size:14px}.primary{background:var(--green);color:#fff;white-space:nowrap;border:1px solid #174b39;border-radius:9px;padding:11px 19px;font-weight:700;box-shadow:0 3px #154c39}.primary:active{box-shadow:none;transform:translateY(2px)}.primary svg{margin-left:7px}.tip{color:#526357;align-items:center;gap:13px;margin:24px 3px 0;font-size:14px;display:flex}.bulb{color:#766428;background:#f9e9ad;border-radius:50%;flex:none;width:35px;height:35px;padding:8px}.tip b{color:var(--ink)}dialog{background:var(--paper);max-width:min(400px,90vw);color:var(--ink);border:1px solid #abb8a6;border-radius:16px;padding:28px}dialog::backdrop{background:#233b3680}dialog h2{margin-top:0}dialog p{line-height:1.6}[hidden]{display:none!important}.finish{text-align:center;padding:35px}.finish h2{font-size:32px}.error{color:#9e3b2a}@media (max-width:550px){header{height:64px}.model,form{padding-left:20px;padding-right:20px}.model h2{margin-right:66px}.mascot{transform-origin:100% 100%;right:12px;transform:rotate(9deg)scale(.72)}.actions{align-items:flex-start}.heading p,.tip{line-height:1.5}}.tutorial{width:min(460px,92vw);max-width:92vw;padding:clamp(20px,5vw,32px)}.tutorial-top,.tutorial-pref,.practice-keys{align-items:center;gap:8px;display:flex}.tutorial-top{color:#536759;justify-content:space-between;margin-bottom:22px;font-size:14px}.tutorial-skip,.tutorial-link{color:var(--green);text-underline-offset:3px;background:0 0;border:0;padding:8px 0;text-decoration:underline}.tutorial-link{margin-bottom:12px;display:block}.tutorial h2{margin-bottom:8px}.tutorial h2:focus{outline:none}.tutorial p{margin:0 0 18px}.practice-keys{flex-wrap:wrap}.practice-keys button{background:#f1f6e9;border:1px solid #91aa96;border-radius:7px;min-width:42px;min-height:44px;font-weight:700;box-shadow:0 2px #91aa96}.practice-keys button:nth-child(4){flex:1}.tutorial p[role=status]{margin:10px 0 0}.tutorial-pref{border-top:1px solid #d5dacd;margin-top:24px;padding-top:16px;font-size:14px}.tutorial-pref input{width:18px;height:18px;accent-color:var(--green);margin:0}
