:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f3f1e9;--glow:#fcfbf6;--ink:#273e35;--muted:#747c72;--line:#d9ddd1;--accent:#30664b;--soft:#e5eadd;--hover:#dce6d2;--white:#fbfaf5;--dock:#efeee6;--string:#87917e;--fret:#c3cbbd;--dot-text:#fbfaf5;--success:#56825c;--muted-bg:#eae5dd;--muted-ink:#826459;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#171e1b;--glow:#222d26;--ink:#e2e9d8;--muted:#a5af9d;--line:#3b473c;--accent:#b0cfa1;--soft:#303e32;--hover:#3b503e;--white:#222b24;--dock:#1c2520;--string:#899780;--fret:#465643;--dot-text:#1c271e;--success:#b1d69c;--muted-bg:#3d342e;--muted-ink:#d7b6a4}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:4px}svg{display:block}button svg{stroke-width:1.7px;width:21px;height:21px}h1,h2,p{margin:0}.app{background:radial-gradient(ellipse at 50% 38%, var(--glow), var(--paper) 70%);height:100dvh;position:relative;overflow:hidden}.toolbar{z-index:2;justify-content:space-between;align-items:center;padding:26px 32px;display:flex;position:absolute;inset:0 0 auto}.wordmark{letter-spacing:-1px;font:25px Georgia,serif}.header-actions{gap:8px;display:flex}.icon-button{background:0 0;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex}.stage{justify-content:center;align-items:center;gap:clamp(40px,10vw,170px);height:calc(100% - 190px);padding:86px 70px 0;display:flex}.chord{letter-spacing:-.085em;text-align:center;min-width:1.45em;padding-right:.08em;font:clamp(110px,19vw,270px)/1 Georgia,serif}.diagram{flex-shrink:1;width:clamp(200px,27vw,340px);max-height:60dvh;overflow:visible}.string{stroke:var(--string)}.fret{stroke:var(--fret);stroke-width:1.5px}.nut{stroke:var(--ink);stroke-width:6px}.finger{fill:var(--ink)}.barre-line{stroke:var(--ink);stroke-width:8px;stroke-linecap:round}.diagram text{font-family:Arial,sans-serif}.finger-number{fill:var(--dot-text);font-size:14px}.string-label,.fret-number{fill:var(--muted);font-size:13px}.string-mark{stroke:var(--muted);stroke-width:1.5px;fill:none}.matched .finger{fill:var(--success)}.matched .barre-line{stroke:var(--success)}.matched .chord{color:var(--success)}.matched{animation:.35s both match}@keyframes match{50%{transform:scale(1.018)}}.step-arrow{width:52px;height:52px;color:var(--muted);background:0 0;border:0;border-radius:0;place-items:center;display:grid;position:absolute;top:calc(50% - 35px);transform:translateY(-50%)}.previous{left:32px}.next{right:32px}.transport{bottom:calc(22px + env(safe-area-inset-bottom));background:var(--dock);border:1px solid color-mix(in srgb, var(--line) 55%, transparent);box-shadow:none;z-index:2;border-radius:999px;align-items:center;gap:8px;padding:10px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.transport .icon-button{width:56px;height:56px}.mic-group{background:var(--muted-bg);color:var(--muted-ink);border-radius:999px;align-items:center;display:flex;overflow:hidden}.transport .mic{border-radius:0;gap:8px;width:72px}.transport .mic-options-toggle{border-radius:0;width:44px}.listening .mic-group{background:var(--ink);color:var(--paper)}.mic-options-toggle svg{width:16px;height:16px}.dock-divider{background:var(--line);width:1px;height:30px;margin:0 3px}.signal{align-items:center;gap:2px;height:18px;display:flex}.signal i{background:currentColor;border-radius:4px;width:2px;height:3px}.listening .signal i{animation:.85s ease-in-out infinite alternate listen}.listening .signal i:nth-child(2){animation-delay:-.5s}.listening .signal i:nth-child(3){animation-delay:-.25s}@keyframes listen{to{height:15px}}.idle-ui{transition:opacity .65s,visibility .65s}.is-idle .idle-ui{opacity:0;visibility:hidden;pointer-events:none}.chord-timeline{left:50%;bottom:calc(140px + env(safe-area-inset-bottom));pointer-events:none;width:min(430px,100% - 40px);height:54px;transition:opacity .8s;position:absolute;transform:translate(-50%)}.is-idle .chord-timeline{opacity:.72}.chord-timeline ol{grid-template-columns:repeat(5,1fr);align-items:center;height:100%;margin:0;padding:0;list-style:none;display:grid}.timeline-step{text-align:center;color:var(--muted);padding:8px 10px;font:24px Georgia,serif;position:relative}.timeline-step.current{color:var(--ink);font-size:30px}.timeline-step.current:after{content:"";background:var(--accent);border-radius:50%;width:4px;height:4px;position:absolute;bottom:0;left:calc(50% - 2px)}.timeline-step.past{font-size:20px}.empty-step{visibility:hidden}.modal-overlay{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);z-index:10;background:#273e3540;position:fixed;inset:0}.modal-panel{z-index:11;border:1px solid var(--line);background:var(--white);width:min(600px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);border-radius:28px;flex-direction:column;display:flex;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 24px 90px #0002}.panel-head{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px 20px;display:flex}.panel-head h2{font:25px/1.2 Georgia,serif}.panel-head .icon-button{border:1px solid var(--line)}.tabs{border:1px solid var(--line);background:var(--paper);border-radius:17px;flex-shrink:0;gap:4px;margin:0 28px 24px;padding:5px;display:flex}.tabs button{min-height:46px;color:var(--muted);background:0 0;border:0;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:7px;padding:10px 8px;font-size:12px;display:flex}.tabs button[aria-current=page]{background:var(--white);color:var(--ink)}.select-control>svg{pointer-events:none;width:16px;height:16px;color:var(--muted);position:absolute;top:50%;right:14px;transform:translateY(-50%)}.tabs button svg{width:17px;height:17px}.panel-body{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:0 28px 28px;overflow-y:auto}.panel-body h2{letter-spacing:-.7px;margin:0 0 20px;font:30px/1.15 Georgia,serif}.panel-body p{color:var(--muted);margin:0 0 20px;font-size:14px;line-height:1.65}.field{margin:20px 0;font-size:13px;display:block}.field>span{margin-bottom:8px;display:block}.panel-body input,.panel-body textarea,.panel-body select{border:1px solid var(--line);background:var(--paper);border-radius:12px;width:100%;min-height:48px;padding:13px 14px;font-size:14px;line-height:1.4}.panel-body textarea{resize:vertical;min-height:144px}.select-control{flex-shrink:0;width:180px;display:block;position:relative}.select-control select{appearance:none;cursor:pointer;padding-right:42px}.field .select-control{width:100%}.row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;padding:20px 0;display:flex}.row strong{font-size:14px;font-weight:500}.row small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5;display:block}.pill{border:1px solid var(--line);background:var(--white);border-radius:30px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:12px 18px;font-size:13px;display:inline-flex}.primary{background:var(--ink);color:var(--white);border-color:var(--ink)}.actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.song{border-bottom:1px solid var(--line);align-items:center;gap:12px;display:flex}.song-select{text-align:left;min-height:72px;color:inherit;background:0 0;border:0;flex:1;padding:18px 0}.song-select strong{font-size:15px;font-weight:500}.song-select small{color:var(--muted);margin-top:7px;font-size:12px;line-height:1.5;display:block}.import-preview{overflow-wrap:anywhere;margin:16px 0;font:24px/1.6 Georgia,serif}.error{color:#ae563d;margin:12px 0;font-size:13px;line-height:1.5}.error:empty{display:none}.device-panel{z-index:3;bottom:calc(116px + env(safe-area-inset-bottom));width:min(340px,100vw - 32px);max-height:calc(100dvh - 140px - env(safe-area-inset-bottom));background:var(--white);border:1px solid var(--line);border-radius:20px;padding:20px;position:absolute;left:50%;overflow-y:auto;transform:translate(-50%)}.device-panel .select-control{width:100%}.device-panel select{border:1px solid var(--line);background:var(--paper);border-radius:12px;width:100%;padding:14px 42px 14px 14px}.device-panel label{margin-bottom:12px;font-size:13px;display:block}.has-notice .stage{padding-top:150px}.toast{background:var(--white);border:1px solid var(--line);z-index:4;border-radius:16px;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 32px);padding:8px 12px;font-size:13px;display:flex;position:absolute;top:82px;left:50%;transform:translate(-50%)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=600px){.toolbar{padding:22px 24px}.stage{height:calc(100% - 180px - env(safe-area-inset-bottom));flex-direction:column;gap:18px;padding:72px 20px 8px}.has-notice .stage{padding-top:136px}.toast{top:72px}.chord{min-width:0;font-size:clamp(76px,23vw,108px)}.diagram{width:auto;max-width:calc(100vw - 110px);height:clamp(150px,34dvh,290px)}.has-notice .diagram{min-height:0}.step-arrow{width:44px;height:44px;top:calc(50% - 33px)}.previous{left:8px}.next{right:8px}.transport{bottom:calc(14px + env(safe-area-inset-bottom));gap:4px;padding:8px}.transport .icon-button{width:50px;height:50px}.transport .mic{width:68px}.transport .mic-options-toggle{width:44px}.chord-timeline{bottom:calc(110px + env(safe-area-inset-bottom));width:calc(100% - 48px);height:48px}.timeline-step{padding:8px;font-size:21px}.timeline-step.current{font-size:27px}.timeline-step.past{font-size:18px}}@media (width<=480px){.modal-panel{border-radius:24px;width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}.panel-head{padding:20px 20px 16px}.panel-head h2{font-size:23px}.tabs{gap:2px;margin:0 20px 24px;padding:4px}.tabs button{flex-direction:column;gap:6px;min-height:60px;padding:10px 3px;font-size:11px}.panel-body{padding:0 20px 24px}.panel-body h2{font-size:28px}.row{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px 0;display:grid}.select-control{width:100%}.panel-body input,.panel-body textarea,.panel-body select{min-height:50px;font-size:16px}.field{margin:18px 0}}@media (height<=510px) and (width>=550px){.toolbar{padding:12px 24px}.stage{flex-direction:row;gap:65px;height:calc(100% - 140px);padding:35px 60px 0}.chord{font-size:130px}.diagram{width:auto;height:min(190px,48dvh)}.transport{bottom:calc(8px + env(safe-area-inset-bottom));padding:6px}.transport .icon-button{height:44px}.chord-timeline{bottom:calc(78px + env(safe-area-inset-bottom));width:330px;height:36px}.timeline-step{padding:4px 8px;font-size:19px}.timeline-step.current{font-size:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.sun-icon{display:none}[data-theme=dark] .sun-icon{display:block}[data-theme=dark] .moon-icon{display:none}.panel-body p.note{margin-top:20px;font-size:12px}.large-diagram .diagram{width:clamp(220px,31vw,380px)}.sound-check{padding-top:22px}.sound-check meter{width:100%;height:20px;margin:16px 0;display:block}.listening .signal i{height:calc(3px + var(--signal,0) * 12px);transition:height 60ms;animation:none}.listening .signal i:first-child{height:calc(3px + var(--signal,0) * 8px)}.listening .signal i:last-child{height:calc(3px + var(--signal,0) * 10px)}@media (width<=600px){.large-diagram .diagram{width:auto;max-width:calc(100vw - 90px);height:clamp(170px,38dvh,320px)}}.practice-sequence,.sequence-frame{pointer-events:none;position:absolute;inset:0}.panel-motion{display:grid}.panel-frame{grid-area:1/1;min-width:0}.panel-frame[data-current=false]{pointer-events:none}@media (hover:hover){button:enabled:hover,a.pill:hover{background:var(--hover);color:var(--ink)}button.primary:enabled:hover,.listening button:enabled:hover{background:var(--accent);color:var(--paper)}button.step-arrow:enabled:hover{color:var(--accent);background:0 0}}button:enabled:active,a.pill:active{background:var(--hover);color:var(--ink)}button.step-arrow:enabled:active{color:var(--accent);background:0 0}
