:root{--bg:#fafaf9;--surface:#fff;--text:#1c1917;--muted:#78716c;--border:#e7e5e4;--chord:#b45309;--accent:#d97706;--highlight:#fef3c7;--strum:#2563eb;--tag-bg:#f5f5f4;--sheet-font-size:20px;--toolbar-height:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#1c1917;--surface:#292524;--text:#f5f5f4;--muted:#a8a29e;--border:#44403c;--chord:#fbbf24;--accent:#f59e0b;--highlight:#f59e0b29;--strum:#60a5fa;--tag-bg:#292524;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#1c1917;--surface:#292524;--text:#f5f5f4;--muted:#a8a29e;--border:#44403c;--chord:#fbbf24;--accent:#f59e0b;--highlight:#f59e0b29;--strum:#60a5fa;--tag-bg:#292524;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);touch-action:manipulation;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}#app{max-width:960px;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left));margin:0 auto}a{color:inherit}button,.tool{font:inherit;color:inherit}.list-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.list-header h1{margin:8px 0;font-size:2rem}.ghost{border:1px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;padding:8px 14px}.search{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:12px;margin:12px 0;padding:14px 16px;font-size:1.1rem}.song-list{margin:0;padding:0;list-style:none}.song-list a{border-bottom:1px solid var(--border);flex-direction:column;gap:2px;padding:16px 4px;text-decoration:none;display:flex}.song-title{font-size:1.25rem;font-weight:600}.song-meta{color:var(--muted)}.empty{color:var(--muted);text-align:center;padding:32px 0}.song-header h1{font-size:calc(var(--sheet-font-size) * 1.5);margin:8px 0 0}.song-header .song-meta{font-size:var(--sheet-font-size);margin:4px 0 16px}.sheet{font-size:var(--sheet-font-size);padding-bottom:calc(40vh + var(--toolbar-height));-webkit-user-select:none;user-select:none;line-height:1.25}.sheet .title,.sheet .subtitle{display:none}.sheet .paragraph{margin-bottom:1.2em}.sheet .row{flex-wrap:wrap;align-items:flex-start;display:flex}.sheet .column{flex-direction:column;display:flex}.sheet .chord{color:var(--chord);white-space:nowrap;min-height:1.25em;padding-right:.25em;font-weight:700}.sheet .chord.has-strum{color:var(--strum)}.sheet .annotation{min-height:1.25em;color:var(--strum);white-space:nowrap;padding-right:.25em;font-weight:700}.sheet .lyrics{white-space:pre-wrap;min-height:1.25em}.sheet .label,.sheet .comment{color:var(--muted);background:var(--tag-bg);border:1px solid var(--border);border-radius:6px;margin:0 0 .3em;padding:.1em .5em;font-size:.8em;font-weight:700;display:inline-block}.sheet .chorus{border-left:3px solid var(--accent);padding-left:.8em}.sheet .row{border-radius:6px;margin:0 -.3em;padding:.05em .3em;transition:background-color .2s,opacity .3s}.sheet .row:has(.column){cursor:pointer}:root:not([data-marker=off]) .sheet .row.is-current{background:var(--highlight);box-shadow:inset 3px 0 var(--accent)}:root:not([data-marker=off]) .sheet .row.is-past{opacity:.55}:root:not([data-gallery=on]) .gallery{display:none}.gallery{margin-bottom:20px}.gallery-hint{color:var(--muted);margin:0 0 8px;font-size:.85rem}.gallery-cards{flex-wrap:wrap;gap:8px;display:flex}.link-card{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;align-items:center;gap:4px;width:150px;padding:10px;text-decoration:none;display:flex}.qr{border-radius:6px;width:120px;height:120px;display:block;overflow:hidden}.qr svg{width:100%;height:100%;display:block}.link-title{font-weight:700;line-height:1.2}.link-host{color:var(--muted);font-size:.75rem}.chord-strip{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.strum-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:center;gap:20px;width:fit-content;max-width:100%;margin-bottom:20px;padding:8px 18px;display:flex}.strum-title{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.strum-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:600}.strum-name{font-size:1.05rem;font-weight:700}.beats{gap:12px;display:flex}.beat{flex-direction:column;align-items:center;gap:4px;display:flex}.strokes{align-items:center;gap:2px;height:40px;display:flex}.stroke svg{fill:none;width:14px;height:32px;stroke:var(--chord);stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;display:block}.stroke.up svg{transform:rotate(180deg)translateY(4px)}.stroke.down svg{transform:translateY(4px)}.stroke.rest{text-align:center;width:14px;color:var(--muted);font-size:1.4rem;font-weight:700}.beat-number{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.7rem}.chord-strip:empty{display:none}.chord-card{background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;width:100px;padding:6px 4px 2px;display:flex}.chord-name{color:var(--chord);font-weight:700}.chord-name-pt{min-height:1.2em;color:var(--muted);text-align:center;margin:0;font-size:.7rem;line-height:1.2}.chord-card .chord-name-pt{justify-content:center;align-items:flex-end;min-height:2.4em;display:flex}.chord-popover-card .chord-name-pt{font-size:1rem}.chord-card .diagram{justify-content:center;align-items:center;width:100%;min-height:90px;display:flex}.diagram svg{width:100%;height:auto;display:block}.no-diagram{color:var(--muted);font-size:2rem}.sheet .chord:not(:empty){cursor:help}.chord-popover{z-index:10;background:#0000008c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.chord-popover[hidden]{display:none}.chord-popover-card{text-align:center;background:var(--surface);border-radius:16px;width:min(360px,100%);padding:20px 28px 12px}.chord-popover-card h2{color:var(--chord);margin:0 0 8px;font-size:2.2rem}.chord-popover-card .hint,.no-diagram-text{color:var(--muted);font-size:.9rem}.toolbar{min-height:var(--toolbar-height);padding:8px max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));background:var(--surface);border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0}.group{align-items:center;gap:4px;display:flex}.tool{background:var(--tag-bg);border:1px solid var(--border);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;min-width:48px;height:48px;padding:0 10px;font-size:1.2rem;font-weight:600;text-decoration:none;display:inline-flex}.tool svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:22px;height:22px}.tool svg.filled{fill:currentColor;stroke-linejoin:round}.tool.play.active,.tool.marker.active,.tool.gallery-toggle.active{background:var(--accent);border-color:var(--accent);color:#1c1917}.value{font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;min-width:4.5em;font-weight:600;display:flex}.value small{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.7rem;font-weight:500}@media (width<=600px){.tool{min-width:40px;height:44px;padding:0 6px;font-size:1rem}.value{min-width:3.5em;font-size:.85rem}}
