.chord-grids{position:relative;width:100%;min-width:0;overflow:hidden;padding:0 0 4px}.chord-grid-scroll{position:relative;height:240px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c2c7b4 #f1f1e8;touch-action:pan-y}.chord-grid-scroll:focus-visible{outline:2px solid #cb7046;outline-offset:-2px}.chord-grid-canvas{position:relative;width:100%;min-height:140px}.chord-grid-card{position:absolute;width:var(--grid-card-width,76px);height:140px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;border:1px solid #ddded1;border-radius:5px;background:#fbfaf4;padding:3px 4px;color:#626d59;touch-action:manipulation}.chord-grid-card:hover{border-color:#b98e6b;background:#f6f1e6}.chord-grid-card.is-current,.chord-grid-card.is-selected{border-color:#c97949;background:#fff2e1;box-shadow:inset 0 0 0 1px #d9956240}.chord-grid-card:focus-visible{outline:3px solid #cb7046;outline-offset:-3px;z-index:2}.chord-grid-title{font:600 11px/16px 'Segoe UI',Arial,sans-serif;min-height:16px;color:#3f4939;white-space:nowrap}.chord-grid-picture{display:block;width:64px;height:106px;overflow:hidden}.chord-grid-card .legacy-chord-diagram{width:64px;height:112px;margin-top:-7px}.chord-grid-card .legacy-chord-name{display:none}.chord-grid-position{font:8px/12px Consolas,'Courier New',monospace;color:#8a907e;white-space:nowrap}.chord-grid-stem{position:absolute;display:block;width:0;border-left:1px dotted #b3b8a6;pointer-events:none;opacity:.65}.chord-grid-stem:after{content:'';position:absolute;left:-2px;bottom:0;width:4px;height:4px;border-radius:50%;background:#9ba88b}.chord-grid-scroll-hint{display:block;text-align:right;font-size:9px;line-height:14px;color:#909a82;margin-top:3px}.chord-grid-scroll-hint[hidden]{display:none}.chord-grids:empty{display:none}
@media(max-width:620px){.chord-grid-scroll{height:220px}.chord-grid-canvas{min-height:120px}.chord-grid-card{height:120px;padding:2px 3px}.chord-grid-title{font-size:10px;line-height:14px;min-height:14px}.chord-grid-picture{width:54px;height:91px}.chord-grid-card .legacy-chord-diagram{width:54px;height:94.5px;margin-top:-5px}.chord-grid-position{font-size:8px;line-height:10px}.chord-grid-scroll-hint{font-size:8px}}
@media(max-width:1100px) and (max-height:600px) and (orientation:landscape){.chord-grid-scroll{height:180px}.chord-grid-scroll-hint{font-size:8px}}
