:root{color-scheme:light;--paper:#f3f0e8;--ink:#26302c;--muted:#7d8377;--line:#dcdfd3;--orange:#c56338;--stage:#252d29;--mono:Consolas,'Courier New',monospace;--sans:'Segoe UI',Arial,sans-serif;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.4 var(--sans);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,select,summary{cursor:pointer}button{touch-action:manipulation;border:0}button:disabled{opacity:.38;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ce7649;outline-offset:3px}button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}svg{display:block}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;margin:-1px;padding:0;border:0}
.page-shell{width:min(1320px,100%);padding:0 28px 16px;margin:auto}.app-header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px}.song-title{display:flex;align-items:center;gap:12px;min-width:0}.song-title h1{font:400 27px/1.1 var(--serif);letter-spacing:-.7px;margin:0}.difficulty{font:9px var(--mono);color:#728160;border:1px solid #bac6ab;border-radius:3px;padding:3px 6px;letter-spacing:1px}.song-meta{font:10px var(--mono);color:#8a9180;white-space:nowrap}.song-meta i{font-style:normal;padding:0 7px;color:#b7beac}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 8px;min-height:34px;border:1px solid transparent;border-radius:5px;background:transparent;color:#7c846f;font-size:11px}.text-button:hover{color:var(--ink);background:#eaece0}.fullscreen-button{font-size:10px;white-space:nowrap}.fullscreen-button svg{width:15px;height:15px}
.instrument-panel{background:var(--stage);color:#e0e5d8;border:1px solid #253129;border-radius:10px;overflow:hidden}.instrument-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px 0}.instrument-heading{display:flex;align-items:center;gap:22px}.instrument-heading h2{font:12px var(--sans);color:#9da992;letter-spacing:.2px;margin:0}.performance-readout{display:flex;gap:16px;font:10px var(--mono);color:#8b9983;white-space:nowrap}.performance-readout strong{font-weight:400;color:#e5e9da;padding-left:4px;font-variant-numeric:tabular-nums}.notes-progress{font-size:9px;color:#71836a}.board-settings{display:flex;align-items:center;gap:8px}.quiet-button,.board-settings select{min-height:31px;border:1px solid #ffffff20;border-radius:5px;background:#ffffff03;color:#aebba4;padding:5px 9px;font-size:10px}.board-settings select{color-scheme:dark;padding-right:4px}.quiet-button:hover,.board-settings select:hover{border-color:#ffffff45;color:#eff1e8}.quiet-button[aria-pressed=true]{color:#f5bd91;border-color:#d39b72;background:#a9693f20}.board-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#718267 #252d29;overscroll-behavior-x:contain}#fretboard{padding:0 12px;overflow-x:auto;width:100%;scrollbar-width:thin;scrollbar-color:#718267 #252d29}#fretboard svg{display:block;width:100%;height:auto;max-height:350px}.instrument-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 20px 12px;min-height:34px}.board-legend{display:flex;gap:13px;align-items:center;flex:none;font-size:9px;color:#8f9e84}.board-legend>span{display:inline-flex;gap:5px;align-items:center}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%}.active-dot{background:#f4b17c;box-shadow:0 0 6px #f4b17c50}.next-dot{border:1px dashed #a8b298}.open-dot{border:1px solid #d5b691}#active-notes{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-height:24px}.note-chip{display:inline-flex;align-items:center;gap:5px;background:#ffffff07;border:1px solid #aaac7e25;border-radius:4px;padding:3px 6px;color:#e5c59f;font:10px var(--mono);white-space:nowrap}.note-chip b{font-weight:400}.note-chip>span{color:#8e9c84;font-size:9px}.notes-empty{font-size:10px;color:#84967c}
.transport{background:#fcfaf4;border:1px solid var(--line);border-radius:10px;margin-top:10px;padding:12px 16px 9px}.control-row,.primary-controls,.bar-navigation,.speed-control,.step-controls,.step-controls>label,.practice-row{display:flex;align-items:center}.control-row{gap:17px;flex-wrap:wrap}.primary-controls{gap:5px}.play-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:40px;min-width:133px;padding:8px 16px;background:var(--orange);color:#fff9ef;border-radius:6px;font-size:12px;font-weight:600}.play-button:hover{background:#ae512d}#play-icon{display:block;width:15px}#play-icon svg{width:16px;height:16px;fill:currentColor;stroke:none}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:36px;border-radius:5px;background:transparent;color:#89917f;font-size:23px}.icon-button:hover{background:#eceee2;color:#3f5138}.skip-button{font:10px var(--mono);min-width:36px}.speed-control{gap:8px;font-size:10px;color:#8b947f}.control-label{font-size:10px;color:#86917b}.transport select,.transport input[type=number]{background:#f1f1e7;color:#4e5e44;border:1px solid #dce2d1;border-radius:5px;padding:6px 7px;min-height:34px;font:11px var(--mono)}.transport input[type=number]{width:54px;background:#fffef9}.bar-navigation{gap:5px;margin-left:auto}.bar-navigation>label{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#7b8670}.bar-navigation .icon-button{font-size:22px}.bar-navigation .small-print{margin-left:5px;min-width:78px}.small-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 10px;border:1px solid #c56338;border-radius:5px;background:var(--orange);color:#fff8ed;font-size:10px;white-space:nowrap}.small-button:hover{filter:brightness(.97)}.small-button.secondary{background:#eff0e4;color:#738166;border-color:#dce2d0}.small-button[aria-pressed=true]{background:#f5e5d5;color:#9c4e28;border-color:#ce9169}.small-print{margin:0;font:9px/1.5 var(--mono);color:#929b86}.scrubber-row{display:flex;align-items:center;gap:11px;margin-top:7px}.time-label{font:10px var(--mono);color:#8b947d;min-width:29px;font-variant-numeric:tabular-nums}.time-label:last-child{text-align:right}input[type=range]{-webkit-appearance:none;appearance:none;height:18px;background:transparent;accent-color:var(--orange);cursor:pointer;margin:0;touch-action:pan-y}input[type=range]::-webkit-slider-runnable-track{height:3px;background:#dce1d2;border-radius:3px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-5px;width:13px;height:13px;border-radius:50%;background:var(--orange);border:2px solid #fffaf0;box-shadow:0 0 0 1px #c5633825}#seek{flex:1;min-width:30px;width:100%}#seek::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--orange) var(--progress,0%),#dce1d2 var(--progress,0%))}.practice-row{flex-wrap:wrap;gap:10px;margin-top:7px}.step-controls{gap:5px}.step-controls>label{gap:7px;font-size:10px;color:#87927c}.loop-button{margin-left:7px}.practice-row #status{margin-left:auto}.total-count{font-size:8px;color:#acb39f}.control-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;padding-top:7px;min-height:25px}.control-foot>#practice-position{font-size:9px}.options-panel{font-size:10px;color:#87967b}.options-panel>summary{list-style:none;display:flex;align-items:center;gap:6px;padding:2px 0 2px 12px;white-space:nowrap}.options-panel>summary:after{content:'⌄';font-size:12px;color:#9ca58e}.options-panel[open]>summary:after{transform:rotate(180deg)}.options-panel>summary::-webkit-details-marker{display:none}.options-content{position:absolute;z-index:5;top:100%;right:0;width:min(730px,calc(100vw - 60px));display:grid;grid-template-columns:1.6fr 1fr;gap:22px;background:#fcfaf4;border:1px solid #d8e0cc;border-radius:8px;padding:18px;box-shadow:0 8px 20px #26302c12}.loop-range-fields{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:8px 0}.loop-range-fields>label{display:inline-flex;align-items:center;gap:6px;font-size:10px}.loop-range-fields .text-button{font-size:10px;min-height:30px}.audio-settings{border-left:1px solid var(--line);padding-left:20px}.volume-control{display:flex;align-items:center;gap:9px;font-size:10px}.volume-control input{width:96px;max-width:100%}.sync-panel{margin-top:12px}.sync-panel summary{font-size:10px;cursor:pointer}.sync-content{display:flex;align-items:center;gap:8px;margin-top:8px}.sync-content label{display:flex;align-items:center;gap:5px;white-space:nowrap}.sync-content input{width:67px!important}.sync-content .text-button{font-size:9px}.sync-panel>.small-print{margin-top:5px;font-family:var(--sans)}.error-message{padding:8px 10px;border:1px solid #e1bea9;background:#fff0e6;color:#a04a34;font-size:11px;border-radius:5px;margin:8px 0 0}
.phrase-panel,.full-song-panel{background:#fcfaf4;border:1px solid var(--line);border-radius:10px;margin-top:14px;padding:14px 16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}.section-heading h2{font:400 19px/1.2 var(--serif);letter-spacing:-.2px;margin:0}.section-heading>.small-print{font:9px var(--sans);color:#9ca68f}.section-heading>.small-button{min-height:31px}.phrase-panel #tab-roll{width:100%;overflow:hidden}#tab-roll svg{width:100%;height:auto;display:block;max-height:170px}#chord-grids{margin-top:8px}.full-song-panel{padding-bottom:12px}.full-song-tools{display:flex;align-items:center;flex-wrap:wrap;gap:13px;padding:5px 0 12px}.full-song-tools>label{display:flex;align-items:center;gap:6px;font-size:10px;color:#7c8a70}.full-song-tools input{accent-color:var(--orange)}.full-song-tools>.small-print{margin-left:auto;font-family:var(--sans)}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 2px 0;color:#a8b09b;font:8px var(--mono)}.orientation-hint{display:none;align-items:center;gap:9px;background:#efe6d7;border:1px solid #ddceb5;padding:8px 10px;border-radius:6px;margin-bottom:9px;color:#8b7354;font-size:11px}.orientation-hint>span{flex:1}.orientation-hint .small-button{font-size:10px;min-height:34px}.dismiss-button{background:transparent;color:#a18d70;font-size:22px;min-width:28px;min-height:34px}.is-phone-portrait .orientation-hint{display:flex}
@media(max-width:1020px){.page-shell{padding:0 18px 14px}.control-row{gap:12px}.skip-button{min-width:29px}.bar-navigation .small-print{display:none}.song-meta{font-size:9px}.options-content{width:min(690px,calc(100vw - 48px))}.instrument-heading{gap:16px}.performance-readout{gap:10px}}
@media(max-width:620px){.page-shell{padding:0 10px 12px}.app-header{min-height:53px;gap:10px}.song-title{gap:8px}.song-title h1{font-size:24px}.song-meta{display:none}.fullscreen-button{font-size:0;gap:0;min-width:40px;min-height:40px}.fullscreen-button svg{width:18px;height:18px}.difficulty{font-size:8px;padding:3px 5px}.instrument-header{padding:10px 10px 0;gap:8px}.instrument-heading{gap:9px}.instrument-heading h2{display:none}.performance-readout{font-size:9px;gap:9px}.notes-progress{display:none}.board-settings{gap:5px}.quiet-button,.board-settings select{font-size:9px;padding:5px 6px;min-height:34px}.instrument-footer{padding:0 10px 9px;gap:8px}.board-legend{gap:8px;font-size:8px}.board-legend>span{gap:3px}.note-chip{padding:3px 5px;font-size:9px}.note-chip>span{display:none}.notes-empty{font-size:9px}#fretboard{padding:0 5px}.transport{margin-top:8px;padding:10px 10px 7px}.control-row{gap:8px}.primary-controls{gap:3px}.play-button{min-height:44px;min-width:124px;padding:8px 12px;font-size:11px}.icon-button{min-width:40px;min-height:44px}.skip-button{display:none}.speed-control{margin-left:auto;gap:5px}.control-label{font-size:9px}.transport select{min-height:39px}.bar-navigation{margin-left:0;flex:1;justify-content:flex-end}.bar-navigation>label{font-size:10px}.bar-navigation .icon-button{min-width:33px;min-height:40px}.bar-navigation .small-button{min-height:40px}.transport input[type=number]{min-height:39px;width:48px;padding:5px}.scrubber-row{gap:8px;margin-top:8px}.time-label{font-size:9px;min-width:26px}.practice-row{gap:6px;margin-top:7px}.step-controls{gap:4px}.step-controls>label{font-size:10px;gap:5px}.step-controls .small-button{min-height:40px;font-size:9px;padding:6px 8px}.loop-button{margin-left:auto;min-height:40px;padding:6px 8px;font-size:9px}.practice-row #status{margin-left:0}.total-count{margin-left:auto}.control-foot{padding-top:5px;gap:10px;align-items:flex-start}.control-foot>#practice-position{font-size:8px;max-width:80%}.options-panel>summary{min-height:25px;padding-left:5px;font-size:9px}.options-content{position:static;width:auto;grid-template-columns:1fr;gap:15px;margin-top:7px;padding:12px;box-shadow:none}.options-panel[open]{width:100%}.control-foot:has(.options-panel[open]){flex-wrap:wrap}.control-foot:has(.options-panel[open])>#practice-position{max-width:100%}.audio-settings{border-left:0;border-top:1px solid var(--line);padding:12px 0 0}.volume-control{max-width:220px}.loop-range-fields{gap:6px}.loop-range-fields>label{font-size:9px}.loop-range-fields .small-button{min-height:39px}.sync-content input{width:68px!important}.phrase-panel,.full-song-panel{margin-top:10px;padding:12px 10px}.section-heading h2{font-size:19px}.section-heading>.small-print{font-size:8px}.full-song-tools{gap:9px}.full-song-tools>.small-print{margin:0;flex:1 0 100%;font-size:9px}.site-footer{font-size:7px;padding-top:12px}.site-footer>span:last-child{display:none}}
@media(max-width:1100px) and (max-height:600px) and (orientation:landscape){.page-shell{padding:0 max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.app-header{min-height:34px}.song-title h1{font-size:22px}.song-meta{font-size:8px}.fullscreen-button{min-height:30px;font-size:9px}.instrument-panel{border-radius:7px}.instrument-header{padding:3px 12px 0;min-height:26px}.instrument-heading h2{display:none}.board-settings .quiet-button,.board-settings select{min-height:26px;padding:3px 7px;font-size:9px}.performance-readout{font-size:9px}.instrument-footer{padding:0 12px 2px;min-height:18px}.board-legend{font-size:8px}.note-chip{font-size:8px;padding:2px 5px}.note-chip>span{display:none}#fretboard{padding:0 8px}#fretboard svg{height:auto;max-height:none}.transport{margin-top:7px;padding:7px 11px 6px}.control-row{gap:12px;flex-wrap:nowrap}.play-button{min-height:44px;min-width:123px;font-size:11px;padding:7px 12px}.icon-button{min-width:34px;min-height:38px}.skip-button{display:none}.speed-control{font-size:9px}.speed-control select,.transport input[type=number]{min-height:33px}.bar-navigation{margin-left:auto;flex:none}.bar-navigation .small-print{display:none}.bar-navigation .icon-button{min-height:36px;min-width:30px}.bar-navigation .small-button{min-height:33px}.scrubber-row{margin-top:3px}.practice-row{margin-top:3px;gap:8px}.step-controls select,.step-controls .small-button,.loop-button{min-height:44px;font-size:9px}.step-controls>label{font-size:9px}.control-foot{padding-top:2px;min-height:17px}.control-foot>#practice-position{font-size:8px}.options-panel>summary{min-height:17px;font-size:9px}.total-count{display:none}.phrase-panel,.full-song-panel{margin-top:10px}.options-content{position:absolute;width:min(690px,calc(100vw - 42px));grid-template-columns:1.6fr 1fr}.audio-settings{border-top:0;border-left:1px solid var(--line);padding:0 0 0 15px}.site-footer{display:none}.orientation-hint{display:none!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.is-phone-landscape .transport{position:relative}.is-phone-landscape .control-foot{position:absolute;right:10px;bottom:6px;min-height:0;padding:0}.is-phone-landscape .control-foot>#practice-position{display:none}.is-phone-landscape .options-panel>summary{min-height:44px;min-width:54px;justify-content:flex-end;padding:0}.is-phone-landscape .practice-row #status{margin-right:62px}.is-phone-landscape .options-content{top:100%}
