:root{color-scheme:light;font-family:"Yu Gothic UI","Hiragino Sans",sans-serif;color:#173d36;background:#f5f6f0}*{box-sizing:border-box}body{margin:0}header{height:76px;display:flex;align-items:center;gap:12px;padding:0 max(6vw,20px);border-bottom:1px solid #c8d3ca;font-weight:750;letter-spacing:.08em}.mark{background:#194a40;color:#fff;width:34px;height:34px;display:grid;place-items:center;border-radius:9px}.sub{color:#48665f;font-size:.9rem;font-weight:500;padding-left:13px;border-left:1px solid #bbc9bf}main{max-width:960px;margin:clamp(28px,6vw,75px) auto;padding:0 20px 36px}h1{font-family:Georgia,"Yu Mincho",serif;font-size:clamp(2.3rem,6vw,4rem);letter-spacing:.035em;margin:0}p{line-height:1.75}.intro{margin-bottom:30px}.instrument{padding:clamp(12px,3vw,30px);border-radius:19px;background:linear-gradient(140deg,#26544b,#102f2b);box-shadow:0 7px 0 #102823,0 13px 20px #18392e20}.panel{display:flex;justify-content:space-between;color:#eff8ec;padding-bottom:16px;align-items:center}.panel span{color:#c0dbce;font-size:.9rem}#keys{position:relative;display:flex;height:clamp(138px,24vw,240px);isolation:isolate;touch-action:none}.key{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;border:1px solid #aab7ab;border-radius:0 0 6px 6px;user-select:none;touch-action:none;padding:0 0 12px;font:inherit}.white{width:12.5%;background:linear-gradient(#e1e8df,#fffef8 40%);color:#334d45;box-shadow:inset 0 -5px #c4cfc4}.black{position:absolute;top:0;width:7.8%;height:60%;background:linear-gradient(100deg,#14201e,#334740);color:#fff;border-color:#152b24;box-shadow:inset 0 -5px #111f1c;z-index:1}.key.active{background:#a5dfaf;box-shadow:inset 0 -2px #629c76}.black.active{background:#497b5f}.key small{font-size:.8rem}.key strong{font:600 1rem monospace}#hint{font-size:.94rem;color:#48665f;margin:20px 2px 32px}#share{display:flex;gap:24px;align-items:center;border-top:1px solid #c8d3ca;padding-top:24px}#qr svg{display:block;width:130px;height:130px}.sharetext{flex:1;min-width:0}h2{font-size:1.3rem;margin:0}.sharetext p{margin:6px 0 12px}.linkrow{display:flex;gap:8px}input{min-width:0;flex:1;border:1px solid #b9c9bb;border-radius:7px;padding:9px;background:white;color:#37534b}button:not(.key){padding:11px 18px;background:#194a40;color:white;border:0;border-radius:7px;font:inherit;cursor:pointer}[hidden]{display:none!important}@media(max-width:550px){#share{align-items:flex-start;gap:12px;flex-wrap:wrap}.sharetext{flex-basis:100%}.key small{font-size:.7rem}.intro{margin-bottom:20px}}
#tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#edf4e8;margin:0 0 16px;font-size:.9rem}select,#tools button{background:#254b43;border:1px solid #809b8c;color:white;border-radius:5px;padding:6px;font:inherit}#pedal[aria-pressed=true]{background:#b6dfb1;color:#15392e}footer{color:#52675f;font-size:.84rem;margin-top:26px}footer a{color:inherit}#keys .white{width:var(--white)}#keys .black{width:calc(var(--white)*.64)}.key{min-width:0}.key.active,.key.ringing{background:#b5dfad}#keys .black.active,#keys .black.ringing{background:#588469}.key.ringing{opacity:.8}@media(max-width:550px){#keys small{font-size:.57rem}#keys strong{font-size:.72rem}#tools{gap:7px}.instrument{padding:10px}}
.key-window{overflow-x:auto;scrollbar-color:#8ba397 #173d36}
#keys{min-width:calc(var(--whites)*27px)}
.key,.key strong,.key small{white-space:nowrap}
@media(max-width:650px){#keys,.key{touch-action:pan-x}}
