:root{color-scheme:light;--ink:#211f24;--muted:#635e66;--paper:#f3f0e9;--line:#d6d0c8;--purple:#634397;--lav:#c7affc;--lime:#e9e96e;font-family:Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,select{color:var(--ink);border:1px solid var(--line);border-radius:8px;background:#fffdf8;min-height:42px;padding:0 14px}button,summary,select{cursor:pointer}button:hover:enabled,.beta:hover{border-color:var(--purple);background:#ece6f7}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #825abe;outline-offset:3px}button[hidden],[hidden]{display:none!important}.wrap{max-width:1020px;padding-inline:clamp(14px,4vw,40px);margin-inline:auto}header{border-bottom:1px solid var(--line)}.mast{height:68px;display:flex;align-items:center;justify-content:space-between}.brand,.beta{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.brand{font-size:21px;letter-spacing:-1px;font-weight:750}.brand img{object-fit:contain}.beta{border:1px solid var(--line);border-radius:30px;padding:8px 15px;font-size:.88rem;font-weight:600}.beta span{font-size:1.1em}main{padding-bottom:50px}h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(2.35rem,5.9vw,4.7rem);font-weight:500;letter-spacing:-.055em;line-height:1.03;margin:clamp(26px,4.4vw,54px) 0 12px}h1 span{color:var(--purple)}.intro,.hint,.midi p,details p{color:var(--muted);line-height:1.55}.intro{font-size:clamp(1rem,2vw,1.15rem);margin:0 0 25px}.instrument{border-radius:18px;border:1px solid #cec7be;overflow:hidden;background:#fcfaf5;box-shadow:0 7px 20px #3629400a}.display{background:#26212e;color:#fbf8f0;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;padding:25px clamp(18px,4vw,38px);gap:24px;min-height:165px}.readout,.voicing,#keys{-webkit-user-select:none;user-select:none}.caption{font-family:Consolas,monospace;font-size:.73rem;letter-spacing:.095em;text-transform:uppercase;color:#d6cddf}.readout .caption{display:flex;align-items:center;gap:9px}.caption i{width:9px;height:9px;border-radius:50%;background:var(--lav)}.live .caption i{background:var(--lime)}.big{font-family:Georgia,serif;font-size:clamp(2.55rem,6.3vw,4.3rem);letter-spacing:-.045em;line-height:1.1;margin:7px 0;color:var(--lime);overflow-wrap:anywhere}.big.empty{font-size:clamp(2.15rem,5.3vw,3.5rem);color:#fffaf1}#quality,#alternative{font-size:.94rem;line-height:1.5}#alternative{color:#d7c5f3}.voicing{border-left:1px solid #554b60;padding-left:clamp(18px,4vw,40px)}#notes{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0;color:#ded5e8}#notes span{padding:3px 9px;background:#393141;border:1px solid #514657;border-radius:6px;color:#fff}#bass{color:#d4cdd9;font-size:.88rem}.console{padding:19px clamp(10px,3vw,28px) 18px}.piano-head,.actions,.examples,.octaves,.ports{display:flex;align-items:center}.piano-head{justify-content:space-between;gap:8px;margin-bottom:14px}h2{margin:0;font-size:1.12rem;letter-spacing:-.025em}.octaves{gap:8px}.octaves button{padding:0;min-height:34px;width:34px}.octaves span{font-size:.83rem;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}#keys{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));border:2px solid #342e39;border-radius:8px;overflow:hidden;background:#302c34;touch-action:manipulation}.column{position:relative;min-width:0}.key{touch-action:manipulation;display:flex;align-items:flex-end;justify-content:center;line-height:1;border-radius:0 0 5px 5px;min-height:0;padding:0 0 10px}.key.white{width:100%;height:clamp(102px,15vw,145px);background:#fffdf7;border:0;border-right:1px solid #bdb6ad;box-shadow:inset 0 -6px #e4dfd5;font-size:.8rem;color:#625c62}.key.black{z-index:2;position:absolute;top:0;left:69%;width:62%;height:62%;background:#26232b;border:1px solid #17131a;box-shadow:inset 0 -5px #423c48}.key.white:hover{background:#eee6fc}.key.black:hover{background:#4f435c}.key.white[aria-pressed=true]{background:var(--lav);color:#2b193a;box-shadow:inset 0 -6px #a783df}.key.black[aria-pressed=true]{background:#9367d0;box-shadow:inset 0 -5px #7444b2}.key[aria-pressed=true]:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;position:absolute;bottom:24px}.key.black[aria-pressed=true]:before{bottom:9px;color:#fff}.key:focus-visible{outline:3px solid #7952b0;outline-offset:-4px}.hint{margin:8px 0 16px;font-size:.85rem}.actions,.examples,.ports{gap:8px;flex-wrap:wrap}.primary,#connect{background:var(--ink);color:#fff;border-color:var(--ink)}.primary:hover:enabled,#connect:hover:enabled{background:#523c69;color:#fff}.examples{margin-left:auto}.examples span{font-size:.83rem;color:var(--muted);margin-right:3px}.examples button{border-radius:20px;min-height:34px;font-family:Georgia,serif;font-weight:700}.midi{border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:24px 0 21px}.midi p{margin:4px 0 0;font-size:.92rem}.ports label{font-size:.88rem}.ports select{margin-left:6px;max-width:min(300px,65vw)}.ports input{accent-color:var(--purple)}details{font-size:.87rem;color:var(--muted);margin-top:15px}details p{max-width:75ch}@media(max-width:580px){.mast{height:57px}.brand{font-size:18px}.brand img{width:30px;height:30px}.beta{font-size:.8rem;padding:6px 10px}.display{grid-template-columns:1fr;gap:13px;padding:17px}.voicing{border-left:0;border-top:1px solid #514958;padding:10px 0 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.voicing #notes{margin:0}.voicing #bass{margin-left:auto;font-size:.76rem}#notes span{font-size:.78rem;padding:2px 4px}.examples{width:100%;margin:4px 0 0}.key.white{font-size:.66rem}.intro{margin-bottom:16px}.piano-head h2{font-size:1rem}.midi{padding:18px 0}.actions button{min-height:36px}}@media(max-width:580px){#keys{grid-template-columns:repeat(8,minmax(0,1fr))!important}}.prefs{display:flex;justify-content:flex-end;margin-top:12px;color:var(--muted);font-size:.86rem}.prefs select{min-height:34px;margin-left:5px}.piano-head{flex-wrap:wrap}.octaves{margin-left:auto}#explore-switch{min-height:34px;padding:0 12px;font-weight:600}#explore-switch[aria-pressed=true]{background:var(--purple);color:#fff}.keybar{background:#26212e;color:#fbf8f0;padding:4px 6px;border-radius:8px 8px 0 0;min-height:39px;display:flex;align-items:center}#key-hint{margin:0 4px;font-size:.82rem;line-height:1.25}#explorer,#explore-tags{display:flex;align-items:center;gap:5px;min-width:0}#explorer{width:100%}#explore-tags{flex:1;overflow:auto;scrollbar-width:none;white-space:nowrap;font-size:.85rem;padding:2px}#explore-tags::-webkit-scrollbar{display:none}#explorer button{flex:none;background:#393141;color:#fff;border-color:#6c6077;min-height:27px;padding:1px 8px;border-radius:7px}#explorer button:hover:enabled,#explorer button:focus-visible{background:#64517c}#explorer button:focus-visible{outline-offset:-2px}#keyboard-window{overflow-x:auto;margin-bottom:14px}#keyboard-window #keys{border-top-left-radius:0;border-top-right-radius:0}.exploring #keys{width:calc(100% * 52 / 15);grid-template-columns:repeat(52,minmax(0,1fr))!important}@media(max-width:580px){.exploring #keys{width:650%}}.key.root{border-bottom:4px solid #7756ad}.key.root[aria-pressed=true]{border-bottom-color:#64468d}.key.black.root{border-bottom:4px solid #c6b3f0}.matches{border:1px solid var(--line);border-radius:10px;background:#fcfaf5;color:var(--ink);margin:12px 0 0;padding:10px 14px}.matches>summary{font-weight:650}.matches #reading-list{display:grid;gap:0;margin-top:10px}.matches #reading-list details{margin:0;padding:8px 0;border-top:1px solid var(--line);-webkit-user-select:none;user-select:none}.matches #reading-list summary{font-size:.94rem;color:var(--ink)}.matches #reading-list p{max-width:100%;margin:6px 0;overflow-wrap:anywhere}
