/* ============================================================
   House of Clave — shared component kit
   Extracted from the artist/band detail pages (the look we like).
   Two primitives: .hc-med (Medallion) and .hc-row (ListRow).
   Tokens below default to the detail-page palette but inherit the
   host's vars when present, so the same kit drops into the main app
   (--gold/--ink-dim) and the Living Bandstand (--voice/--dim).
   ============================================================ */
:root{
  --kit-gold:  var(--gold, var(--voice, #e0b24a));
  --kit-ink:   var(--ink, #f1e8da);
  --kit-dim:   var(--ink-dim, var(--dim, #a89d8c));
  --kit-faint: var(--ink-faint, var(--faint, #6b6052));
  --kit-line:  var(--line, rgba(241,232,218,.10));
  --kit-panel: var(--panel-bg, rgba(14,9,11,.56));
  --kit-serif: var(--serif, "Iowan Old Style", Georgia, serif);
  --kit-ui:    var(--ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif);
}

/* ---- Medallion: portrait / album-art / initials holder ----
   shape: circle (default) | .sq (album)   ·   size: .sm .md .lg */
.hc-med{position:relative;flex:none;display:flex;align-items:center;justify-content:center;
  border-radius:50%;overflow:hidden;color:#fff;font-family:var(--kit-ui);font-weight:600;
  box-shadow:0 6px 16px rgba(0,0,0,.5)}
.hc-med.sq{border-radius:11px}
.hc-med.sm{width:34px;height:34px;font-size:12px}
.hc-med.md{width:46px;height:46px;font-size:16px}
.hc-med.lg{width:60px;height:60px;font-size:20px}
.hc-med img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 18%;opacity:0;transition:opacity .5s}
.hc-med img.in{opacity:1}
.hc-med .ini{position:relative;z-index:0}
/* a playable medallion (album/track) reveals a ▶ on row hover */
.hc-med.playable::after{content:"\25B6";position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.45);color:#fff;font-size:.85em;opacity:0;transition:opacity .15s}

/* ---- Highlight shelf: Apple-Music-style horizontal portrait tiles (HC.shelf) ---- */
.hc-shelf{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  padding:2px 2px 12px;margin:0;scrollbar-width:none}
.hc-shelf::-webkit-scrollbar{display:none}
.hc-tile{flex:0 0 auto;width:172px;scroll-snap-align:start;display:flex;flex-direction:column;gap:9px;
  background:none;border:0;padding:0;cursor:pointer;text-align:left;color:inherit;font:inherit}
.hc-med.tile{width:172px;height:172px;border-radius:14px;font-size:38px;
  box-shadow:0 12px 30px rgba(0,0,0,.5);transition:transform .18s ease,box-shadow .18s ease}
.hc-tile:hover .hc-med.tile,.hc-tile:focus-visible .hc-med.tile{transform:translateY(-3px);box-shadow:0 18px 40px rgba(0,0,0,.6)}
.hc-tile-t{font-family:var(--kit-serif);font-size:15px;line-height:1.18;color:var(--kit-ink)}
.hc-tile-s{font-family:var(--kit-ui);font-size:9.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--kit-dim);margin-top:-3px}
@media(max-width:600px){.hc-tile{width:150px}.hc-med.tile{width:150px;height:150px;font-size:34px}}
/* feature variant — taller framed "hero" boxes (iTunes featured shelf). Namespaced hc-feature to avoid the home .feature rule. */
.hc-shelf.hc-feature{gap:18px}
.hc-tile.hc-feature{width:216px;gap:13px;padding:14px;border:1px solid var(--kit-line);border-radius:16px;
  background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02))}
.hc-tile.hc-feature .hc-med.tile{width:188px;height:188px;border-radius:11px}
.hc-tile.hc-feature:hover .hc-med.tile{transform:translateY(-2px)}
.hc-tile.hc-feature:hover{border-color:var(--kit-gold)}
.hc-tile.hc-feature .hc-tile-t{font-size:16px}
.hc-tile.hc-feature .hc-tile-s{margin-top:-4px}
@media(max-width:600px){.hc-tile.hc-feature{width:188px;padding:12px}.hc-tile.hc-feature .hc-med.tile{width:162px;height:162px}}

/* ---- ListRow: medallion + title + sub (+ optional action/link) ----
   render as <a> (navigate) or <div role=button> (play/select) */
.hc-row{display:flex;align-items:center;gap:13px;width:100%;padding:8px 10px;margin-bottom:7px;border-radius:12px;
  background:rgba(18,13,17,.42);border:1px solid var(--kit-line);color:inherit;font:inherit;text-align:left;text-decoration:none;
  cursor:pointer;transition:transform .16s ease,background .16s,border-color .16s}
.hc-row:hover{background:rgba(30,21,28,.6);border-color:var(--kit-gold);transform:translateX(4px)}
.hc-row:hover .hc-med.playable::after{opacity:1}
.hc-row:last-child{margin-bottom:0}
.hc-row .t{font-family:var(--kit-serif);font-size:15px;color:var(--kit-ink);line-height:1.18}
.hc-row .s{font-family:var(--kit-ui);font-size:9.5px;letter-spacing:.05em;color:var(--kit-dim);margin-top:2px;text-transform:uppercase}
.hc-row.sm{gap:11px;padding:7px 9px}.hc-row.sm .t{font-size:13.5px}
.hc-row.active{border-color:var(--kit-gold);background:rgba(224,178,74,.12)}
.hc-row.active .hc-med.playable::after{opacity:1}
.hc-row .lk{color:inherit;text-decoration:none}
.hc-row .lk:hover{color:var(--kit-gold);text-decoration:underline}
.hc-row.static{cursor:default}.hc-row.static:hover{background:rgba(18,13,17,.42);border-color:var(--kit-line);transform:none}

/* ---- music embed (Apple/Spotify) — height is set inline per kind by HC.musicEmbed ---- */
.hc-embed{width:100%;border:0;display:block;border-radius:12px;background:#0a0708;overflow:hidden}

/* ---- small shared chrome ---- */
.hc-kick{font-family:var(--kit-ui);font-size:10px;letter-spacing:.26em;text-transform:uppercase;color:var(--kit-gold)}
.hc-panel{background:var(--kit-panel);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--kit-line);border-radius:18px}
