/* =====================================================================
   Live: the shows hub (#/shows), insights, nights (#/event/<date>), setlists and venues
   -- see js/live.js. The Vinyl page's parts (coll-, fchip, ins-) in the
   live colour, plus its own (lv- prefix).
   ===================================================================== */
.lv, .lv-event { --accent-vinyl: var(--accent-live); }
.lv { max-width: 1240px; margin: 0 auto; }
.lv .fchip.on, .lv .filters-bar .fb-active b { color: #fff; }
.lv .fchip.on i { color: rgba(255, 255, 255, .75); }
.lv-split i:first-child { background: color-mix(in srgb, var(--accent-live) 45%, transparent); }
.lv-split i:last-child { background: var(--accent-live); }
.lv .coll-tools .seg button { padding: 8px 12px; }

/* nights a year: a bar per year, festival days in full colour */
.lv-years { display: flex; align-items: stretch; gap: 3px; height: 116px; margin: 0 0 16px; padding: 10px 12px 6px; background: var(--surface); border: 1px solid var(--edge); }
.lv-yr { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 3px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text-dim); }
.lv-yr:disabled { cursor: default; }
.lv-yr-n { font-family: var(--font-mono); font-size: .64rem; text-align: center; color: var(--text-muted); min-height: 1em; }
.lv-yr-bar { height: var(--h); max-height: calc(100% - 30px); display: flex; flex-direction: column; border-radius: 2px 2px 0 0; overflow: hidden; }
.lv-yr-bar .f { background: var(--accent-live); }
.lv-yr-bar .g { background: color-mix(in srgb, var(--accent-live) 45%, transparent); }
.lv-yr-l { font-family: var(--font-mono); font-size: .64rem; text-align: center; }
.lv-yr:hover:not(:disabled) .lv-yr-l, .lv-yr.on .lv-yr-l { color: var(--accent-live); }
.lv-yr:hover:not(:disabled) .lv-yr-n { color: var(--text); }
.lv-yr.on .lv-yr-bar { box-shadow: 0 0 0 2px var(--accent-live); }
.lv-yr.dim .lv-yr-bar { opacity: .35; }

/* timeline: a night as a card */
.lv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.lv-ev { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 14px 16px 12px 12px; background: var(--surface); border: 1px solid var(--edge);
  border-left: 3px solid color-mix(in srgb, var(--accent-live) 45%, transparent); cursor: pointer; min-width: 0; transition: border-color .15s, background .15s; }
