.studio-section{margin:75px 0;scroll-margin-top:120px}.studio-panel{padding:30px;background:radial-gradient(ellipse at 12% 12%,#b3a0ff13,transparent 60%),var(--surface);overflow:hidden}.studio-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.studio-live{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--soft)}.studio-live .dot{background:var(--mint);box-shadow:0 0 12px #8fd2be44}.instrument-tabs{display:flex;gap:9px;margin:28px 0 18px;flex-wrap:wrap}.instrument-tab{flex:1;padding:15px 20px;min-width:110px;border:1px solid var(--stroke-strong);border-radius:16px;background:var(--surface-2);color:var(--soft);transition:background .2s,color .2s}.instrument-tab[aria-pressed=true]{color:var(--text);background:#b3a0ff25;border-color:var(--accent);box-shadow:0 5px 25px #b3a0ff0b}.studio-mood{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0}.studio-mood h3{font-size:35px;margin:10px 0}.studio-mood p{font-size:12px;color:var(--soft);max-width:600px;line-height:2}.studio-wave{height:80px;display:flex;gap:7px;align-items:center;direction:ltr;padding:0 25px}.studio-wave i{display:block;width:5px;height:22px;border-radius:6px;background:var(--accent);opacity:.3;transition:opacity .2s}.studio-wave i:nth-child(3n){height:55px;background:var(--pink)}.studio-wave i:nth-child(2n){height:38px}.studio-wave.sounding i{opacity:.85;animation:studio-wave .5s ease-in-out infinite alternate}.studio-wave.sounding i:nth-child(2n){animation-delay:-.3s}.studio-wave.sounding i:nth-child(3n){animation-delay:-.15s}@keyframes studio-wave{to{transform:scaleY(.4)}}.studio-toolbar{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:18px 0 26px}.studio-toolbar label{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--soft)}.studio-toolbar select{font-size:11px;background:var(--surface-2);color:var(--text);border:1px solid var(--stroke-strong);padding:8px;border-radius:9px}.studio-toolbar input{width:95px;accent-color:var(--accent)}.studio-toolbar button{font-size:10px;margin-right:auto}.studio-keyboard{position:relative;display:flex;direction:ltr;isolation:isolate;background:#0b0c15;border:8px solid #0b0c15;border-top:15px solid #0b0c15;border-radius:18px;height:235px;box-shadow:0 16px 30px #0003;touch-action:none;user-select:none}.studio-keyboard[hidden]{display:none}.studio-key{touch-action:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:10px;font-family:inherit;transition:background .08s,box-shadow .08s;position:relative}.white-key{width:12.5%;flex-shrink:0;border:1px solid #bdbbd0;border-bottom:7px solid #b6b1c7;border-radius:0 0 10px 10px;color:#625674;background:linear-gradient(90deg,#e8e5ef,#faf9ff 35%,#f7f5fb 80%,#e9e5f0);padding:0 0 16px;z-index:1}.studio-key span{font-size:12px}.studio-key kbd{font-size:10px;opacity:.7;border:1px solid currentColor;border-radius:5px;padding:2px 6px}.black-key{position:absolute;top:-1px;height:62%;width:7.6%;border:1px solid #080910;border-bottom:7px solid #07080e;border-radius:0 0 9px 9px;background:linear-gradient(90deg,#11121b,#303141 55%,#161721);color:#c1b7da;z-index:2;padding-bottom:12px;box-shadow:4px 6px 5px #0004}.black-key span{font-size:9px}.white-key.own-note{background:linear-gradient(#a58be0,#dac9ff);border-bottom-color:#8964bc;box-shadow:inset 0 0 20px #7855a833}.black-key.own-note{background:linear-gradient(#513981,#9c76db);border-bottom-color:#3c2459}.studio-key.peer-note{box-shadow:inset 0 -30px 30px #ef8bb355;border-bottom-color:var(--pink)}.studio-key:focus-visible,.guitar-string:focus-visible,.chord-pad:focus-visible{outline:3px solid var(--mint);outline-offset:-4px}.guitar-neck{height:210px;border:1px solid #b8875940;border-radius:18px;position:relative;overflow:hidden;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(20% - 2px),#c6ac7f44 20%),linear-gradient(135deg,#754b2e,#3e291d 70%);isolation:isolate}.guitar-hole{position:absolute;width:155px;height:155px;border-radius:50%;left:12%;top:27px;background:radial-gradient(circle,#111018 56%,#b68b5744 57%,#382515 61%,#c9a36a66 63%,#3e291d 67%);z-index:-1}#guitar-strings{height:100%;display:flex;flex-direction:column;justify-content:space-evenly;padding:12px 0;direction:ltr}.guitar-string{height:25px;position:relative;width:100%;border:0;background:transparent;color:#f1d9ac;text-align:left;touch-action:manipulation}.guitar-string:after{content:'';position:absolute;left:45px;right:12px;top:50%;height:2px;background:linear-gradient(#fff1c0,#a58a58);box-shadow:0 3px 2px #0006}.guitar-string:nth-child(-n+3):after{height:3px;background:repeating-linear-gradient(90deg,#cfb88e 0 1px,#7c603f 1px 2px)}.guitar-string span{margin-left:14px;font-size:11px;font-family:monospace}.guitar-string.own-note:after{background:var(--accent);box-shadow:0 0 10px var(--accent)}.guitar-string.peer-note:after{background:var(--pink);box-shadow:0 0 10px var(--pink)}.chord-caption{font-size:11px;color:var(--soft);text-align:center;margin:20px 0 12px}.guitar-chords{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;direction:ltr}.chord-pad{border:1px solid var(--stroke-strong);border-radius:16px;background:var(--surface-2);color:var(--text);padding:17px 8px;display:flex;flex-direction:column;gap:8px;align-items:center;touch-action:manipulation}.chord-pad strong{font-family:monospace;font-size:26px;color:var(--accent)}.chord-pad small{font-size:9px;color:var(--soft);direction:rtl}.chord-pad.strumming{background:#b3a0ff35;border-color:var(--accent)}.studio-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:20px;border-top:1px solid var(--stroke);padding-top:16px}.studio-bottom p{font-size:11px;color:var(--soft);line-height:2}.studio-bottom p:last-child{color:var(--pink)}#studio-audio-status{font-size:11px;color:var(--quiet);margin-bottom:0}.studio-meters{display:flex;gap:25px;margin-top:25px}.studio-meters label{display:flex;align-items:center;gap:10px;color:var(--quiet);font-size:10px}.studio-meters meter{height:8px;width:100px;accent-color:var(--mint)}.topbar nav{gap:1px}.topbar nav a{padding-left:11px;padding-right:11px}@media(max-width:760px){.studio-panel{padding:20px}.studio-top{align-items:flex-start;flex-direction:column;gap:12px}.studio-top .button{width:100%}.studio-wave{padding:0 5px;gap:4px}.studio-wave i{width:3px}.studio-mood h3{font-size:29px}.instrument-tab{min-width:calc(50% - 9px);padding:13px}.studio-toolbar{gap:15px}.studio-toolbar label{flex:1;white-space:nowrap}.studio-toolbar input{width:75px}.studio-keyboard{height:190px;border-width:5px;border-top-width:12px}.studio-key span{font-size:10px}.black-key span{font-size:7px}.studio-key kbd{font-size:8px;padding:1px 3px}.guitar-chords{grid-template-columns:repeat(3,1fr)}.studio-bottom{flex-direction:column;gap:0}.studio-meters{gap:14px}.studio-meters meter{width:70px}.topbar nav a{padding-left:9px;padding-right:9px}}@media(prefers-reduced-motion:reduce){.studio-wave.sounding i{animation:none}}
/* Keep the instrument and controls together on laptop screens. */
.studio-mood{padding:10px 0}.studio-mood h3{font-size:32px;line-height:1.4;margin:6px 0}.studio-mood p{margin:0;line-height:1.9}.studio-toolbar{padding:15px 0 20px;gap:18px}.studio-toolbar label{margin:0;line-height:1.5;white-space:nowrap}.studio-toolbar select{width:auto;min-width:120px;margin:0}.studio-toolbar input{margin:0}.studio-meters label{margin:0;line-height:1.5}.studio-bottom{padding-top:12px;margin-top:16px}.studio-bottom p{margin:0}.studio-keyboard{height:210px}.instrument-tabs{margin-top:20px;margin-bottom:8px}.instrument-tab{padding-top:12px;padding-bottom:12px}#studio-audio-status{line-height:1.8;margin-top:10px}.studio-panel{padding:25px}@media(max-width:760px){.studio-panel{padding:18px}.studio-mood h3{font-size:27px}.studio-keyboard{height:180px}.studio-toolbar{gap:12px}.studio-toolbar label{font-size:9px}.studio-toolbar label select{min-width:110px}.studio-toolbar button{margin-right:0}.studio-wave{display:none}.studio-bottom p{font-size:10px}}
.studio-section{scroll-margin-top:0}
/* Full-range performance instruments */
.studio-keys-scroll{direction:ltr;overflow-x:auto;padding:5px 0 14px;scrollbar-color:var(--accent) var(--surface-2);overscroll-behavior-x:contain}.studio-keys-scroll[hidden],#studio-kalimba[hidden],#studio-guitar[hidden]{display:none}.studio-keyboard{display:block;min-width:100%;max-width:none;border-width:6px;border-top-width:12px;overflow:visible;direction:ltr}.studio-keyboard .studio-key{position:absolute;top:0;height:100%;padding:0 0 10px;gap:8px}.studio-keyboard .black-key{height:62%;z-index:2;padding-bottom:10px}.studio-keyboard .white-key{z-index:1}.studio-keyboard .studio-key span{font-family:monospace;font-size:10px}.studio-keyboard .studio-key kbd{font-size:10px;min-height:18px}.studio-keyboard .black-key span{font-size:8px}.studio-toolbar{gap:14px}.studio-toolbar [aria-pressed=true]{background:#b3a0ff30;border-color:var(--accent);color:var(--accent)}.guitar-controls{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:10px 0 18px}.guitar-controls label,.guitar-performance label,.kalimba-mode-label{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--soft);margin:0}.guitar-controls select,.kalimba-mode-label select{width:auto;background:var(--surface-2);color:var(--text);border:1px solid var(--stroke-strong);border-radius:10px;padding:10px;font-size:12px}.guitar-controls button{font-size:11px}.fretboard-navigation{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px}.fretboard-navigation>span,.guitar-help{font-size:10px;color:var(--soft);line-height:2}.fretboard-navigation>div{display:flex;gap:7px}.fretboard-navigation button{font-size:10px;padding:7px 11px}.guitar-fret-scroll{direction:ltr;overflow-x:auto;border:1px solid #b8875966;border-radius:15px;padding-bottom:10px;background:#34251e;scrollbar-color:#bb8a59 #34251e;overscroll-behavior-x:contain}.guitar-fretboard{display:grid;grid-template-columns:88px repeat(25,58px);width:max-content;direction:ltr;isolation:isolate}.fret-number{display:grid;place-items:center;height:33px;background:#211d25;color:#cbb294;font-size:11px;font-variant-numeric:tabular-nums}.fret-marker{color:var(--pink);font-weight:700}.fret-number.fret-marker:after{content:'•';font-size:10px;line-height:.5}.fret-label{position:sticky;left:0;background:#27232d;color:#e8ddcf;z-index:4;border-right:3px solid #c9b990;display:flex;align-items:center;justify-content:center;gap:3px;min-height:40px;font-size:10px}.fret-label button{background:transparent;border:0;color:#e8ddcf;padding:5px 3px;font-size:10px;min-height:36px}.fret-label button:first-child{flex:1;font-family:monospace}.fret-label button:last-child{color:#c9a8a8;font-size:17px}.fret-label button[aria-pressed=true]{color:var(--pink);background:#b6486b55}.fret-note{height:42px;min-width:0;border:0;border-right:2px solid #b6a17e77;border-bottom:1px solid #dbab7f18;background:linear-gradient(#67472f,#533822);color:#efe2ce;font-family:monospace;font-size:10px;position:relative;text-shadow:0 1px 3px #000}.fret-note:nth-child(52n){background:#614228}.fret-note.fretted{background:#47645a;color:#efffed;box-shadow:inset 0 0 0 2px #9bd7b0}.fret-note.own-note,.fret-label .own-note{background:#8061ad;color:white;box-shadow:inset 0 0 0 2px #cfb5ff}.fret-note.peer-note,.fret-label .peer-note{background:#9f5573;box-shadow:inset 0 0 0 2px #f1a2c5;color:#fff}.fret-note:focus-visible,.fret-label button:focus-visible{outline:3px solid var(--mint);outline-offset:-4px}.guitar-performance{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin:18px 0 10px}.guitar-performance button{font-size:11px}.guitar-performance input{width:100px;accent-color:var(--accent)}#guitar-shape{font-family:monospace;color:var(--mint);font-size:11px;margin-right:auto}.guitar-help{margin:10px 0 15px}.guitar-chords .chord-pad{font-size:20px;font-family:monospace;color:var(--accent);padding:15px 8px}.kalimba-mode-label{margin-bottom:16px}.kalimba-tines{display:flex;direction:ltr;gap:5px;align-items:flex-start;justify-content:center;overflow-x:auto;padding:20px 12px 24px;background:radial-gradient(ellipse at center,#895f3899,#3c291f);border:1px solid #bc915b77;border-radius:20px;min-height:240px}.kalimba-tines[hidden]{display:none}.kalimba-tine{flex:0 0 39px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;padding:10px 2px;border-radius:3px 3px 11px 11px;border:1px solid #c6b183;background:linear-gradient(90deg,#9d8f70,#ece0bc 45%,#bcb092);color:#3b3021;box-shadow:3px 6px 6px #0005;touch-action:none;user-select:none}.kalimba-tine strong{font-size:10px;font-family:monospace}.kalimba-tine small{font-size:9px;opacity:.7}.kalimba-tine.own-note{background:linear-gradient(90deg,#8f70b6,#ddcbff,#9b7cbe)}.kalimba-tine.peer-note{box-shadow:inset 0 0 0 2px var(--pink),3px 6px 6px #0005}.studio-toolbar label input{min-width:70px}.studio-toolbar label{font-size:10px;flex-shrink:0}.studio-toolbar #studio-stop{margin-right:0}.studio-section .media-hint a{color:var(--accent)}@media(max-width:760px){.guitar-controls{gap:10px}.guitar-controls label{flex:1;flex-wrap:wrap}.guitar-controls select{max-width:100%;font-size:10px}.guitar-controls button{width:100%}.guitar-performance button{flex:1;white-space:nowrap;font-size:10px}.guitar-performance label{font-size:10px}.kalimba-tines{justify-content:flex-start}.studio-toolbar label{flex:none;font-size:10px}.studio-keyboard .studio-key{padding-bottom:8px}.studio-keys-scroll{padding-top:2px}.guitar-fret-scroll{max-width:100%}.fret-label{left:0}.fretboard-navigation>span{font-size:9px}.studio-toolbar #studio-sustain{font-size:10px}}

.fret-label button:first-child{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.fret-label button small{font-family:Estedad,sans-serif;font-size:8px;opacity:.75}
