/* Chord chart pages (IBC R6). Generated by tool/make-chart-pages.mjs in the Irish Bouzouki
   Chords repo: edit that, not this. Bog Oak tokens and box rules come from the app's app.css. */
@font-face { font-family: "PT Accidentals"; src: url("pt-accidentals.woff2") format("woff2"); unicode-range: U+266D-266F; font-display: block; }
:root {
  --bg: #121b17; --surface: #1b2722; --surface-2: #233229; --line: #33463d;
  --text: #f1e8d6; --text-2: #b8ad98; --text-3: #a09783;
  --accent: #e3a83f; --accent-soft: rgba(227, 168, 63, .15); --accent-line: rgba(227, 168, 63, .4); --on-accent: #1a1408;
  --dot: #f1e8d6; --dot-text: #121b17; --root: #e3a83f; --root-text: #1a1408;
  --wire: #6b8275; --nut: #f1e8d6; --string: #c9bda5;
  --tabs-bg: rgba(18, 27, 23, .96);
  --serif: "PT Accidentals", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "PT Accidentals", -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px); --safe-right: env(safe-area-inset-right, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); }
a { color: var(--accent); }
main, .crumbs, footer { max-width: 720px; margin: 0 auto; padding: 0 18px; }
.crumbs { padding-top: 16px; font-size: 14px; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; display: inline-block; padding: 6px 0; }
.crumbs a:hover { color: var(--accent); }
h1 { font: 400 34px/1.15 var(--serif); margin: 14px 0 6px; }
h1 small { display: block; font: italic 400 19px var(--serif); color: var(--text-2); margin-top: 6px; }
h2 { font: 400 23px/1.2 var(--serif); color: var(--text); margin: 34px 0 12px; }
h3 { font: 400 22px var(--serif); margin: 22px 0 8px; }
figure { margin: 18px 0 8px; }
figure img { display: block; width: 100%; max-width: 480px; height: auto; border-radius: 16px; border: 1px solid var(--line); }
figcaption { color: var(--text-2); font-size: 14px; margin-top: 8px; max-width: 480px; }
.facts { background: var(--surface); border-radius: 16px; padding: 14px 18px; }
.facts p { margin: 6px 0; }
.facts b { color: var(--text); }
ol.hand { margin: 6px 0 4px; padding-left: 22px; }
ol.hand li { margin: 2px 0; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .06em; font-weight: 600; }
.cta { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; margin: 18px 0 4px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.note { color: var(--text-3); font-size: 14px; margin: 6px 0; }
.shapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.shapes li { background: var(--surface); border-radius: 16px; padding: 12px 8px 10px; text-align: center; font-size: 14px; color: var(--text-2); }
.shapes svg { display: block; margin: 0 auto 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); color: var(--text); text-decoration: none; font: 400 18px var(--serif); }
.chips a:hover { background: var(--surface-2); color: var(--accent); }
.chips span { background: var(--accent); color: var(--on-accent); }
.group { margin: 6px 0 18px; }
.row { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.row > b { flex: none; width: 44px; font: 400 24px var(--serif); color: var(--text); }
.row .chips a { font-size: 17px; min-height: 40px; }
footer { margin-top: 44px; padding-bottom: 40px; color: var(--text-3); font-size: 14px; }
footer a { color: var(--text-2); }
.row > b.wide { width: 104px; font-size: 18px; }
h2 a { color: var(--text); text-decoration: none; }
h2 a:hover { color: var(--accent); }
ul.uses { padding-left: 20px; }
ul.uses li { margin: 6px 0; }
.shapes li > a { display: block; color: var(--text); text-decoration: none; font: 400 19px var(--serif); margin-bottom: 4px; }
.shapes li > a b { color: var(--text-3); font: 600 13px var(--sans); margin-right: 4px; }
.shapes li.main { box-shadow: inset 0 0 0 1px var(--accent-line); }
.frets-alt { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .04em; }
/* a little A4 preview of a printable chart: a sheet of white paper on the dark page */
.a4s { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 18px 14px; margin: 14px 0 6px; }
.a4 { display: block; color: var(--text); text-decoration: none; font: 400 17px/1.25 var(--serif); text-align: center; }
.a4 img { display: block; width: 100%; height: auto; margin-bottom: 8px; background: #fff; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 16px rgba(0, 0, 0, .35); }
.a4:hover { color: var(--accent); }
.a4:hover img { box-shadow: 0 0 0 2px var(--accent), 0 6px 16px rgba(0, 0, 0, .35); }
.printit { display: flex; align-items: center; gap: 16px; margin: 12px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.printit .a4 { flex: none; width: 84px; }
.printit .a4 img { margin: 0; }
.printit p { margin: 0; }
.bx { display: block; overflow: visible; }
.bx:focus, .bx:focus-visible { outline: none; }
.bx text { font-family: var(--sans); text-anchor: middle; dominant-baseline: middle; }
.bx-fret { stroke: var(--wire); stroke-width: 1.2; }
.bx-nut { stroke: var(--nut); stroke-width: 4; stroke-linecap: round; }
.bx-str { stroke: var(--string); stroke-width: 1; }
.bx-open { fill: none; stroke: var(--text-2); stroke-width: 1.4; }
.bx-mute { stroke: var(--text-3); stroke-width: 1.4; }
.bx-dot { fill: var(--dot); }
.bx-dot.is-root { fill: var(--root); }
.bx-fn { fill: var(--dot-text); font-size: 10px; font-weight: 700; }
.bx-fn.is-root { fill: var(--root-text); }
.bx-barre { fill: var(--dot); opacity: .55; }
.bx-note { fill: var(--text-2); font-size: 10px; }
.bx .bx-pos { fill: var(--accent); font-size: 12px; font-weight: 700; text-anchor: end; }
.bx-mini .bx-pos { font-size: 11px; }
.bx-note.is-root { fill: var(--accent); font-weight: 700; }
.bx .bx-capo, .bx-mini .bx-capo { stroke: var(--accent); stroke-width: 5; }
