/* freemanfound.com artist links (Spotify + Apple Music) for the three music pages.
   Uses each page's own color tokens, so it follows the page's light/dark theme. */
.listen-alinks { white-space: nowrap; font-size: .8em; font-weight: 500; margin-left: .45em; }
.listen-alinks.listen-block { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; font-size: 14px; white-space: normal; }
.listen-alinks.listen-block .listen-sep { display: none; }
.listen-alinks.listen-block .listen-alink {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line, #e2ded3); color: var(--ink, #1f1e1c); font-weight: 600;
}
.listen-alinks.listen-block .listen-alink:hover { border-color: var(--accent, #2c6e52); color: var(--accent, #2c6e52); }
.listen-alink { color: var(--muted, #6b675f); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.listen-alink:hover { color: var(--accent, #2c6e52); }
.listen-sep { margin: 0 .3em; color: var(--muted, #6b675f); }
/* "Tickets · Spotify · Apple Music": the page's own link style; the pair never splits across lines */
.listen-inline { white-space: normal; }
.listen-inline a { white-space: normal; }
.listen-alink:focus-visible, .listen-tap:focus-visible { outline: 3px solid var(--accent, #2c6e52); outline-offset: 2px; border-radius: 4px; }
/* dense lists and charts: tap a name or song for a small menu */
.listen-tap { cursor: pointer; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.listen-tap:hover { color: var(--accent, #2c6e52); }
text.listen-tap:hover, text.listen-tap:focus-visible { fill: var(--accent, #2c6e52); }
text.listen-tap:focus { outline: none; }
.listen-menu {
  position: absolute; z-index: 70; padding: 10px 12px; max-width: calc(100vw - 16px);
  background: var(--surface, #fff); color: var(--ink, #1f1e1c);
  border: 1px solid var(--line, #e2ded3); border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.10), 0 18px 48px rgba(0,0,0,.16);
  font: 14px/1.4 var(--font, "Inter", ui-sans-serif, -apple-system, "Segoe UI", sans-serif);
}
.listen-menu-t { margin: 0 0 6px; font-weight: 600; }
.listen-menu-links { display: flex; flex-wrap: wrap; gap: 8px; }
.listen-menu-links .listen-sep { display: none; }
.listen-menu-links .listen-alink {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line, #e2ded3); color: var(--ink, #1f1e1c); font-weight: 600; text-decoration: none;
}
.listen-menu-links .listen-alink:hover { border-color: var(--accent, #2c6e52); color: var(--accent, #2c6e52); }
.listen-panel { margin: 0 0 8px; font-size: 14px; }
/* setlist rows: the name opens the setlist, this small note opens the listen menu */
.listen-note { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; margin-left: 2px;
  text-decoration: none; color: var(--muted, #6b675f); font-size: .95em; vertical-align: middle; border-radius: 999px; }
.listen-note:hover { color: var(--accent, #2c6e52); }
/* narrow phones and large text: the link pair drops to its own line instead of running off the card */
.listen-alinks:not(.listen-block) { white-space: normal; display: inline-block; max-width: 100%; }
.listen-alinks .listen-alink { white-space: nowrap; }
:has(> .listen-alinks), :has(> .listen-inline) { overflow-wrap: break-word; }
/* names inside sentences: same tap, lighter mark so text doesn't read as a glossary */
.listen-tap.listen-quiet { text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.listen-remember { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--muted, #6b675f); cursor: pointer; }
.listen-remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent, #2c6e52); }
.listen-pref { margin: 24px 0 8px; font-size: 13px; color: var(--muted, #6b675f); }
.listen-pref button { font: inherit; color: var(--accent, #2c6e52); background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; min-height: 32px; }
/* "Not on Spotify" / "Not on Apple Music": no dead link, a quiet note that jumps to Artist reach */
.listen-missing { color: var(--muted, #6b675f); font-style: italic; text-decoration: underline dotted; text-underline-offset: 2px; white-space: nowrap; }
.listen-menu-links .listen-missing, .listen-alinks.listen-block .listen-missing { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; }
/* Artist reach section (Music, Mapped) */
#artist-reach .reach-card { margin-top: 20px; }
.reach-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px; padding: 0; font-size: 13px; color: var(--ink, #1f1e1c); }
.reach-legend li { display: inline-flex; align-items: center; gap: 6px; }
.reach-sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.reach-c0 { background: var(--accent, #2c6e52); }
.reach-c1 { background: color-mix(in srgb, var(--accent, #2c6e52) 45%, var(--surface, #fff)); }
.reach-c2 { background: color-mix(in srgb, var(--muted, #6b675f) 35%, var(--surface, #fff)); }
.reach-c3 { background: #c0533f; }
.reach-rows { width: 100%; border-collapse: collapse; }
.reach-cap { text-align: left; font-size: 13px; color: var(--muted, #6b675f); padding-bottom: 6px; }
.reach-rows th { text-align: left; font-weight: 600; font-size: 14px; padding: 8px 12px 0 0; white-space: nowrap; vertical-align: top; width: 1%; }
.reach-rows td { padding: 8px 0 0; }
.reach-bar { display: flex; height: 18px; border-radius: 4px; overflow: hidden; background: var(--line, #e2ded3); }
.reach-bar span { display: block; height: 100%; }
.reach-val { display: block; font-size: 12px; color: var(--muted, #6b675f); margin-top: 4px; }
.reach-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted, #6b675f); margin: 8px 0 0; border-top: 1px solid var(--line, #e2ded3); padding-top: 4px; }
.reach-axis-t { font-size: 12px; color: var(--muted, #6b675f); text-align: center; margin: 2px 0 0; }
.reach-note { font-size: 13px; margin: 12px 0 0; }
#artist-reach .reach-h3 { margin: 28px 0 12px; font-size: 18px; font-weight: 600; text-transform: none; letter-spacing: normal; color: var(--ink, #1f1e1c); }
.reach-spots { margin-top: 0; }
.reach-name { font-weight: 600; margin: 0; }
.reach-miss { margin: 4px 0 0; font-size: 13px; color: #c0533f; }
.reach-why { margin: 6px 0 0; font-size: 13px; }
.reach-links { margin: 10px 0 0; font-size: 14px; }
.reach-links a { color: var(--accent, #2c6e52); }
.reach-list { margin-top: 16px; }
.reach-list summary { cursor: pointer; font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.reach-list ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; columns: 2 260px; }
/* label above each bar, so long labels never squeeze the bars */
.reach-rows, .reach-rows tbody, .reach-rows tr, .reach-rows th, .reach-rows td { display: block; width: auto; }
.reach-rows th { padding: 12px 0 4px; white-space: normal; }
.reach-rows td { padding: 0; }
.reach-rows tr[aria-hidden] th { display: none; }
.reach-rows .reach-cap { display: block; width: auto; }
/* dark mode: the red needs more light to reach 4.5:1 on dark surfaces */
:root[data-theme="dark"] .reach-miss { color: #e8846f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .reach-miss { color: #e8846f; } }
/* Artist reach v2.5: grouped list of the music the apps couldn't find */
.reach-grp { border-top: 1px solid var(--line, #e2ded3); padding: 10px 0 4px; }
.reach-grp > summary { cursor: pointer; font-size: 17px; font-weight: 600; padding: 6px 0; min-height: 24px; }
.reach-blurb { margin: 2px 0 8px; font-size: 14px; max-width: 62ch; }
.reach-items { list-style: none; margin: 0; padding: 0; }
.reach-row { padding: 8px 0; border-bottom: 1px dashed var(--line, #e2ded3); overflow-wrap: anywhere; }
.reach-row:last-child { border-bottom: 0; }
.reach-row p { margin: 0; }
.reach-what { font-size: 15px; }
.reach-t { font-weight: 600; }
.reach-by { color: var(--muted, #6b675f); }
.reach-why { font-size: 14px; margin-top: 2px !important; }
.reach-meta { font-size: 13px; margin-top: 2px !important; }
.reach-act { font-size: 14px; margin-top: 6px !important; }
.reach-links a { white-space: nowrap; }
.reach-spot-h { margin-top: 20px; }
.reach-note { font-size: 13px; margin-top: 16px; }
