/* LiveLocalVibes — Bands page, app-style (Oct 26 2026). Loads last on bands.html.
   Search pill + chip row pinned under the header, bottom sheets for Filters / Sort, side-scrolling cards for
   Featured and Tonight, and a tidy list of rows for everything else. Computers get the same pieces, wider. */

.bx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.bx-locked, html.bx-locked body { overflow: hidden; }

/* ---------- Page head ---------- */
.bd-main .section-head { margin-bottom: 4px; }
@media (max-width: 768px) {
  .bd-main .section-head { padding-top: 2px; }
  .bd-main .section-title { font-size: 2rem; line-height: 1; }
  .bd-main .section-lead { display: none; }   /* phones: straight to the bands (the same words are at the foot for search engines) */
}

/* ---------- Search + chips bar ---------- */
.bx-bar { position: sticky; top: var(--bd-sticky-top, 72px); z-index: 30; margin: 10px -16px 0; padding: 10px 16px 10px;
  background: linear-gradient(180deg, var(--bg, #12121F) 82%, rgba(18, 18, 31, 0)); }
@media (min-width: 769px) { .bx-bar { margin: 14px 0 0; padding: 10px 0; } }
.bx-search { position: relative; display: flex; align-items: center; height: 48px; padding: 0 6px 0 16px; gap: 10px;
  background: var(--surface-2, #26263A); border: 1px solid var(--line, #33334A); border-radius: 999px; transition: border-color .15s, box-shadow .15s; }
.bx-search:focus-within { border-color: var(--purple, #A259FF); box-shadow: 0 0 0 3px rgba(162, 89, 255, .22); }
.bx-search > llv-icon { width: 20px; height: 20px; flex: none; color: var(--muted, #B4B1C8); }
.bx-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--text, #E8E6F0);
  font: 500 16px/1 Inter, system-ui, sans-serif; -webkit-appearance: none; appearance: none; }   /* 16px: iPhone won't zoom */
.bx-search input::placeholder { color: #8E8BA6; }
.bx-search input::-webkit-search-cancel-button { display: none; }
.bx-search-x { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--text, #E8E6F0); cursor: pointer; }
.bx-search-x[hidden] { display: none; }
.bx-search-x llv-icon { width: 16px; height: 16px; }

.bx-chips { display: flex; gap: 8px; margin: 10px -16px 0; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.bx-chips::-webkit-scrollbar { display: none; }
@media (min-width: 769px) { .bx-chips { margin: 10px 0 0; padding: 0 0 2px; flex-wrap: wrap; overflow: visible; } }
.bx-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px;
  border: 1px solid var(--line, #33334A); border-radius: 999px; background: var(--surface, #1E1E2E); color: var(--text, #E8E6F0);
  font: 600 .86rem/1 Inter, system-ui, sans-serif; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.bx-chip llv-icon { width: 16px; height: 16px; flex: none; }
.bx-chip:hover { border-color: #4A4A66; }
.bx-chip:focus-visible { outline: 2px solid var(--lime, #DAFF8C); outline-offset: 2px; }
.bx-chip.is-on { background: rgba(162, 89, 255, .18); border-color: var(--purple, #A259FF); color: #fff; }
.bx-chip--loc { background: var(--purple, #A259FF); border-color: var(--purple, #A259FF); color: #fff; max-width: 70vw; }
.bx-chip--loc > span { overflow: hidden; text-overflow: ellipsis; }
.bx-chip--loc:hover { background: #8B29E6; }
.bx-caret { width: 13px !important; height: 13px !important; transform: rotate(90deg); opacity: .8; }
.bx-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--lime, #DAFF8C); color: #1C1C2E; font: 800 .72rem/1 Inter, system-ui, sans-serif; }
.bx-chip-gap { flex: none; width: 1px; height: 22px; align-self: center; background: var(--line, #33334A); margin: 0 2px; }
.bx-chip--q.is-on llv-icon[name="close"] { width: 13px; height: 13px; opacity: .85; }

.bx-count { display: flex; align-items: center; gap: 10px; min-height: 1.2em; margin: 4px 0 6px; color: var(--muted, #B4B1C8); font-size: .85rem; }
.bx-count:empty { margin: 0; min-height: 0; }
.bx-link { padding: 0; border: 0; background: none; color: var(--purple, #A259FF); font: 700 .85rem/1 Inter, system-ui, sans-serif; cursor: pointer; }

/* ---------- Sections ---------- */
.bx-feed { display: block; }
.bx-sec { margin: 6px 0 18px; }
.bx-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 10px; }
.bx-sec:first-child .bx-head { margin-top: 4px; }
.bx-h { display: flex; align-items: center; gap: 8px; margin: 0; font: 400 1.45rem/1 'Bebas Neue', sans-serif; letter-spacing: .03em; color: var(--text, #E8E6F0); }
.bx-n { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px;
  background: var(--surface-2, #26263A); border: 1px solid var(--line, #33334A); font: 700 .74rem/1 Inter, system-ui, sans-serif; color: var(--muted, #B4B1C8); letter-spacing: 0; }
.bx-quiet { margin: 8px 0; color: var(--muted, #B4B1C8); font-size: .88rem; text-align: center; }

/* ---------- Side-scrolling cards (Featured, Tonight) ---------- */
.bx-rail { display: flex; gap: 12px; margin: 0 -16px; padding: 2px 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bx-rail::-webkit-scrollbar { display: none; }
@media (min-width: 769px) { .bx-rail { margin: 0; padding: 2px 0 10px; scroll-padding: 0; scrollbar-width: thin; } }
.bx-card-wrap { position: relative; flex: 0 0 72%; max-width: 300px; scroll-snap-align: start; }
@media (min-width: 769px) { .bx-card-wrap { flex-basis: 280px; } }
.bx-card { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none;
  background: var(--surface-2, #26263A); border: 1px solid var(--line, #33334A); isolation: isolate; animation: bxIn .4s ease-out both; }
.bx-card.is-feat { border-color: rgba(255, 209, 102, .75); }
.bx-card.is-tonight { border: 2px solid var(--purple, #A259FF); animation: bxIn .4s ease-out both, bxGlow 2.4s ease-in-out .5s infinite; }
.bx-card-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bx-card .bx-ini { display: flex; align-items: center; justify-content: center; padding-bottom: 18%; font: 400 4rem/1 'Bebas Neue', sans-serif; color: rgba(255, 255, 255, .9);
  background: radial-gradient(circle at 30% 25%, var(--tint, #A259FF), #1a1a2c 78%); }
.bx-card-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 18, 31, 0) 30%, rgba(18, 18, 31, .95)); }
.bx-card-tags { position: absolute; top: 10px; left: 10px; right: 60px; display: flex; flex-wrap: wrap; gap: 6px; }
.bx-tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font: 800 .64rem/1 Inter, system-ui, sans-serif;
  letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.bx-tag llv-icon { width: 12px; height: 12px; }
.bx-tag--feat { background: #FFD166; color: #1C1C2E; }
.bx-tag--live { background: rgba(18, 18, 31, .9); color: var(--lime, #DAFF8C); border: 1px solid rgba(218, 255, 140, .35); }
.bx-card-body { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 3px; }
.bx-card-name { font: 400 1.7rem/1 'Bebas Neue', sans-serif; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-card-meta { font-size: .78rem; color: #D6D3E4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-card-wrap .lm-fab { top: 10px; right: 10px; width: 42px; height: 42px; }
.bx-card:focus-visible { outline: 2px solid var(--lime, #DAFF8C); outline-offset: 2px; }

/* Next show line (cards and rows) */
.bx-next { display: flex; align-items: center; gap: 6px; min-width: 0; color: #C9B8FF; font-size: .78rem; font-weight: 600; }
.bx-next.is-tonight { color: var(--lime, #DAFF8C); }
.bx-next llv-icon { width: 14px; height: 14px; flex: none; }
.bx-next span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Equalizer bars for "playing tonight" */
.bx-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; flex: none; }
.bx-eq i { width: 2px; height: 100%; border-radius: 1px; background: currentColor; transform-origin: bottom; animation: bxEq .8s ease-in-out infinite alternate; }
.bx-eq i:nth-child(2) { animation-delay: -.3s; }
.bx-eq i:nth-child(3) { animation-delay: -.55s; }

/* ---------- List rows ---------- */
.bx-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 769px) { .bx-list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; } }
.bx-row-wrap { position: relative; min-width: 0; }
.bx-row { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 12px 10px 10px; border-radius: 16px; color: inherit; text-decoration: none;
  background: var(--surface, #1E1E2E); border: 1px solid var(--line, #33334A); transition: background .15s, border-color .15s, transform .1s; animation: bxIn .35s ease-out both; }
.bx-row:hover { border-color: #4A4A66; background: #232336; }
.bx-row:active { transform: scale(.985); }
.bx-row:focus-visible { outline: 2px solid var(--lime, #DAFF8C); outline-offset: 2px; }
.bx-row.is-feat { border-color: rgba(255, 209, 102, .55); background: linear-gradient(90deg, rgba(255, 209, 102, .08), var(--surface, #1E1E2E) 55%); }
.bx-row.is-tonight { border-color: rgba(162, 89, 255, .7); }
.bx-row-wrap.has-play .bx-row { padding-right: 62px; }
.bx-av-box { position: relative; flex: none; width: 56px; height: 56px; }
.bx-av { display: block; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--surface-2, #26263A); }
.bx-row .bx-ini { display: flex; align-items: center; justify-content: center; font: 400 1.9rem/1 'Bebas Neue', sans-serif; color: #fff;
  background: radial-gradient(circle at 30% 25%, var(--tint, #A259FF), #1a1a2c 85%); }
.bx-av-live { position: absolute; right: -4px; bottom: -4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: #1C1C2E; border: 2px solid var(--purple, #A259FF); color: var(--lime, #DAFF8C); }
.bx-av-live .bx-eq { height: 8px; }
.bx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bx-name { display: flex; align-items: center; gap: 8px; min-width: 0; font: 400 1.3rem/1.05 'Bebas Neue', sans-serif; letter-spacing: .02em; color: var(--text, #E8E6F0); }
.bx-name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-pill { flex: none; padding: 3px 7px; border-radius: 999px; background: #FFD166; color: #1C1C2E; font: 800 .58rem/1 Inter, system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.bx-meta { color: var(--muted, #B4B1C8); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-dist { flex: none; align-self: flex-start; margin-top: 2px; padding: 3px 8px; border-radius: 999px; background: var(--surface-2, #26263A);
  color: var(--muted, #B4B1C8); font: 700 .7rem/1.2 Inter, system-ui, sans-serif; white-space: nowrap; }
.bx-chev { width: 18px; height: 18px; flex: none; color: #6E6B86; }
.bx-row-wrap .lm-fab { top: 50%; right: 12px; width: 42px; height: 42px; margin-top: -21px; }
.bx-row-wrap .lm-fab:hover { transform: none; }
.bx-skel { animation: bxPulse 1.2s ease-in-out infinite alternate; pointer-events: none; }
.bx-skel .bx-name span, .bx-skel .bx-meta { display: block; width: 60%; border-radius: 6px; background: var(--surface-2, #26263A); }
.bx-skel .bx-meta { width: 40%; }

/* Ads inside the list */
.bx-feed .bd-ad { margin: 0; }
.bx-list > .bd-ad { grid-column: 1 / -1; }

/* ---------- Buttons, empty state ---------- */
.bx-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 16px 0 6px; padding: 0 18px;
  border: 1px solid var(--line, #33334A); border-radius: 16px; background: var(--surface, #1E1E2E); color: var(--text, #E8E6F0);
  font: 700 .95rem/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.bx-more:hover { border-color: var(--purple, #A259FF); }
.bx-more llv-icon { width: 18px; height: 18px; color: var(--purple, #A259FF); }
@media (min-width: 769px) { .bx-more { width: auto; margin: 18px auto 6px; padding: 0 26px; } }
.bx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--purple, #A259FF); border-radius: 999px;
  background: var(--purple, #A259FF); color: #fff; font: 700 .92rem/1 Inter, system-ui, sans-serif; cursor: pointer; }
.bx-btn--ghost { background: transparent; color: var(--text, #E8E6F0); border-color: var(--line, #33334A); }
.bx-btn:focus-visible { outline: 2px solid var(--lime, #DAFF8C); outline-offset: 2px; }
.bx-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 18px; border: 1px dashed var(--line, #33334A); border-radius: 18px;
  text-align: center; color: var(--muted, #B4B1C8); }
.bx-empty > llv-icon { width: 34px; height: 34px; color: var(--purple, #A259FF); }
.bx-empty p { margin: 0; font-size: .95rem; }
.bx-empty-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }

/* ---------- Bottom sheet (phones) / centered box (computers) ---------- */
.bx-scrim { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; background: rgba(8, 8, 16, 0);
  transition: background .2s; }
.bx-scrim.is-open { background: rgba(8, 8, 16, .6); }
.bx-sheet { width: 100%; max-height: 86vh; display: flex; flex-direction: column; background: #1C1C2E; border: 1px solid var(--line, #33334A); border-bottom: 0;
  border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); transform: translateY(100%); transition: transform .22s ease-out; outline: 0; }
.bx-scrim.is-open .bx-sheet { transform: none; }
@media (min-width: 769px) {
  .bx-scrim { align-items: center; padding: 24px; }
  .bx-sheet { max-width: 520px; max-height: 80vh; border-bottom: 1px solid var(--line, #33334A); border-radius: 20px; transform: translateY(16px); opacity: 0; transition: transform .2s, opacity .2s; }
  .bx-scrim.is-open .bx-sheet { opacity: 1; }
  .bx-grab { display: none; }
}
.bx-grab { width: 40px; height: 5px; margin: 8px auto 0; border-radius: 3px; background: #4A4A66; flex: none; }
.bx-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 6px 20px; flex: none; }
.bx-sheet-head h2 { margin: 0; font: 400 1.6rem/1 'Bebas Neue', sans-serif; letter-spacing: .03em; color: var(--text, #E8E6F0); }
.bx-x { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2, #26263A);
  color: var(--text, #E8E6F0); cursor: pointer; }
.bx-x llv-icon { width: 18px; height: 18px; }
.bx-sheet-body { flex: 1; overflow-y: auto; padding: 4px 20px 16px; overscroll-behavior: contain; }
.bx-sheet-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line, #33334A); }
.bx-sh { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 10px; font: 700 .74rem/1 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: #8E8BA6; }
.bx-sh small { font-size: .74rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #6E6B86; }
.bx-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-pick { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid var(--line, #33334A); border-radius: 999px;
  background: var(--surface, #1E1E2E); color: var(--text, #E8E6F0); font: 600 .88rem/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background .12s, border-color .12s; }
.bx-pick.is-on { background: var(--purple, #A259FF); border-color: var(--purple, #A259FF); color: #fff; }
.bx-pick:focus-visible { outline: 2px solid var(--lime, #DAFF8C); outline-offset: 2px; }
.bx-opts { display: flex; flex-direction: column; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
.bx-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line, #33334A);
  background: none; color: var(--text, #E8E6F0); font: 600 1rem/1.2 Inter, system-ui, sans-serif; text-align: left; cursor: pointer; }
.bx-opt:last-child { border-bottom: 0; }
.bx-opt.is-on { color: #fff; }
.bx-opt llv-icon { width: 22px; height: 22px; color: var(--purple, #A259FF); }

/* ---------- Toast ---------- */
.bx-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 1100; max-width: calc(100% - 32px); padding: 12px 16px;
  border-radius: 14px; background: #2B2B3C; border: 1px solid var(--line, #33334A); color: var(--text, #E8E6F0); font-size: .9rem; box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; }
.bx-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

@keyframes bxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bxGlow { 0%, 100% { box-shadow: 0 0 0 rgba(162, 89, 255, 0); } 50% { box-shadow: 0 0 22px rgba(162, 89, 255, .55); } }
@keyframes bxEq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
@keyframes bxPulse { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .bx-card, .bx-card.is-tonight, .bx-row, .bx-eq i, .bx-skel { animation: none; }
  .bx-sheet, .bx-scrim, .bx-toast { transition: none; }
}
