/* =========================
   Tracks page shared pieces
========================= */

.tracks-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}

/* =========================
   🔥 NEW: My Setups layout
========================= */

.setups-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px;
}

.setup-card{
  background:linear-gradient(180deg, rgba(19,43,79,.96), rgba(12,29,56,.98));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}

.setup-card h3{
  margin:0 0 6px;
  font-size:18px;
  font-weight:800;
}

.setup-meta{
  font-size:13px;
  color:#9fb5d9;
  margin-bottom:10px;
}

.setup-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.setup-actions .btn{
  flex:1;
}

/* =========================
   🔥 MOBILE FIX (IMPORTANT)
========================= */

@media (max-width: 760px){

  .setups-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .setup-card{
    padding:14px;
    border-radius:16px;
  }

  .setup-card h3{
    font-size:16px;
  }

  .setup-meta{
    font-size:12px;
  }

  /* 🔥 CRITICAL: stack buttons */
  .setup-actions{
    flex-direction:column;
  }

  .setup-actions .btn{
    width:100%;
    justify-content:center;
  }
}

/* =========================
   Tracks (unchanged)
========================= */

.track-card{
  background:linear-gradient(180deg, rgba(19,43,79,.96), rgba(12,29,56,.98));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}

.track-body{
  padding:15px 16px 16px;
}

.track-body h3{
  margin:0 0 8px;
  font-size:20px;
  font-weight:800;
}

.track-meta{
  color:#9fb5d9;
  font-size:14px;
  margin-bottom:10px;
}

/* =========================
   Responsive (existing)
========================= */

@media (max-width: 760px){
  .track-search-bar{
    flex-wrap:wrap;
  }

  .track-search-bar input{
    width:100%;
  }

  .track-search-bar .btn{
    height:48px;
  }
}