.theme_light,:root{color-scheme:light;--bg:var(--color-white-2);--text:var(--color-black-1);--text-secondary:var(--color-grey-4);--text-tertiary:var(--color-grey-1);--note-text:var(--color-black-1);--note-correct:var(--color-green-1);--note-incorrect:var(--color-red-1);--note-incorrect-octave:var(--color-orange-1);--btn-text:var(--color-black-1);--btn-bg:var(--color-white-1);--btn-bg-hover:var(--color-grey-1);--btn-bg-active:var(--color-green-1);--btn-bg-warning:var(--color-red-1);--overlay-bg-rgb:hsla(0,0%,100%,.8);--overlay-bg-hover:var(--color-grey-1);--link-text:var(--color-grey-4);--link-hover:var(--color-black-1);--border-color:rgba(0,0,0,.1);--switch-btn-bg-on:var(--color-grey-2);--switch-btn-bg-off:var(--color-white-1);--switch-btn-bg-thumb:var(--color-black-1);--header-footer-bg:var(--color-white-2);--keyboard-border:var(--color-grey-6);--keyboard-white-key:var(--color-white-1);--keyboard-white-key-clicked:var(--color-grey-1);--keyboard-black-key:var(--color-grey-6);--keyboard-black-key-clicked:var(--color-black-1)}.theme_dark{color-scheme:dark;--bg:var(--color-black-1);--text:var(--color-white-2);--text-secondary:var(--color-grey-2);--text-tertiary:var(--color-grey-6);--note-text:var(--color-black-1);--note-correct:var(--color-green-1);--note-incorrect:var(--color-red-1);--note-incorrect-octave:var(--color-orange-1);--btn-text:var(--color-white-1);--btn-bg:var(--color-grey-6);--btn-bg-hover:var(--color-grey-5);--btn-bg-active:var(--color-green-1);--btn-bg-warning:var(--color-red-1);--overlay-bg-rgb:rgba(46,46,46,.8);--overlay-bg-hover:var(--color-grey-1);--link-text:var(--color-grey-2);--link-hover:var(--color-white-1);--border-color:hsla(0,0%,100%,.3);--switch-btn-bg-on:var(--color-grey-4);--switch-btn-bg-off:var(--color-grey-6);--switch-btn-bg-thumb:var(--color-white-2);--header-footer-bg:var(--color-black-1);--keyboard-border:var(--color-black-2);--keyboard-white-key:var(--color-grey-5);--keyboard-white-key-clicked:var(--color-grey-6);--keyboard-black-key:var(--color-black-1);--keyboard-black-key-clicked:var(--color-black-2)}@media (prefers-color-scheme:dark){:root:not(.theme_light){color-scheme:dark;--bg:var(--color-black-1);--text:var(--color-white-2);--text-secondary:var(--color-grey-2);--text-tertiary:var(--color-grey-6);--note-text:var(--color-black-1);--note-correct:var(--color-green-1);--note-incorrect:var(--color-red-1);--note-incorrect-octave:var(--color-orange-1);--btn-text:var(--color-white-1);--btn-bg:var(--color-grey-6);--btn-bg-hover:var(--color-grey-5);--btn-bg-active:var(--color-green-1);--btn-bg-warning:var(--color-red-1);--overlay-bg-rgb:rgba(46,46,46,.8);--overlay-bg-hover:var(--color-grey-1);--link-text:var(--color-grey-2);--link-hover:var(--color-white-1);--border-color:hsla(0,0%,100%,.3);--switch-btn-bg-on:var(--color-grey-4);--switch-btn-bg-off:var(--color-grey-6);--switch-btn-bg-thumb:var(--color-white-2);--header-footer-bg:var(--color-black-1);--keyboard-border:var(--color-black-2);--keyboard-white-key:var(--color-grey-5);--keyboard-white-key-clicked:var(--color-grey-6);--keyboard-black-key:var(--color-black-1);--keyboard-black-key-clicked:var(--color-black-2)}}:root{--color-white-1:#fff;--color-white-2:#f5f5f3;--color-black-1:#222;--color-black-2:#000;--color-grey-1:#dadada;--color-grey-2:#bfbfbf;--color-grey-3:#919191;--color-grey-4:#666;--color-grey-5:#484848;--color-grey-6:#2e2e2e;--color-green-1:#7dca6e;--color-green-2:#346234;--color-orange-1:#fec303;--color-orange-2:#e26a1e;--color-yellow-1:#fdd200;--color-beige-1:#d8cbaf;--color-red-1:#e54b46;--color-blue-1:#66addb;--color-blue-2:#394381;--width_960:960px;--width-360:360px;--height_header:48px;--height_footer:48px;--left_right_body_padding:24px;--label-margin:6px;--blur-radius:24px;--shadow-overlay:0 10px 20px rgba(0,0,0,.12)}*{border:0;box-sizing:border-box;margin:0;padding:0}svg{display:block}body{background:var(--bg);color:var(--text);font-family:Helvetica Neue,Helvetica,Arial,Arial Unicode MS,sans-serif;font-size:16px}li{list-style-type:none}a{color:var(--link-text);text-decoration:none}button,div,h1,h2,h3,input,label,li,option,p,select,span,textarea{font-family:inherit;font-weight:400;letter-spacing:-.01em}.no-select{user-select:none}a>svg>path{color:var(--link-text)}a:hover,a:hover>svg>path{color:var(--link-hover)}button{background:var(--btn-bg);color:var(--btn-text)}button,div{-webkit-tap-highlight-color:transparent}@media (width <= 768px){:root{--left_right_body_padding:12px}}.flex{display:flex}.items-center{align-items:center}.justify-center,.select{justify-content:center}.select{align-items:center;display:flex;flex-direction:column;font-size:13px;position:relative}.select__label{color:var(--text-secondary);font-size:12px;margin-top:var(--label-margin)}.select__button{align-items:center;background:var(--btn-bg);border-radius:12px;color:var(--btn-text);cursor:pointer;display:flex;height:32px;justify-content:center;width:72px}.select__button:hover{background:var(--btn-bg-hover)}.select__button-text{overflow:hidden;padding:0 4px;text-overflow:ellipsis;white-space:nowrap}.select__button-icon{align-items:center;display:flex;margin-right:2px;padding-left:4px}.select__options{backdrop-filter:blur(var(--blur-radius));background:var(--overlay-bg-rgb);border:.5px solid var(--border-color);border-radius:12px;box-shadow:var(--shadow-overlay);color:var(--btn-text);max-height:192px;min-width:128px;overflow-y:auto;padding:4px;position:absolute;transition:opacity .2s ease;z-index:2}.select__option{align-items:center;border-radius:8px;cursor:pointer;display:flex;font-size:14px;line-height:1.2;overflow:hidden;padding:8px 12px;text-align:left;text-overflow:ellipsis}.select__option:hover{background:var(--overlay-bg-hover)}.select__option_disabled{cursor:not-allowed}.select__option_disabled,.select__option_disabled:hover{background-color:var(--btn-bg-warning)}.select_option_selected{font-weight:600}.select__option-icon{margin-right:8px}.helper{position:relative}.helper__button{align-items:center;background:var(--btn-bg);border-radius:12px;color:var(--btn-text);cursor:pointer;display:flex;font-size:14px;height:32px;justify-content:center;width:32px}.helper__button:hover{background:var(--btn-bg-hover)}.helper__info{backdrop-filter:blur(var(--blur-radius));background:var(--overlay-bg-rgb);border:.5px solid var(--border-color);border-radius:12px;box-shadow:var(--shadow-overlay);color:var(--btn-text);left:50%;max-height:192px;overflow-y:auto;position:absolute;top:calc(100% + 2px);transform:translateX(-100%);transition:opacity .2s ease;width:304px;z-index:2}.helper__text{margin:2px;overflow:hidden;padding:8px 12px;text-overflow:ellipsis}.helper__text>*{display:inline}.helper__text,.helper__text h1{font-size:14px}.header{background:var(--header-footer-bg);display:block;height:var(--height_header)}.header__navigation{height:100%;width:100%}.header__navigation-items{gap:12px;height:100%;width:100%}.header__accuracy,.header__navigation-items{align-items:center;display:flex;justify-content:center}.header__accuracy{cursor:default;flex-direction:column;font-size:12px;height:32px;line-height:1;overflow:hidden;width:124px}.header__accuracy-label{color:var(--text-secondary)}.header__accuracy-value{color:var(--text);white-space:nowrap}.logo{fill:var(--color-white-1)}.footer{align-items:center;background:var(--header-footer-bg);color:var(--text-secondary);display:flex;font-size:12px;height:var(--height_footer);justify-content:center}.footer-content{display:flex;height:100%;justify-content:space-between;width:100%}.footer__logo{gap:8px}.footer__address,.footer__logo{align-items:center;display:flex}.footer__address{height:100%}.footer__address svg{margin-right:6px}.footer__address>a{font-style:normal}.footer__address>a,.note{align-items:center;display:flex}.note{background-color:var(--text);border-radius:50%;color:var(--text-tertiary);font-size:8px;justify-content:center;position:absolute;top:0;transition:background-color .1s,transform .3s;z-index:1}.note_correct{box-shadow:0 0 0 2px var(--note-correct)}.note_incorrect-octave{background-color:var(--note-incorrect-octave);color:var(--text)}.note_incorrect{background-color:var(--note-incorrect)}.note-ghost{background-color:transparent;border:2px solid;border-radius:50%;box-sizing:border-box;position:absolute;top:0;z-index:1}.note-ghost_incorrect{border-color:var(--note-incorrect);color:var(--note-incorrect)}.note-ghost_incorrect-octave{border-color:var(--note-incorrect-octave);color:var(--note-incorrect-octave)}.note-ghost__accidental{font-size:14px;font-weight:700;line-height:0;position:absolute;right:calc(100% + 2px);transform:translateY(-50%) rotate(21deg)}.additional-note-line{background-color:var(--text);height:1px;position:absolute}.additional-note-line_incorrect{background-color:var(--note-incorrect)}.additional-note-line_incorrect-octave{background-color:var(--note-incorrect-octave)}.note__hint{align-items:center;display:flex;height:100%;justify-content:center;line-height:0;width:100%}.staff{position:relative}.clef-icon,.key-signature-icon{fill:var(--text);position:absolute}.key-signature-icon>*{animation:key-signature-icon .5s ease}.clef-icon{animation:clef-icon .5s ease}.bass-clef-icon{animation:bass-clef-icon .5s ease}@keyframes key-signature-icon{0%{opacity:0}to{opacity:1}}@keyframes clef-icon{0%{opacity:0}to{opacity:1}}@keyframes bass-clef-icon{0%{opacity:0}to{opacity:1}}.current-position-line{border-left:1px solid var(--text);left:0;opacity:.2;position:absolute;transition:transform .2s}.line{background-color:var(--text);opacity:.4;width:100%}.midi{flex-direction:column;justify-content:flex-start}.midi,.midi__button{align-items:center;display:flex}.midi__button{border-radius:12px;color:var(--btn-text);cursor:pointer;font-size:13px;height:32px;justify-content:center;margin-bottom:var(--label-margin);transition:background .3s;width:32px}.midi__button_disabled{background:var(--btn-bg)}.midi__button_enabled{background:var(--btn-bg-active)}.midi__button_unsupported{background:var(--btn-bg-warning);border:none}.midi__status{color:var(--text-secondary);cursor:default;font-size:12px;min-height:70px;overflow:hidden;text-align:center;width:100%}.microphone{align-items:center;display:flex;flex-direction:column;justify-content:flex-start}.microphone__button-container{align-items:center;display:flex;gap:4px;position:relative}.microphone__button{align-items:center;border-radius:12px;color:var(--btn-text);cursor:pointer;display:flex;font-size:13px;height:32px;justify-content:center;margin-bottom:var(--label-margin);transition:background .3s,transform .2s;width:32px}.microphone__button:hover{transform:scale(1.05)}.microphone__button:active{transform:scale(.95)}.microphone__button_disabled{background:var(--btn-bg)}.microphone__button_enabled{animation:pulse 2s infinite;background:var(--btn-bg-active)}.microphone__button_error{background:var(--btn-bg-warning);border:none}@keyframes pulse{0%,to{box-shadow:0 0 0 0 rgba(76,175,80,.4)}50%{box-shadow:0 0 0 8px rgba(76,175,80,0)}}.microphone__beta-badge{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;font-size:8px;font-weight:600;letter-spacing:.5px;padding:2px 4px;position:absolute;right:-20px;text-transform:uppercase;top:-6px;white-space:nowrap}.microphone__status{color:var(--text-secondary);cursor:default;font-size:12px;line-height:1.4;min-height:70px;overflow:hidden;text-align:center;width:100%}.note-buttons__keyboard{display:flex;max-width:424px;position:relative;width:100%}.note-buttons__key{-webkit-tap-highlight-color:transparent;align-items:flex-end;background:none;border:none;cursor:pointer;display:flex;justify-content:center;touch-action:none}.note-buttons__key *{pointer-events:none}.note-buttons__key--white{background:var(--keyboard-white-key);border:1px solid var(--keyboard-border);border-bottom-left-radius:6px;border-bottom-right-radius:6px;flex:1;height:208px}.note-buttons__key--white:first-of-type{border-top-left-radius:6px}.note-buttons__key--white:last-of-type{border-top-right-radius:6px}.note-buttons__key--white:not(:last-of-type){margin-right:1px}.note-buttons__key--white.note-buttons__key--pressed{background:var(--keyboard-white-key-clicked)}.note-buttons__key--black{background:var(--keyboard-black-key);border:1px solid var(--keyboard-border);border-radius:0 0 6px 6px;height:120px;position:absolute;transform:translateX(-50%);width:10%;z-index:1}.note-buttons__key--black[data-note="C#"]{left:14.28571%}.note-buttons__key--black[data-note="D#"]{left:28.57143%}.note-buttons__key--black[data-note="F#"]{left:57.14286%}.note-buttons__key--black[data-note="G#"]{left:71.42857%}.note-buttons__key--black[data-note="A#"]{left:85.71429%}.note-buttons__key--black.note-buttons__key--pressed{background:var(--keyboard-black-key-clicked)}.note-buttons__key-hint{color:var(--text);font-size:8px;margin:4px 0;opacity:0;position:absolute;transition:opacity .3s ease}.note-buttons__key-hint--black{color:var(--color-white-1)}.note-buttons__key-hint--visible{opacity:1}.segmented-control{align-items:center;background:var(--btn-bg);border-radius:12px;display:flex;gap:2px;overflow:auto;padding:2px}.segmented-control__segment{align-items:center;background:transparent;border:none;border-radius:10px;color:var(--btn-text);cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:6px 12px;transition:all .2s ease;white-space:nowrap}.segmented-control__label{font-size:13px}.segmented-control__subtitle{color:var(--text-secondary);font-size:10px;margin-top:1px}.segmented-control__segment--active,.segmented-control__segment:hover{background:var(--btn-bg-hover)}.note-buttons{align-items:center;display:flex;flex-direction:column;margin-bottom:32px}.note-buttons__start-again-message{align-items:center;animation:fadeIn .2s forwards;color:var(--text);cursor:default;display:flex;font-size:16px;height:32px;justify-content:center;margin-bottom:var(--label-margin);opacity:0;transform:translateY(8px)}@keyframes fadeIn{to{opacity:1;transform:translateY(0)}}.note-buttons__message_correct{color:var(--note-correct)}.note-buttons__message_incorrect{color:var(--note-incorrect)}.note-buttons__message_incorrect-octave{color:var(--note-incorrect-octave)}.note-buttons__button,.note-buttons__buttons{display:flex;justify-content:center}.note-buttons__button{align-items:center;background:var(--btn-bg);border-radius:12px;cursor:pointer;height:32px;margin:0 6px;transition:opacity .3s;width:32px}.note-buttons__button:hover{background:var(--btn-bg-hover)}.note-buttons__button:active{opacity:1}.note-buttons__octave-panel{margin-bottom:var(--label-margin);max-width:100%}.spinner{animation:rotation 1s linear infinite;border:2px solid var(--text-secondary);border-bottom:2px solid transparent;border-radius:50%;box-sizing:border-box;display:inline-block}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.switch{flex-direction:column;justify-content:center}.switch,.switch__text{align-items:center;display:flex}.switch__text{color:var(--text-secondary);cursor:default;font-size:12px;margin-top:6px}.switch__spinner{margin-left:4px}.switch__button{background:var(--switch-btn-bg-off);border-radius:12px;cursor:pointer;height:var(--switch-height);position:relative;transition:background .5s;width:var(--switch-width)}.switch__button:before{background:var(--switch-btn-bg-thumb);border-radius:12px;content:"";height:calc(var(--switch-height) - 2px);left:1px;position:absolute;top:1px;transition:transform .4s;width:calc(var(--switch-height) - 2px)}.switch__button_on{background:var(--switch-btn-bg-on)}.switch__button_on:before{transform:translateX(calc(var(--switch-width)/2))}.feedback{backdrop-filter:blur(var(--blur-radius));background:var(--overlay-bg-rgb);border-radius:12px;box-shadow:var(--shadow-overlay);left:50%;max-width:320px;position:fixed;top:50%;transform:translate(-50%,-50%);width:100%;z-index:3}.feedback__content{align-items:center;display:flex;flex-direction:column;padding:32px 24px;width:100%}.feedback__title{color:var(--text);font-size:14px;margin-bottom:24px;text-align:center}.feedback__rating{display:flex;gap:12px;margin-bottom:24px}.feedback__rating-option{background:var(--btn-bg);border:2px solid var(--border-color);border-radius:12px;cursor:pointer;font-size:18px;line-height:1;padding:12px;transition:transform .15s ease,border-color .15s ease}.feedback__rating-option--selected{border-color:var(--text)}.feedback__textarea{background:var(--btn-bg);border:.5px solid var(--border-color);border-radius:12px;color:var(--text);font-size:13px;height:64px;outline:none;padding:10px 12px;resize:none;transition:border-color .15s ease;width:100%}.feedback__textarea::placeholder{color:var(--text-secondary)}.feedback__textarea:focus{border-color:var(--text-secondary)}.feedback__actions{display:flex;gap:12px;margin-top:16px;width:100%}.feedback__button{border-radius:12px;cursor:pointer;flex:1;font-size:12px;height:36px;transition:background .15s ease,opacity .15s ease}.feedback__button--primary{background:var(--text);color:var(--bg)}.feedback__button--primary:hover{opacity:.85}.feedback__button--primary:disabled{cursor:not-allowed;opacity:.4}.feedback__button--secondary{background:var(--btn-bg);border:.5px solid var(--border-color);color:var(--text)}.feedback__button--secondary:hover{background:var(--btn-bg-hover)}.feedback__button--close{flex:none;margin-top:16px;width:100%}.feedback__thanks{color:var(--text);font-size:14px;padding:24px 0;text-align:center}.feedback__error{color:var(--note-incorrect);font-size:12px;text-align:center}.main{height:100%;width:100%}.application-content{margin:0 auto;max-width:var(--width_960);min-width:var(--width-360);padding:0 var(--left_right_body_padding)}.main__content{margin:16px 0;width:100%}.options-container{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(72px,max-content));justify-content:center}.input-devices{display:flex;gap:18px;justify-content:center;margin-top:32px;width:100%}.input-devices>*{flex:1;max-width:50%}.centredSection{display:flex;flex-direction:column;justify-content:center;min-height:100vh;min-height:100dvh;width:100%}.centredSection_withFooter{min-height:calc(100vh - var(--height_footer));min-height:calc(100dvh - var(--height_footer))}.centredSection_withHeader{min-height:calc(100vh - var(--height_header));min-height:calc(100dvh - var(--height_header))}.centredSection_withFooterAndHeader{min-height:calc(100vh - var(--height_header) - var(--height_footer));min-height:calc(100dvh - var(--height_header) - var(--height_footer))}.centredSection_alignCenter{align-items:center;text-align:center}