.lv-ev.fest { border-left-color: var(--accent-live); }
.lv-ev:hover, .lv-ev:focus-visible { border-color: var(--accent-live); background: color-mix(in srgb, var(--accent-live) 6%, var(--surface)); outline: none; }
.lv-date { display: flex; flex-direction: column; align-items: center; gap: 1px; padding-top: 2px; font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.lv-date b { font-family: var(--font-body, inherit); font-size: 1.7rem; font-weight: 600; line-height: 1; color: var(--text); letter-spacing: 0; }
.lv-date span:nth-of-type(1) { color: var(--accent-live); font-size: .74rem; }
.lv-ev-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lv-kind { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.lv-ev.fest .lv-kind { color: var(--accent-live); }
.lv-ev-title { font-size: 1.12rem; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-lineup { font-size: .82rem; color: var(--silver); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lv-where { font-size: .8rem; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.lv-ev-foot .subtle { font-family: var(--font-mono); font-size: .7rem; }
.lv-faces { display: flex; }
.lv-face { width: 30px; height: 30px; object-fit: cover; border: 2px solid var(--surface); border-radius: 50%; margin-right: -8px; font-size: .7rem; display: grid; place-items: center; }

/* artists seen */
.lv-artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 16px; }
.lv-artist { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: inherit; }
.lv-art { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; margin-bottom: 6px; box-shadow: var(--shadow); font-size: 2.4rem; }
.lv-artist b { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-artist:hover b { color: var(--accent-live); }
.lv-seen { font-family: var(--font-mono); font-size: .74rem; color: var(--accent-live); }
.lv-artist .subtle { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* venues */
.lv-venues { display: flex; flex-direction: column; border: 1px solid var(--edge); background: var(--surface); }
.lv-venue { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--edge); cursor: pointer; }
.lv-venue:last-child { border-bottom: 0; }
.lv-venue:hover { background: color-mix(in srgb, var(--accent-live) 6%, var(--surface)); }
.lv-v-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lv-v-main b { font-size: 1rem; }
.lv-v-main .subtle { font-size: .8rem; }
.lv-stages { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.lv-stages i { font-style: normal; font-family: var(--font-mono); font-size: .64rem; padding: 1px 7px; border: 1px solid var(--edge); border-radius: 999px; color: var(--text-dim); }
.lv-v-bar { display: flex; flex-direction: column; gap: 4px; }
.lv-v-bar i { display: block; height: 6px; width: calc(100% * var(--w)); min-width: 4px; background: var(--accent-live); border-radius: 3px; }
.lv-v-bar span { font-family: var(--font-mono); font-size: .72rem; color: var(--silver); }
.lv-v-who { display: flex; flex-direction: column; font-size: .78rem; min-width: 0; }
.lv-v-who span { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* songs heard */
.lv-songs li { grid-template-columns: 34px minmax(0, 1fr) 44px 56px; }
.lv-heard { font-family: var(--font-mono); font-size: .86rem; color: var(--accent-live); text-align: right; }
.lv-songs .ap-plays { text-align: right; color: var(--text-dim); }
.lv-songs .ap-bar { background: color-mix(in srgb, var(--accent-live) 60%, transparent); }
.lv-songs-key { margin-top: 8px; text-align: right; font-size: .74rem; }
.lv-cover-tag, .lv-first, .lv-mainstay { font-style: normal; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px;
  border-radius: 999px; border: 1px solid var(--edge); color: var(--text-dim); vertical-align: 2px; white-space: nowrap; }
.lv-first { color: var(--accent-live); border-color: color-mix(in srgb, var(--accent-live) 45%, transparent); }
.lv-mainstay { color: var(--accent-vinyl-gold, #e0b049); border-color: color-mix(in srgb, #e0b049 45%, transparent); }

/* insights */
.lv .ins .ibar { text-decoration: none; }
.lv-ins-note { font-size: .76rem; margin: -4px 0 8px; }
.lv-hot { color: var(--accent-live); font-weight: 600; }
.ibar.lv-effect { grid-template-columns: minmax(0, 1fr) auto; }
.ibar.lv-effect .in { font-size: .74rem; }
.lv-ik2 { display: flex; flex-direction: column; line-height: 1.25; }
.lv-ik2 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-ik2 .subtle { font-size: .7rem; }
.lv-rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: 32px; }
.lv-rec-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--edge); font-size: .82rem; }
.lv-records span { color: var(--text-dim); white-space: nowrap; }
.lv-records b { font-weight: 500; text-align: right; }
.lv-records a:hover { color: var(--accent-live); }

/* ---- a night out ---- */
.lv-event .ap-kpi.lv-accent b { color: var(--accent-live); }
.lv-yr-title { color: var(--text-dim); font-weight: 400; }
.lv-ev-place { font-size: 1rem; color: var(--text-dim); }
.lv-ev-place a { color: var(--silver); }
.lv-ev-place a:hover, .lv-event .ap-artist a:hover { color: var(--accent-live); }
.ap-chip.live.on { background: color-mix(in srgb, var(--accent-live) 18%, transparent); }
.lv-set { border-top: 1px solid var(--edge); }
.lv-set:first-of-type { border-top: 0; }
.lv-set summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 2px; cursor: pointer; list-style: none; }
.lv-set summary::-webkit-details-marker { display: none; }
.lv-set summary:hover b { color: var(--accent-live); }
.lv-set-art { width: 44px; height: 44px; object-fit: cover; display: grid; place-items: center; font-size: 1.1rem; }
.lv-set-who { display: flex; flex-direction: column; min-width: 0; }
.lv-set-who b { font-size: 1.05rem; }
.lv-set-who .subtle { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-set-n { font-family: var(--font-mono); font-size: .74rem; color: var(--text-dim); }
.lv-set-n::after { content: " ▾"; color: var(--text-muted); }
.lv-set[open] .lv-set-n::after { content: " ▴"; }
.lv-setlist { margin: 0 0 4px 56px; }
.lv-setname { display: block !important; grid-template-columns: none !important; padding: 12px 0 4px !important; border-bottom: 0 !important; cursor: default !important; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-live); }
.lv-setname:hover { background: none !important; }
.lv-noset { margin: 0 0 12px 56px; font-size: .84rem; }
.lv-set-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 14px 56px; font-size: .8rem; color: var(--text-dim); }
.lv-set-links a:hover { color: var(--accent-live); }
.lv-fx a { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; gap: 10px; align-items: center; padding: 5px 0; font-size: .86rem; }
.lv-fx a:hover .lv-fx-name { color: var(--accent-live); }
.lv-fx-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-fx-bars { display: flex; flex-direction: column; gap: 2px; }
.lv-fx-bars i, .lv-fx-key i { display: block; height: 5px; border-radius: 2px; }
.lv-fx-bars i { width: calc(100% * var(--w)); min-width: 2px; }
.lv-fx .b, .lv-fx-key .b { background: color-mix(in srgb, var(--silver) 45%, transparent); }
.lv-fx .a, .lv-fx-key .a { background: var(--accent-live); }
.lv-fx-n { font-family: var(--font-mono); font-size: .74rem; color: var(--text-dim); text-align: right; }
.lv-fx-n b { color: var(--accent-live); font-weight: 500; }
.lv-fx-key { display: flex; gap: 14px; margin-top: 10px; font-size: .74rem; }
.lv-fx-key span { display: flex; align-items: center; gap: 6px; }
.lv-fx-key i { width: 14px; }
.lv-venue-card { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.lv-venue-card b { font-size: 1.05rem; }
.lv-mini { list-style: none; margin: 0; padding: 0; }
.lv-mini a { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 5px 6px; font-size: .84rem; border-left: 2px solid transparent; }
.lv-mini a span { font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim); }
.lv-mini a b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-mini li.on a { border-left-color: var(--accent-live); background: color-mix(in srgb, var(--accent-live) 8%, transparent); }
.lv-mini a:hover b { color: var(--accent-live); }
.lv-around { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lv-around a { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: .88rem; }
.lv-around a.r { text-align: right; }
.lv-around .subtle:last-child { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-around b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-around a:hover b { color: var(--accent-live); }

/* ---- one act's set ---- */
.lv-setpage .ap-title a:hover { color: var(--accent-live); }
.lv-setlist-full { margin-left: 0; }
.lv-setlist-full li:not(.lv-setname) { grid-template-columns: 34px minmax(0, 1fr) auto 10px; }
.lv-diff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lv-diff > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lv-diff h3 { margin: 0 0 4px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.lv-diff h3 span { color: var(--accent-live); margin-left: 4px; }
.lv-diff a { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-diff a:hover { color: var(--accent-live); }
.lv-mix { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.lv-mix i, .lv-sw { background: hsl(calc(350 - var(--i) * 31) 72% 60%); }
.lv-sw { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.lv-from a, .lv-from li > div { grid-template-columns: 10px minmax(0, 1fr) auto; padding: 7px 4px; }
.lv-from li > div { display: grid; gap: 12px; align-items: center; border-bottom: 1px solid var(--edge); }
.lv-from li > div span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.lv-from li > div b { font-size: .92rem; }
.lv-weeks { display: flex; align-items: flex-end; gap: 2px; height: 80px; }
.lv-weeks i { flex: 1; min-width: 0; height: var(--h); background: color-mix(in srgb, var(--silver) 45%, transparent); border-radius: 1px 1px 0 0; }
.lv-weeks i.a { background: color-mix(in srgb, var(--accent-live) 70%, transparent); }
.lv-weeks i.now { background: var(--accent-live); box-shadow: 0 0 0 1px var(--accent-live); }
.lv-you { margin-top: 10px; font-size: .8rem; }

/* ---- a venue ---- */
.lv-nights a { grid-template-columns: 62px minmax(0, 1fr) auto; }
.lv-nights .lv-faces { padding-right: 8px; }
.lv-here { grid-template-columns: 1fr; }
.lv-here > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--edge); font-size: .86rem; }
.lv-here > div:last-child { border-bottom: 0; }
.lv-here span { color: var(--text-dim); }
.lv-here b { font-weight: 500; text-align: right; }
.lv-here a:hover { color: var(--accent-live); }
.lv-topsongs a { grid-template-columns: 34px minmax(0, 1fr); }
.lv-topsongs a > span:first-child { color: var(--accent-live); }
.lv-topsongs b .subtle { font-family: var(--font-body, inherit); color: var(--text-dim); }
.lv-topsongs b .subtle { font-weight: 400; font-size: .78rem; margin-left: 4px; }
.lv-here-artists { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px 14px; }
.lv-nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.lv-nearby a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--edge); background: var(--surface-2); border-left: 3px solid color-mix(in srgb, var(--accent-live) 45%, transparent); }
.lv-nearby a:hover { border-color: var(--accent-live); }
.lv-nearby .subtle { font-family: var(--font-mono); font-size: .72rem; }
.lv-vyears i { background: color-mix(in srgb, var(--accent-live) 45%, transparent); }
.lv-vyears i.pk { background: var(--accent-live); }

@media (max-width: 640px) {
  .lv-years { height: 96px; padding: 8px 6px 4px; gap: 1px; }
  .lv-yr-n { display: none; }
  .lv-yr-l { font-size: .6rem; overflow: visible; white-space: nowrap; }
  .lv-yr-l.minor { visibility: hidden; }
  .lv-grid { grid-template-columns: 1fr; gap: 10px; }
  .lv-artists { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .lv-venue { grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; }
  .lv-v-who { display: none; }
  .lv-songs li { grid-template-columns: 28px minmax(0, 1fr) 36px 44px; }
  .lv .coll-tools .lv-kind { flex: 1 1 100%; }
  .lv .coll-tools .lv-kind button { flex: 1; }
  .lv-setlist, .lv-noset, .lv-set-links { margin-left: 0; }
  .lv-event .ap-artist, .lv-ev-place { text-align: center; }
  .lv-diff { grid-template-columns: 1fr; gap: 12px; }
  .lv-nights a { grid-template-columns: 58px minmax(0, 1fr); }
  .lv-nights .lv-faces { display: none; }
  .lv-here-artists { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lv-setlist-full li:not(.lv-setname) { grid-template-columns: 28px minmax(0, 1fr) auto 4px; }
}
