:root{font-family:system-ui,sans-serif;color:#fff1df;background:#180a11;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top right,#50232b,transparent 60%),#180a11;min-height:100vh}header,main{max-width:960px;margin:auto;padding:24px}nav{display:flex;gap:22px;flex-wrap:wrap}a{color:#ffbb81}h1{font:clamp(36px,7vw,62px) Georgia,serif}h2{font:28px Georgia,serif}p{line-height:1.6}.eyebrow{color:#ffbb81;letter-spacing:.16em;font-size:12px}.panel{background:#2c151e;border:1px solid #986550;border-radius:18px;padding:24px;margin:22px 0}.controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end}label{display:grid;gap:7px}button,select,input{font:inherit;padding:13px;border-radius:9px;border:1px solid #ac7760;background:#41222c;color:#fff1df}button{cursor:pointer;min-height:48px}button.primary{background:#df9968;color:#240d15;font-weight:800}button:disabled{opacity:.45;cursor:default}:focus-visible{outline:3px solid #ffc18d;outline-offset:3px}.keyboard{display:flex;overflow-x:auto;padding:12px 2px;gap:3px}.key{flex:1;min-width:39px;height:150px;padding:7px 2px;background:#fff1df;color:#28131b;display:flex;align-items:end;justify-content:center}.key.black{background:#190c13;color:#ffcc9c;height:110px}.answer{display:flex;flex-wrap:wrap;gap:8px;min-height:50px}.chip{padding:9px;border:1px solid #a46d57;border-radius:7px}.correct{background:#225744}.wrong{background:#733544}#tap{width:100%;min-height:160px;font-size:28px;touch-action:manipulation;user-select:none}#tap:active{background:#ffd0a5}#status{min-height:3em;color:#ffcc9c}#feedback{white-space:pre-line;line-height:1.8}.hint{color:#d1b4aa;font-size:14px}input[type=number]{width:100px}footer{text-align:center;padding:30px}.skip{position:absolute;left:-9999px}.skip:focus{left:10px} @media(max-width:550px){main,header{padding:16px}.panel{padding:17px}.key{min-width:38px}.controls>button{flex:1}}
button{touch-action:manipulation} .staff{width:100%;max-width:540px;height:auto;background:#fff4e5;border-radius:12px} .note-options{display:flex;flex-wrap:wrap;gap:10px} @media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.hand-map{position:relative;max-width:600px;margin:20px 0;background:#fff4e5;border-radius:16px;overflow:hidden}.hand-map svg{display:block;width:100%;height:auto}.hand-map button{position:absolute;left:34%;width:65%;min-height:0;height:7.34%;padding:0 8px;text-align:right;border:0;border-radius:6px;color:#321722;background:transparent;font-size:clamp(10px,2.6vw,17px);line-height:1;white-space:nowrap}.hand-map button:hover,.hand-map button[aria-pressed=true]{background:#411326;color:#fff4e5;outline:2px solid #ffb373}.hand-map button:focus-visible{outline:3px solid #41222c;outline-offset:0}.hand-map button.space-target{color:#652a41}.hand-map button.space-target:hover,.hand-map button.space-target[aria-pressed=true]{color:#fff4e5}#handStaff{max-width:440px}#handFeedback{min-height:3em}#options{margin-top:16px}

.hand-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hand-list button{padding:10px 6px;font-size:14px}.hand-list button[aria-pressed=true]{background:#df9968;color:#240d15}@media(max-width:550px){.hand-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

.natural-hand{max-width:760px}.natural-hand button{left:82%;width:17%;height:4.5%;font-size:clamp(12px,2.8vw,19px);padding:0 5px;color:#245f83;font-weight:800}.natural-hand button.space-target{color:#a23d35}.natural-hand button[aria-pressed=true]{background:#411326;color:#fff4e5}.natural-hand button:hover{color:#fff4e5}

.natural-hand #handTouches button{width:6.1%;height:8.6%;min-height:0;padding:0;border:2px solid transparent;border-radius:50%;background:transparent}.natural-hand #handTouches button:hover,.natural-hand #handTouches button[aria-pressed=true]{border-color:#411326;background:#ffe4b780;outline:2px solid #fff4e5}

.path-task{padding:18px 0;border-top:1px solid #986550}.path-check{display:flex;align-items:center;gap:12px;margin-top:18px}.path-check input{width:24px;height:24px;accent-color:#df9968}.language-links{display:flex;gap:16px;flex-wrap:wrap;padding:15px 0}.path-task h3{font-size:24px}form select{max-width:100%}
