.brand-symbol{font-size:35px;letter-spacing:-2.4px}.mobile-brand{font-size:25px;letter-spacing:-1.7px}.footer-logo{letter-spacing:-1.2px}#chords-used{padding:18px 20px;background:var(--paper);border:1px solid var(--border);border-radius:9px;margin-bottom:17px}.chords-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.chords-heading strong{font-size:11px;font-weight:500}.chords-heading strong>span{font-size:9px;color:var(--muted);margin-left:6px}.chords-heading>small{font-size:9px;color:var(--muted)}.chord-chip-list{display:flex;gap:8px;flex-wrap:wrap}.chord-chip-list button{border:1px solid #d9e2c9;background:#edf2e2;border-radius:5px;font:500 12px 'DM Sans',sans-serif;min-width:39px;min-height:34px;padding:7px 11px;color:#577343}.chord-chip-list button:hover{background:#dce8c7;border-color:#aabf8e}#chord-dialog{width:280px;max-width:calc(100vw - 32px);padding:24px;border:1px solid var(--border);border-radius:12px;color:var(--ink);background:var(--paper);text-align:center;box-shadow:0 16px 60px #20362630}#chord-dialog::backdrop{background:#192f2470;backdrop-filter:blur(3px)}#chord-dialog>.eyebrow{font-size:7px;justify-content:center;margin-top:12px}#chord-dialog h2{font:600 28px 'DM Sans',sans-serif;margin:13px 0 2px}#chord-dialog-close{position:absolute;right:9px;top:7px;width:31px;height:31px;display:grid;place-items:center;color:var(--muted)}#chord-dialog-close .ui-icon{width:18px;height:18px}.guitar-diagram{width:175px;max-width:100%;height:191px;color:#839274;stroke:currentColor;stroke-width:1;overflow:visible}.guitar-diagram text{font:12px 'DM Sans',sans-serif;fill:var(--muted);stroke:none}.guitar-diagram .string-name{font-size:9px}.guitar-diagram .fret-label{font-size:10px}.guitar-diagram .finger-dot{fill:#66884e;stroke:none}.fret-values{font:10px 'DM Sans',sans-serif;color:var(--muted);letter-spacing:1px;margin:0 0 13px}.chord-legend{font-size:9px;line-height:2.2;color:var(--muted);margin:0}.chord-unavailable{font-size:11px;line-height:2.4;padding:35px 0;color:var(--muted)}#focus-exit{position:fixed;right:20px;top:15px;z-index:90;background:#2e553e;border:1px solid #66805a;color:#f5f6e9;box-shadow:0 3px 15px #152d2420;font-size:10px;padding:11px 15px;border-radius:7px}body.focus-mode .sidebar,body.focus-mode header,body.focus-mode .reader-media,body.focus-mode .reader-source{display:none}body.focus-mode .app-shell{margin:0;padding:0}body.focus-mode #reader-view{max-width:1050px;padding-top:35px}body.focus-mode .reader-top{padding-right:150px}body.focus-mode .reader-favorite{display:none}body.focus-mode .reader-tools{top:10px}body.focus-mode .song-sheet{line-height:2.4}body.focus-mode #sheet{scroll-margin-top:220px}body.dark .chord-chip-list button{background:#36482e;border-color:#485f3a;color:#c0d4aa}
@media(min-width:601px) and (max-width:850px){.brand-symbol{font-size:15px;letter-spacing:-.9px}}
@media(max-width:600px){#chords-used{padding:15px}.chords-heading{align-items:flex-start;flex-direction:column;gap:5px}.chords-heading strong{font-size:10px}.chords-heading>small{font-size:8px}.chord-chip-list{gap:7px}.chord-chip-list button{font-size:11px;min-width:37px;min-height:35px;padding:7px 10px}body.focus-mode #reader-view{padding:28px 16px 0}body.focus-mode .reader-top{padding-right:110px}#focus-exit{top:11px;right:12px;font-size:9px;padding:10px}body.focus-mode .reader-tools{top:0}body.focus-mode #sheet{scroll-margin-top:285px}}
@media print{#chords-used,#chord-dialog,#focus-exit,#focus-toggle{display:none!important}}

/* Chords in the sheet are usable by mouse, touch and keyboard. */
.song-sheet button.chord{font:inherit;font-size:.72em;color:#5a7844;display:block;border:0;border-bottom:0;background:transparent;padding:0 2px;cursor:pointer;line-height:inherit;text-align:left;border-radius:3px}
.song-sheet button.chord:hover,.song-sheet button.chord:focus-visible{background:#dce8c7;color:#314c25;outline:2px solid #8aa46e;outline-offset:2px}
#chord-dialog:not(:modal){position:fixed;inset:auto 20px 20px auto;margin:0;z-index:120;max-height:calc(100dvh - 40px);overflow:auto}
#chord-variant-total{font-size:12px;color:var(--muted);margin:8px 0}
#chord-variants{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 0 12px;font:13px 'DM Sans',sans-serif}
#chord-variants[hidden]{display:none}
#chord-variants button{border:1px solid var(--border);border-radius:6px;width:40px;height:36px;background:var(--paper);color:var(--ink);cursor:pointer}
#chord-variants button:disabled{opacity:.3;cursor:default}
@media(max-width:600px){#chord-dialog:not(:modal){right:12px;bottom:12px}}
@media print{.song-sheet button.chord{border:0;padding:0}}

body.dark .song-sheet button.chord{color:#b0ce8a}

/* Compact reference card beside the selected chord. */
#chord-dialog:not(:modal){inset:auto;margin:0;width:260px;padding:18px 22px;max-height:calc(100dvh - 24px);border-radius:2px;background:#fff;color:#171717;box-shadow:0 12px 32px #0003;border:1px solid #d6d6dc;text-align:center}
#chord-dialog>.eyebrow,#chord-variant-total{display:none}
#chord-dialog h2{font:600 25px 'DM Sans',sans-serif;margin:10px 0 5px}
#chord-dialog .guitar-diagram{color:#242424;width:155px;height:169px}
#chord-dialog .guitar-diagram .finger-dot{fill:#242424}
#chord-dialog .guitar-diagram .finger-number{fill:white;font:600 13px 'DM Sans',sans-serif}
#chord-dialog .guitar-diagram text{fill:#292929}
#chord-dialog .guitar-diagram .finger-number{fill:white}
#chord-dialog .fret-values{display:none}
#chord-variants{gap:8px;font-size:20px;margin:5px 0 12px;color:#62626a}
#chord-variants button{border:0;background:transparent;color:#171717;font-size:28px;height:36px;width:36px}
#chord-play{display:block;margin:0 auto 12px;background:#ebebef;border-radius:40px;padding:11px 28px;font:500 23px 'DM Sans',sans-serif;color:#171717}
#chord-play:disabled{display:none}
#chord-dialog .chord-legend{font-size:9px;color:#666;line-height:1.9}

/* Small hover reference: keep the song visible around it. */
#chord-dialog:not(:modal){width:176px;padding:10px 12px 12px;box-shadow:0 6px 20px #0002}
#chord-dialog h2{font-size:19px;margin:4px 0 0}
#chord-dialog .guitar-diagram{width:120px;height:131px}
#chord-dialog-close{width:22px;height:22px;top:3px;right:3px}
#chord-dialog-close .ui-icon{width:13px;height:13px}
#chord-variants{gap:3px;font-size:14px;margin:0 0 5px}
#chord-variants button{width:27px;height:27px;font-size:21px}
#chord-play{font-size:16px;padding:7px 20px;margin:2px auto 0}
#chord-dialog .chord-legend{display:none}

/* Chord labels sit just above their words, without underlines. */
.song-sheet .lyric-unit{align-items:flex-start}
.song-sheet button.chord{display:inline-block;align-self:flex-start;width:auto;min-width:0;min-height:0;border:0!important;background:#eeefed;border-radius:3px;padding:1px 4px;margin:0 1px 1px 0;font:600 .8em/1.35 'DM Sans',sans-serif;color:#26312a;white-space:nowrap;text-decoration:none}
.song-sheet button.chord:hover,.song-sheet button.chord:focus-visible{background:#dce7ce;outline:0;box-shadow:0 0 0 2px #9eaf8b}
.song-sheet .lyric-text{line-height:1.8}
.song-sheet .sheet-line{margin-bottom:10px}
.song-sheet .chord:empty{min-height:1.35em}
body.dark .song-sheet button.chord{background:#3a483d;color:#e4e8d9}
@media print{.song-sheet button.chord{background:none;box-shadow:none}}
