/* RADIO GRIND — Track Card Templates SAFE
   CSS-only layer. Do not remove/rename data-track, data-favorite-toggle, data-share-track, track-row, track-card selectors. */

body.rg-card-template-standard .track-card{
  /* current project style remains the baseline */
}

body.rg-card-template-compact .track-card{
  min-height:0;
}
body.rg-card-template-compact .track-row{
  gap:12px!important;
  padding:12px!important;
  min-height:112px!important;
}
body.rg-card-template-compact .track-cover-btn{
  width:82px!important;
  min-width:82px!important;
  height:82px!important;
}
body.rg-card-template-compact .track-title{
  font-size:1rem!important;
  line-height:1.1!important;
  margin-bottom:4px!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.rg-card-template-compact .track-topline,
body.rg-card-template-compact .track-subline{
  gap:8px!important;
}
body.rg-card-template-compact .track-genre-inline,
body.rg-card-template-compact .track-topline-right .small,
body.rg-card-template-compact .track-subline-text{
  font-size:.78rem!important;
}

body.rg-card-template-cinematic .row.g-3{
  --bs-gutter-x:1.35rem;
  --bs-gutter-y:1.35rem;
}
body.rg-card-template-cinematic .track-card{
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(0,0,0,.72))!important;
  border-color:rgba(255,255,255,.14)!important;
  box-shadow:0 22px 54px rgba(0,0,0,.38)!important;
  overflow:hidden;
}
body.rg-card-template-cinematic .track-row{
  flex-direction:column!important;
  align-items:stretch!important;
  padding:14px!important;
  gap:14px!important;
}
body.rg-card-template-cinematic .track-cover-btn{
  width:100%!important;
  min-width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
}
body.rg-card-template-cinematic .track-meta{
  width:100%!important;
}
body.rg-card-template-cinematic .track-title{
  font-size:1.12rem!important;
  line-height:1.13!important;
  letter-spacing:-.02em;
}
body.rg-card-template-cinematic .playbadge{
  transform:scale(1.08);
}

body.rg-card-template-radio-list .row.g-3 > [class*="col-"]{
  width:100%!important;
  flex:0 0 100%!important;
  max-width:100%!important;
}
body.rg-card-template-radio-list .track-card{
  border-color:rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.035)!important;
}
body.rg-card-template-radio-list .track-row{
  min-height:92px!important;
  padding:10px 14px!important;
  gap:14px!important;
  align-items:center!important;
}
body.rg-card-template-radio-list .track-cover-btn{
  width:68px!important;
  min-width:68px!important;
  height:68px!important;
}
body.rg-card-template-radio-list .track-meta{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:16px;
  align-items:center;
}
body.rg-card-template-radio-list .track-topline{
  grid-column:1 / 3;
}
body.rg-card-template-radio-list .track-title{
  margin:0!important;
  font-size:1.02rem!important;
  line-height:1.12!important;
}
body.rg-card-template-radio-list .track-subline{
  justify-content:flex-end!important;
}

body.rg-card-template-editorial .track-card{
  background:rgba(255,255,255,.028)!important;
  border-color:rgba(255,255,255,.13)!important;
  box-shadow:none!important;
}
body.rg-card-template-editorial .track-row{
  padding:18px!important;
  gap:16px!important;
}
body.rg-card-template-editorial .track-cover-btn{
  filter:saturate(.9) contrast(1.06);
}
body.rg-card-template-editorial .track-title{
  font-size:1.18rem!important;
  line-height:1.08!important;
  letter-spacing:-.035em;
  max-width:92%;
}
body.rg-card-template-editorial .track-genre-inline{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.72rem!important;
  opacity:.78;
}

@media (max-width: 575.98px){
  body.rg-card-template-cinematic .track-row{
    padding:12px!important;
  }
  body.rg-card-template-radio-list .track-row{
    padding:10px!important;
  }
  body.rg-card-template-radio-list .track-cover-btn{
    width:62px!important;
    min-width:62px!important;
    height:62px!important;
  }
  body.rg-card-template-radio-list .track-meta{
    display:block!important;
  }
  body.rg-card-template-radio-list .track-subline{
    justify-content:space-between!important;
  }
}
