:root{--ink:#192b4b;--cream:#fbf5e4;--red:#b9361f;--blue:#316c84;--pale:#fffaf0;--line:#c8bda8;color:var(--ink);background:var(--cream);font:100%/1.5 "Instrument Sans","Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:3px}button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #006b84;outline-offset:4px}button:disabled{cursor:default}[hidden]{display:none!important}
.mast,footer{display:flex;align-items:center;justify-content:space-between;max-width:65rem;margin:auto;padding:1.15rem 1.7rem;font-size:.93rem;font-weight:700}.mast{border-bottom:1px solid var(--line)}.mast a{text-decoration:none}.mast span{font-weight:550}
main{max-width:65rem;margin:auto;padding:0 1.7rem 1.9rem}
.intro{display:flex;gap:2rem;justify-content:space-between;align-items:center;padding:2.2rem 0 1.6rem}.label{text-transform:uppercase;letter-spacing:.12em;font-size:.77rem;line-height:1.4;font-weight:800;margin:0 0 .4rem}.intro .label,.extra .label{color:var(--red)}
h1,h2,h3,p{margin-top:0}h1,h2{font-family:"Instrument Serif",Georgia,serif}h1{font-size:clamp(3.4rem,8.5vw,6.2rem);line-height:.91;letter-spacing:-.065em;font-weight:500;margin:0}h1 em{font-weight:400;color:var(--red)}.lede{max-width:35rem;line-height:1.45;margin:.9rem 0 0;font-size:1.14rem}
.stamp{width:10.5rem;aspect-ratio:1;transform:rotate(5deg);border:2px solid var(--ink);border-radius:50%;display:grid;align-content:center;justify-items:center;gap:.45rem;flex-shrink:0;background:var(--pale);box-shadow:inset 0 0 0 6px var(--pale),inset 0 0 0 7px var(--line)}.stamp b{text-align:center;font:bold 1.4rem/.89 Georgia,serif;letter-spacing:.12em}.staff{position:relative;width:5.8rem;height:2.6rem;background:repeating-linear-gradient(0deg,transparent 0 6px,var(--blue) 6px 7px);overflow:hidden}.staff i{position:absolute;height:12px;width:15px;border-radius:50%;background:var(--red);transform:rotate(-18deg)}.staff i:nth-child(1){left:10%;bottom:0}.staff i:nth-child(2){left:43%;bottom:24%}.staff i:nth-child(3){left:75%;bottom:50%}
.panel{background:var(--pale);border:1px solid var(--ink);border-top:5px solid var(--ink);padding:clamp(1rem,3vw,2.2rem);box-shadow:4px 5px 0 #e9deca}.topline,.questionline,.voiceline,.sharing,.soundrow{display:flex;align-items:center;gap:.7rem}.topline,.questionline{justify-content:space-between}.topline .label{color:var(--blue);margin:0}.dots{display:flex;gap:4px}.dots i{width:10px;height:10px;background:#e5ddcf;border:1px solid #9e9486;border-radius:50%}.dots .on{box-shadow:0 0 0 2px var(--pale),0 0 0 3px var(--blue)}.dots .good{background:var(--blue)}.dots .miss{background:var(--red)}
.questionline{margin:.75rem 0 .1rem;align-items:baseline}.questionline h2,.extra h2,.store h2{font-size:clamp(1.95rem,4vw,3.1rem);line-height:1.03;letter-spacing:-.043em;font-weight:500;margin:0}.questionline span{font:600 .83rem/1.3 ui-monospace,monospace}.rootnotes{margin:.35rem 0 1rem;color:#4d514f}
.keyboard{position:relative;display:flex;height:clamp(5rem,12vw,7.5rem);border:2px solid var(--ink);background:var(--ink);border-radius:4px;isolation:isolate}.key{padding:0;border:0;font-size:clamp(.7rem,1.6vw,1rem);font-family:ui-monospace,monospace;display:grid;align-content:end;justify-content:center;line-height:1;padding-bottom:.6rem;outline-offset:-3px!important}.white{flex:1;background:#fffdf4;border-right:1px solid #867d70;min-width:0;border-radius:0 0 2px 2px}.white:last-of-type{border-right:0}.black{position:absolute;top:-1px;height:60%;z-index:1;background:var(--ink);color:white;width:4.5%;transform:translateX(-50%);border-radius:0 0 3px 3px}.key.member{background:#9bcac8;color:#112940}.key.low{background:#bf3e24;color:white}.key.fired{box-shadow:inset 0 0 0 3px #ffa828}.key:focus-visible{z-index:3;outline:3px solid #ff9c29}.voiceline{margin:.6rem 0 1rem}.voiceline span{font:700 .8rem ui-monospace,monospace;color:#48504f}.voiceline strong{font-size:1.13rem}
.soundrow{flex-wrap:wrap}.play,.outline,.next,.sharing button{border:1px solid var(--ink);border-radius:4px;padding:.46rem .88rem;font-weight:700;min-height:44px}.play,.next{background:var(--ink);color:white}.outline,.sharing button{background:transparent}.play:before{content:"";display:inline-block;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor;margin-right:8px}.soundstatus:empty{display:none}.soundstatus{margin:.5rem 0}
.answers{padding:0;border:0;margin:1.2rem 0 0}.answers legend{font-size:1.08rem;font-weight:700;margin:0 0 .48rem;padding:0}.answers>div{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.answers button,.reference button{border:1px solid #a49b8b;background:#fffdf4;padding:.68rem;text-align:center;border-radius:4px;min-height:44px}.answers button:hover:enabled,.outline:hover,.sharing button:hover,.reference button:hover{background:#f0e8d4}.answers button.correct{color:#123f47;background:#d2e8dd;border-color:#247777;font-weight:700}.answers button.incorrect{background:#f4d8c9;border-color:var(--red)}.feedback:not(:empty){margin:.8rem 0 .5rem}.next{margin:.3rem 0 0}.sharing{justify-content:space-between;margin:1rem 0 0;flex-wrap:wrap}.sharing p{margin:0}.sharing button{font-size:.9rem}#copyfallback{width:100%;padding:.45rem}
.extra{display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;padding:2rem 0}.extra p:not(.label){margin:.8rem 0 0}.reference{padding-left:1.2rem;border-left:1px solid var(--line);align-self:center}.reference h3{font-size:1rem;margin:0 0 .4rem}.reference button{display:flex;justify-content:space-between;align-items:center;width:100%;border-width:0 0 1px;border-radius:0;text-align:left;background:transparent;padding:.47rem .18rem}.reference b{font-family:ui-monospace,monospace}.reference>span{display:block;margin-top:.35rem}
.store{display:flex;align-items:center;gap:1rem;color:#fff6de;background:var(--ink);padding:1.35rem;border-radius:6px}.store img{border-radius:16px;flex-shrink:0}.store h2{font-size:2rem}.store .label{color:#f6bb88}.store p:last-child{margin:.4rem 0 0}.store a{flex-shrink:0;padding:.75rem .9rem;background:#fff4d8;color:var(--ink);border-radius:4px;font-weight:700;font-size:.9rem;text-decoration:none}.store a:hover{text-decoration:underline}footer{border-top:1px solid var(--line)}#review ul{padding-left:1.25rem}#review li{margin:.3rem 0}
@media(max-width:650px){.mast,footer{padding:.8rem 1rem}main{padding:0 1rem 1.2rem}.intro{padding:1.5rem 0;gap:.65rem}.stamp{width:5.7rem}.stamp b{font-size:.86rem}.staff{width:3rem;height:1.5rem}.staff i{width:9px;height:7px}.extra{grid-template-columns:1fr;gap:1rem}.reference{border:0;padding:0}.store{display:grid;grid-template-columns:48px 1fr}.store img{width:48px;height:48px}.store a{grid-column:1/-1;text-align:center}.store h2{font-size:1.6rem}.questionline span{font-size:.73rem}.questionline{flex-wrap:wrap;gap:.3rem}.answers button{padding:.5rem .2rem}.sharing{align-items:start}.lede{font-size:1rem}.intro h1{font-size:clamp(3.2rem,11vw,4rem)}}
@media(max-width:370px){.stamp{display:none}.mast span{font-size:.78rem}.answers>div{grid-template-columns:1fr}.answers button{text-align:left;padding-left:.8rem}}
@media(prefers-reduced-motion:no-preference){.key,.answers button{transition:background .14s}.play:hover,.next:hover{background:#2f4c70}}
.finishlinks{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.continue{background:var(--ink);color:white;border-radius:4px;font-weight:700;text-decoration:none;padding:.62rem .95rem}.continue:hover{text-decoration:underline}
.teacher-note{margin:1.2rem 0 0;border-block:1px solid #89948d;padding:.5rem 0;color:var(--ink)}
.teacher-note summary{cursor:pointer;font-weight:700;padding:.6rem 0}.teacher-note p{margin:.4rem 0;max-width:62ch}.teacher-note a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-underline-offset:.2em}.teacher-note a[hidden]{display:none}
