
.mp { max-width: 1000px; margin: 0 auto; padding: 18px 16px 24px; }
.mp h1 { order: 0; margin: 0 0 6px; font-size: 28px; line-height: 1.25; letter-spacing: 1px; color: var(--text); background: none; -webkit-text-fill-color: currentColor; overflow-wrap: anywhere; }
.mp .lead { margin: 0 0 12px; color: var(--muted); }
#now { position: sticky; top: 0; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 8px 12px; margin: 0 0 12px; border-radius: 14px; background: var(--panel); border: 1.5px solid var(--line); }
#now span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp section { margin: 0 0 14px; padding: 12px 10px; border-radius: 18px; background: var(--panel); border: 1.5px solid var(--line); border-inline-start: 6px solid var(--c); }
.mp h2.part { margin: 26px 0 6px; font-size: 22px; color: var(--text); }
.mp h3, .mp .mt { margin: 0 4px; font-size: 20px; font-weight: 700; color: var(--text); }
.mp .cont { margin: 0 0 8px; }
.mp h3.ct { margin: 22px 4px 8px; font-size: 22px; }
.mp h4.nt { margin: 14px 4px 8px; font-size: 19px; color: var(--text); }
.mp h5.at { margin: 10px 8px 8px; font-size: 17px; color: var(--text); }
.mp .n, .toc .n { display: inline-block; min-width: 1.4em; margin-inline-start: 6px; padding: 0 6px; border: 1.5px solid currentColor; border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; vertical-align: middle; }
.mp h4 { margin: 10px 0 4px; font-size: 14px; }
.mp .about, .mp .info, .mp .games, .mp .folk, .mp .meta, .mp .dk { margin: 4px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.mp a { color: var(--accent-ink); }
.songs { list-style: none; margin: 8px 0; padding: 0; }
.song { margin: 0 0 6px; }
.mp .row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.mp button { min-height: 44px; padding: 8px 14px; border: 0; border-radius: 22px; background: var(--c, #c2185b); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.mp button.seam, .mp a.sc { background: transparent; color: var(--text); border: 2px solid var(--accent); }
.mp a.sc { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 8px 14px; border-radius: 22px; font-weight: 700; text-decoration: none; }
.mp a.sc:hover, .mp a.sc:focus-visible { background: var(--accent); color: var(--on-accent); }
.mp .nw { font-weight: 400; }
[dir=rtl] .mp .nw, [dir=rtl] .mp .bk { display: inline-block; transform: scaleX(-1); }
.mp .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.mp button.on { outline: 3px solid var(--text); outline-offset: 2px; }
.mp small { font-size: max(12px, .85em); }
.mp button small { font-weight: 400; opacity: 0.92; font-size: 13px; }
#stop { --c: #c2185b; }
.score { margin: 6px -6px 10px; padding: 6px; border-radius: 10px; background: #fff; color: #222; border: 1.5px solid var(--line); }
.score .meta, .score .dk, .score h4 { color: #3a2a40; }
.score img { display: block; width: 100%; max-width: 640px; height: auto; margin: 4px auto; }
@media (min-width: 1000px) { .score img { max-width: 100%; } }
.sp .back { margin: 0 0 6px; }
.sp .back a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.sp h2 { margin: 0 4px 8px; font-size: 20px; color: var(--text); }
.sp h3 { margin: 12px 4px 4px; font-size: 16px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 10px 4px 4px; font-size: 14px; }
.facts dt { font-weight: 700; color: var(--text); }
.facts dd { margin: 0; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 0; } .facts dd { margin: 0 0 8px; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 1px 10px; border-radius: 12px; border: 1.5px solid var(--line); color: var(--text); }
.chords { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 4px; }
.chords li { position: relative; min-width: 0; padding: 18px 6px 6px; border: 1.5px solid var(--line); border-radius: 8px; text-align: center; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.chords .bn { position: absolute; top: 1px; left: 6px; font-size: 12px; font-weight: 400; color: var(--muted); }
.chords .mk { position: absolute; top: 2px; right: 4px; padding: 0 5px; border-radius: 6px; font-size: 12px; line-height: 16px; background: var(--accent); color: var(--on-accent); }
.chords .held { font-weight: 400; color: var(--muted); }
.uses { list-style: none; margin: 6px 0; padding: 0; }
.uses li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 6px; color: var(--muted); font-size: 14px; }
footer .own { margin: 4px auto 0; max-width: 760px; }
.toc { margin: 0 0 12px; padding: 10px 10px 12px; border-radius: 18px; background: var(--panel); border: 1.5px solid var(--line); }
.toc h2 { margin: 0 4px 8px; font-size: 18px; color: var(--text); }
.toc h3 { margin: 12px 4px 6px; font-size: 16px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { box-sizing: border-box; display: flex; align-items: center; min-height: 44px; min-width: 0; padding: 6px 12px; border-radius: 12px; color: var(--text); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.toc a:hover, .toc a:focus-visible { background: var(--accent); color: var(--on-accent); }
.toc .toc-parts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc-parts li { flex: 1 1 auto; }
.toc-parts a { justify-content: center; text-align: center; }
.toc-parts a, .toc summary { border: 2px solid var(--accent); border-radius: 22px; }
.toc summary { box-sizing: border-box; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; font-weight: 700; color: var(--text); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::before { content: '▸'; display: inline-block; }
.toc details[open] > summary::before { content: '▾'; }
[dir=rtl] .toc summary::before { transform: scaleX(-1); }
.toc h3 a { display: inline-flex; padding: 4px; color: var(--accent-ink); text-decoration: underline; }
.toc h4.toc-c { margin: 10px 4px 4px; font-size: 15px; }
.toc h4.toc-c a { display: inline-flex; padding: 4px 10px; text-decoration: underline; text-underline-offset: 4px; }
.toc-g ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.toc-g li a { height: 100%; border: 1.5px solid var(--line); border-inline-start: 5px solid var(--c); font-size: 14px; font-weight: 600; }
html { scroll-padding-top: 76px; }
.mp section:target { box-shadow: 0 0 0 3px var(--c); }
@media (max-width: 759px), (max-height: 500px) { .mp button, .mp a.sc, .sp .back a { min-height: var(--sysmin); min-width: var(--sysmin); }
  .toc a, .toc summary { min-height: var(--sysmin); }
  html { scroll-padding-top: calc(var(--sysmin) + 32px); } }
@media (min-width: 760px) and (min-height: 501px) { @supports selector(::details-content) {
  .toc .toc-parts, .toc summary { display: none; }
  .toc-all::details-content { content-visibility: visible; } }
  .toc h3 { margin: 8px 4px 2px; }
  .toc h3 a, .toc h4.toc-c a { min-height: 32px; }
  .toc-g ul { display: block; columns: 150px; column-gap: 12px; }
  .toc-g li { break-inside: avoid; padding: 1px 0; }
  .toc-g li a { height: auto; min-height: 28px; padding: 2px 8px; border: 0; border-inline-start: 4px solid var(--c); border-radius: 4px; } }
.mp.pick [data-part]:not(.shown), .mp.pick .toc-g:not(.cur), .mp.pick .toc summary, .mp.pick .toc-g h3 { display: none; }
.mp.pick .toc .toc-parts { display: flex; margin: 0 0 10px; }
.mp.pick .toc-parts a[aria-current] { background: var(--accent); color: var(--on-accent); }
.mp.pick .toc-g li a[aria-current] { background: var(--c); color: #fff; }
.mp.pick .toc h4.toc-c a[aria-current] { background: var(--accent); color: var(--on-accent); }
.mp.pick section:target { box-shadow: none; }
.mp.pick section:focus, .mp.pick [data-wrap]:focus { outline: none; }
.mp.pick section:focus-visible, .mp.pick [data-wrap]:focus-visible { outline: 3px solid var(--c, var(--accent)); outline-offset: 2px; }
@media (max-width: 759px), (max-height: 500px) { .mp.pick .toc-g ul { display: flex; flex-wrap: wrap; gap: 6px; } .mp.pick .toc-g li { flex: 1 1 auto; } }
