.chord-chart-chordpic{--chord-cell-size: clamp(54px, calc((100vw - 8rem) / var(--chord-strings, 6)), 80px);--chord-fret-col-size: 2.25rem;--chord-line: 2px;--chord-string-line: 2px;--chord-nut-height: 10px;--chord-barre-thickness: calc(var(--chord-cell-size) * .62)}.chord-chart.chord-chart-chordpic{background:var(--color-bg-surface);border:2px solid var(--color-border-strong);border-radius:6px;padding:1.25rem;box-shadow:0 0 0 1px var(--color-border-strong);width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;overflow-x:auto;box-sizing:border-box}.chord-chart-inner{display:flex;flex-direction:column;align-items:center;width:fit-content;margin:0 auto}.chord-chart-string-labels{display:grid;grid-template-columns:repeat(var(--chord-strings, 6),var(--chord-cell-size));gap:0;margin-bottom:.35rem;width:fit-content}.chord-chart-string-labels.chord-chart-has-fret-col{grid-template-columns:var(--chord-fret-col-size) repeat(var(--chord-strings, 6),var(--chord-cell-size))}.chord-chart-string-label.chord-chart-empty{visibility:hidden}.chord-chart-string-label{text-align:center;font-size:min(clamp(.875rem,2vw,1.0625rem),calc(var(--chord-cell-size, 100vw) * .68));font-weight:700;color:var(--color-text-secondary)}.chord-chart-nut-symbols{display:grid;grid-template-columns:repeat(var(--chord-strings, 6),var(--chord-cell-size));gap:0;width:fit-content;margin-bottom:0}.chord-chart-nut-symbols.chord-chart-has-fret-col{grid-template-columns:var(--chord-fret-col-size) repeat(var(--chord-strings, 6),var(--chord-cell-size))}.chord-chart-nut-symbol{height:1.625rem;display:flex;align-items:center;justify-content:center;font-size:clamp(1.0625rem,2.4vw,1.5rem);font-weight:700;color:var(--color-text-secondary)}.chord-chart-nut-symbol.chord-chart-mute{color:var(--color-accent)}.chord-chart-nut-symbol.chord-chart-open{color:var(--color-text-primary)}.chord-chart-nut-symbol.chord-chart-offchart{font-size:clamp(.875rem,2vw,1.0625rem)}.chord-chart-nut-symbol.chord-chart-empty{visibility:hidden}.chord-chart-nut-bar{width:100%;max-width:calc(var(--chord-strings, 6) * var(--chord-cell-size));height:var(--chord-nut-height);background:linear-gradient(180deg,var(--color-text-secondary) 0%,var(--color-border-strong) 100%);border-radius:2px;margin-bottom:0;flex-shrink:0}.chord-chart-has-fret-col+.chord-chart-nut-bar{max-width:calc(var(--chord-strings, 6) * var(--chord-cell-size));margin-left:var(--chord-fret-col-size)}.chord-chart-grid{display:flex;flex-direction:column;gap:0;width:fit-content;margin-top:0;position:relative}.chord-chart-grid:before{content:"";position:absolute;top:0;bottom:0;left:0;width:calc(var(--chord-strings, 6) * var(--chord-cell-size));background:linear-gradient(to right,transparent calc(50% - (var(--chord-string-line) / 2)),var(--color-border-strong) calc(50% - (var(--chord-string-line) / 2)),var(--color-border-strong) calc(50% + (var(--chord-string-line) / 2)),transparent calc(50% + (var(--chord-string-line) / 2))) 0 0 / var(--chord-cell-size) 100% repeat-x,var(--color-bg-page);pointer-events:none}.chord-chart-grid--has-fret-col:before{left:var(--chord-fret-col-size)}.chord-chart-grid--no-nut .chord-chart-row:first-child .chord-chart-cell{border-top:var(--chord-line) solid var(--color-border-strong)}.chord-chart-row{display:grid;grid-template-columns:repeat(var(--chord-strings, 6),var(--chord-cell-size));gap:0;align-items:stretch;position:relative;z-index:1}.chord-chart-row--has-fret-col{grid-template-columns:var(--chord-fret-col-size) repeat(var(--chord-strings, 6),var(--chord-cell-size))}.chord-chart-fret-num{display:flex;align-items:center;justify-content:center;font-size:clamp(.875rem,2vw,1.0625rem);font-weight:700;color:var(--color-accent)}.chord-chart-cell{width:var(--chord-cell-size);height:var(--chord-cell-size);min-width:var(--chord-cell-size);min-height:var(--chord-cell-size);display:flex;align-items:center;justify-content:center;border-bottom:var(--chord-line) solid var(--color-border-strong);background:transparent;box-sizing:border-box;position:relative;z-index:1}.chord-chart-barre{position:absolute;top:50%;z-index:0;transform:translateY(-50%);height:var(--chord-barre-thickness);left:calc((var(--barre-from) + .5) * var(--chord-cell-size) - (var(--chord-barre-thickness) / 2));width:calc((var(--barre-to) - var(--barre-from)) * var(--chord-cell-size) + var(--chord-barre-thickness));background:var(--color-accent);border-radius:999px;box-shadow:0 0 12px var(--color-accent-glow);pointer-events:none}.chord-chart-row--has-fret-col .chord-chart-barre{left:calc(var(--chord-fret-col-size) + (var(--barre-from) + .5) * var(--chord-cell-size) - (var(--chord-barre-thickness) / 2))}.chord-chart-dot{width:72%;height:72%;min-width:min(26px,calc(var(--chord-cell-size) * .8));min-height:min(26px,calc(var(--chord-cell-size) * .8));border-radius:50%;background:var(--color-accent-fill);box-shadow:0 0 0 2px var(--color-bg-page),0 0 12px var(--color-accent-glow);flex-shrink:0;display:flex;align-items:center;justify-content:center}.chord-chart-dot-label{--chord-dot-label-size: clamp(.8125rem, 2.1vw, 1.125rem);font-family:var(--font-body);font-size:clamp(min(8px,var(--chord-dot-label-size)),calc(var(--chord-cell-size, 100vw) * .5),var(--chord-dot-label-size));font-weight:700;color:var(--color-text-on-accent);line-height:1;text-align:center}.chord-chart-dot-label--wide{font-size:clamp(min(7px,calc(var(--chord-dot-label-size) * 5 / 6)),calc(var(--chord-cell-size, 100vw) * .37),calc(var(--chord-dot-label-size) * 5 / 6))}.chord-chart-nut-name{font-size:max(min(7px,1em),min(1em,calc(var(--chord-cell-size, 100vw) * .65)))}.chord-chart-nut-name--wide{font-size:max(min(7px,1em),min(1em,calc(var(--chord-cell-size, 100vw) * .45)))}.chord-chart-dot-root{background:var(--color-text-primary);color:var(--color-bg-page);box-shadow:0 0 0 2px var(--color-bg-page),0 0 16px var(--shadow-glow-light)}.chord-chart-dot-root.chord-chart-dot-label{color:var(--color-bg-page)}.chord-chart-nut-symbol.chord-chart-root{color:var(--color-text-primary);font-weight:700;text-shadow:0 0 8px var(--shadow-glow-light-strong)}@media(max-width:480px){.chord-chart-chordpic{--chord-cell-size: clamp(30px, calc((100vw - 7rem) / var(--chord-strings, 6)), 56px);--chord-fret-col-size: 1.75rem}}.chord-chart-changes{margin-bottom:.35rem;text-align:center;font-size:.8125rem;font-weight:700;color:var(--color-text-primary)}.chord-chart-changes-none{color:var(--color-text-secondary)}.chord-chart-string-label-moved{color:var(--color-text-primary);text-decoration:underline;text-underline-offset:.2em}.chord-chart-change-marks{display:grid;grid-template-columns:repeat(var(--chord-strings, 6),var(--chord-cell-size));width:fit-content;margin-bottom:.2rem}.chord-chart-change-marks.chord-chart-has-fret-col{grid-template-columns:var(--chord-fret-col-size) repeat(var(--chord-strings, 6),var(--chord-cell-size))}.chord-chart-change-mark{min-height:1.1em;text-align:center;font-size:.75rem;font-weight:700;color:var(--color-text-secondary)}.chord-chart-change-raise,.chord-chart-change-lower{color:var(--color-text-primary)}.chord-chart-change-mark.chord-chart-empty{visibility:hidden}
